diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1d752c43e..63f172e5c 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12816,6 +13072,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16801,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,7 +23430,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -23117,10 +23438,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -44473,16 +44791,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44498,12 +44806,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61945,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75281,185 +75583,182 @@ "schema": { "type": "string" } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to user owned project", - "description": "Add an issue or pull request item to the specified user owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - } - }, - "/users/{username}/projectsV2/{project_number}/items/{item_id}": { - "get": { - "summary": "Get an item for a user owned project", - "description": "Get a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-user-item", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/item-id" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", + "in": "query", + "required": false, + "schema": { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to user owned project", + "description": "Add an issue or pull request item to the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for a user owned project", + "description": "Get a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-user-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/item-id" }, { "name": "fields", @@ -76022,7 +76321,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106053,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106138,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,324 +110439,225 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, - "billing-premium-request-usage-report-org": { - "type": "object", - "properties": { - "timePeriod": { - "type": "object", - "properties": { - "year": { - "type": "integer", - "description": "The year for the usage report." - }, - "month": { - "type": "integer", - "description": "The month for the usage report." - }, - "day": { - "type": "integer", - "description": "The day for the usage report." - } - }, - "required": [ - "year" - ] - }, - "organization": { - "type": "string", - "description": "The unique identifier of the organization." - }, - "user": { - "type": "string", - "description": "The name of the user for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "model": { - "type": "string", - "description": "The model for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "model": { - "type": "string", - "description": "Model name." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossQuantity": { - "type": "integer", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "integer", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "integer", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "model", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "organization", - "usageItems" - ] - }, - "billing-usage-report": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "organization-full": { - "title": "Organization Full", - "description": "Organization Full", + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "organization-full": { + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { @@ -112449,6 +112176,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +119659,578 @@ } ] }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140314,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140322,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140330,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289127,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289189,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +290743,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -291971,6 +292109,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297007,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318355,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +318373,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +318526,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318966,6 +319195,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319258,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 5a3328d6f..1884e95ab 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9221,6 +9394,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12194,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,8 +16910,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -16701,8 +16921,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32333,14 +32551,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32351,8 +32561,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +44843,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,8 +54669,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -54467,8 +54680,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54950,7 +55161,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76680,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +76744,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +79824,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +79898,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -81357,6 +81153,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +86749,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101490,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +212804,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +212856,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214259,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -215296,6 +215356,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +219584,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238039,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238054,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238182,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238622,6 +238760,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -238640,6 +238820,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 1d752c43e..63f172e5c 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -3212,12 +3216,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -3263,98 +3261,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-state" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-sort" - }, - { - "$ref": "#/components/parameters/direction" - }, - { - "$ref": "#/components/parameters/per-page" - }, - { - "$ref": "#/components/parameters/pagination-before" - }, - { - "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-validity" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - }, - { - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/organization-secret-scanning-alert" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -3456,6 +3362,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -3857,6 +3773,336 @@ } } }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/page" + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/organization-simple" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple-items" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "201": { + "description": "Successfully assigned the enterprise team to the organization.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/organization-simple" + }, + "examples": { + "default": { + "$ref": "#/components/examples/organization-simple" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "delete": { + "summary": "Delete an organization assignment", + "description": "Unassign an enterprise team from an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/delete", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/enterprise-team" + }, + { + "$ref": "#/components/parameters/org" + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, "/enterprises/{enterprise}/teams/{team_slug}": { "get": { "summary": "Get an enterprise team", @@ -3958,6 +4204,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -7306,7 +7562,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -12816,6 +13072,77 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/pagination-before" + }, + { + "$ref": "#/components/parameters/pagination-after" + }, + { + "$ref": "#/components/parameters/org" + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/list-attestation-repositories" + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -16474,12 +16801,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -23109,7 +23430,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -23117,10 +23438,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -44473,16 +44791,6 @@ { "$ref": "#/components/parameters/direction" }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -44498,12 +44806,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -61643,7 +61945,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -75281,185 +75583,182 @@ "schema": { "type": "string" } - }, - { - "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "array", - "maxItems": 50, - "items": { - "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/projects-v2-item-with-content" - } - }, - "examples": { - "default": { - "$ref": "#/components/examples/projects-v2-item-with-content" - } - } - } - }, - "headers": { - "Link": { - "$ref": "#/components/headers/link" - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - }, - "post": { - "summary": "Add item to user owned project", - "description": "Add an issue or pull request item to the specified user owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/add-item-for-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/project-number" - } - ], - "requestBody": { - "required": true, - "description": "Details of the item to add to the project.", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "Issue", - "PullRequest" - ], - "description": "The type of item to add to the project. Must be either Issue or PullRequest." - }, - "id": { - "type": "integer", - "description": "The numeric ID of the issue or pull request to add to the project." - } - }, - "required": [ - "type", - "id" - ] - }, - "examples": { - "issue": { - "value": { - "type": "Issue", - "id": 3 - } - }, - "pull_request": { - "value": { - "type": "PullRequest", - "id": 3 - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/projects-v2-item-simple" - }, - "examples": { - "issue": { - "$ref": "#/components/examples/projects-v2-item-simple" - }, - "pull_request": { - "$ref": "#/components/examples/projects-v2-item-simple" - } - } - } - } - }, - "304": { - "$ref": "#/components/responses/not_modified" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "projects", - "subcategory": "items" - } - } - }, - "/users/{username}/projectsV2/{project_number}/items/{item_id}": { - "get": { - "summary": "Get an item for a user owned project", - "description": "Get a specific item from a user-owned project.", - "tags": [ - "projects" - ], - "operationId": "projects/get-user-item", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" - }, - "parameters": [ - { - "$ref": "#/components/parameters/project-number" - }, - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/item-id" + }, + { + "name": "fields", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", + "in": "query", + "required": false, + "schema": { + "type": "array", + "maxItems": 50, + "items": { + "type": "string" + } + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/projects-v2-item-with-content" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/projects-v2-item-with-content" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + }, + "post": { + "summary": "Add item to user owned project", + "description": "Add an issue or pull request item to the specified user owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/add-item-for-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#add-item-to-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/project-number" + } + ], + "requestBody": { + "required": true, + "description": "Details of the item to add to the project.", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "Issue", + "PullRequest" + ], + "description": "The type of item to add to the project. Must be either Issue or PullRequest." + }, + "id": { + "type": "integer", + "description": "The numeric ID of the issue or pull request to add to the project." + } + }, + "required": [ + "type", + "id" + ] + }, + "examples": { + "issue": { + "value": { + "type": "Issue", + "id": 3 + } + }, + "pull_request": { + "value": { + "type": "PullRequest", + "id": 3 + } + } + } + } + } + }, + "responses": { + "201": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/projects-v2-item-simple" + }, + "examples": { + "issue": { + "$ref": "#/components/examples/projects-v2-item-simple" + }, + "pull_request": { + "$ref": "#/components/examples/projects-v2-item-simple" + } + } + } + } + }, + "304": { + "$ref": "#/components/responses/not_modified" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "401": { + "$ref": "#/components/responses/requires_authentication" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "projects", + "subcategory": "items" + } + } + }, + "/users/{username}/projectsV2/{project_number}/items/{item_id}": { + "get": { + "summary": "Get an item for a user owned project", + "description": "Get a specific item from a user-owned project.", + "tags": [ + "projects" + ], + "operationId": "projects/get-user-item", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project" + }, + "parameters": [ + { + "$ref": "#/components/parameters/project-number" + }, + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/item-id" }, { "name": "fields", @@ -76022,7 +76321,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -105754,578 +106053,6 @@ ], "additionalProperties": false }, - "secret-scanning-alert-state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "secret-scanning-alert-resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "secret-scanning-location-commit": { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-wiki-commit": { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - "secret-scanning-location-issue-title": { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - "secret-scanning-location-issue-body": { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - "secret-scanning-location-issue-comment": { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - "secret-scanning-location-discussion-title": { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - "secret-scanning-location-discussion-body": { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - "secret-scanning-location-discussion-comment": { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - "secret-scanning-location-pull-request-title": { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - "secret-scanning-location-pull-request-body": { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - "secret-scanning-location-pull-request-comment": { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - "secret-scanning-location-pull-request-review": { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - "secret-scanning-location-pull-request-review-comment": { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - }, - "secret-scanning-first-detected-location": { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "$ref": "#/components/schemas/secret-scanning-location-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - }, - { - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - } - ] - }, - "organization-secret-scanning-alert": { - "type": "object", - "properties": { - "number": { - "$ref": "#/components/schemas/alert-number" - }, - "created_at": { - "$ref": "#/components/schemas/alert-created-at" - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/alert-updated-at" - } - ] - }, - "url": { - "$ref": "#/components/schemas/alert-url" - }, - "html_url": { - "$ref": "#/components/schemas/alert-html-url" - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "$ref": "#/components/schemas/secret-scanning-alert-state" - }, - "resolution": { - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "$ref": "#/components/schemas/simple-repository" - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-user" - } - ] - } - } - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -106411,6 +106138,105 @@ "group_id" ] }, + "organization-simple": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, "actor": { "title": "Actor", "description": "Actor", @@ -110613,324 +110439,225 @@ "subscribed" ] }, - "organization-simple": { - "title": "Organization Simple", - "description": "A GitHub organization.", - "type": "object", - "properties": { - "login": { - "type": "string", - "examples": [ - "github" - ] - }, - "id": { - "type": "integer", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDEyOk9yZ2FuaXphdGlvbjE=" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/repos" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/orgs/github/events" - ] - }, - "hooks_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/hooks" - ] - }, - "issues_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/issues" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/members{/member}" - ] - }, - "public_members_url": { - "type": "string", - "examples": [ - "https://api.github.com/orgs/github/public_members{/member}" - ] - }, - "avatar_url": { - "type": "string", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "examples": [ - "A great organization" - ] - } - }, - "required": [ - "login", - "url", - "id", - "node_id", - "repos_url", - "events_url", - "hooks_url", - "issues_url", - "members_url", - "public_members_url", - "avatar_url", - "description" - ] - }, - "dependabot-repository-access-details": { - "title": "Dependabot Repository Access Details", - "description": "Information about repositories that Dependabot is able to access in an organization", - "type": "object", - "properties": { - "default_level": { - "type": [ - "string", - "null" - ], - "description": "The default repository access level for Dependabot updates.", - "enum": [ - "public", - "internal", - null - ], - "examples": [ - "internal" - ] - }, - "accessible_repositories": { - "type": "array", - "items": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/simple-repository" - } - ] - } - } - }, - "additionalProperties": false - }, - "billing-premium-request-usage-report-org": { - "type": "object", - "properties": { - "timePeriod": { - "type": "object", - "properties": { - "year": { - "type": "integer", - "description": "The year for the usage report." - }, - "month": { - "type": "integer", - "description": "The month for the usage report." - }, - "day": { - "type": "integer", - "description": "The day for the usage report." - } - }, - "required": [ - "year" - ] - }, - "organization": { - "type": "string", - "description": "The unique identifier of the organization." - }, - "user": { - "type": "string", - "description": "The name of the user for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "model": { - "type": "string", - "description": "The model for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "model": { - "type": "string", - "description": "Model name." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossQuantity": { - "type": "integer", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "integer", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "integer", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "model", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "organization", - "usageItems" - ] - }, - "billing-usage-report": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "organization-full": { - "title": "Organization Full", - "description": "Organization Full", + "dependabot-repository-access-details": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ], + "examples": [ + "internal" + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-repository" + } + ] + } + } + }, + "additionalProperties": false + }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "number", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "number", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "number", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "organization-full": { + "title": "Organization Full", + "description": "Organization Full", "type": "object", "properties": { "login": { @@ -112449,6 +112176,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "team-simple": { "title": "Team Simple", "description": "Groups of organization members that gives permissions on specified repositories.", @@ -119923,6 +119659,578 @@ } ] }, + "secret-scanning-alert-state": { + "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", + "type": "string", + "enum": [ + "open", + "resolved" + ] + }, + "secret-scanning-alert-resolution": { + "type": [ + "string", + "null" + ], + "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + null + ] + }, + "secret-scanning-location-commit": { + "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path in the repository", + "examples": [ + "/example/secrets.txt" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "blob_url": { + "type": "string", + "description": "The API URL to get the associated blob resource" + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "commit_url": { + "type": "string", + "description": "The API URL to get the associated commit resource" + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "blob_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-wiki-commit": { + "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", + "type": "object", + "properties": { + "path": { + "type": "string", + "description": "The file path of the wiki page", + "examples": [ + "/example/Home.md" + ] + }, + "start_line": { + "type": "number", + "description": "Line number at which the secret starts in the file" + }, + "end_line": { + "type": "number", + "description": "Line number at which the secret ends in the file" + }, + "start_column": { + "type": "number", + "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." + }, + "end_column": { + "type": "number", + "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." + }, + "blob_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated blob", + "examples": [ + "af5626b4a114abcb82d63db7c8082c3c4756e51b" + ] + }, + "page_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki page", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_sha": { + "type": "string", + "description": "SHA-1 hash ID of the associated commit", + "examples": [ + "302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + }, + "commit_url": { + "type": "string", + "description": "The GitHub URL to get the associated wiki commit", + "examples": [ + "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" + ] + } + }, + "required": [ + "path", + "start_line", + "end_line", + "start_column", + "end_column", + "blob_sha", + "page_url", + "commit_sha", + "commit_url" + ] + }, + "secret-scanning-location-issue-title": { + "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", + "type": "object", + "properties": { + "issue_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_title_url" + ] + }, + "secret-scanning-location-issue-body": { + "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", + "type": "object", + "properties": { + "issue_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/1347" + ] + } + }, + "required": [ + "issue_body_url" + ] + }, + "secret-scanning-location-issue-comment": { + "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", + "type": "object", + "properties": { + "issue_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the issue comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "issue_comment_url" + ] + }, + "secret-scanning-location-discussion-title": { + "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", + "type": "object", + "properties": { + "discussion_title_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082" + ] + } + }, + "required": [ + "discussion_title_url" + ] + }, + "secret-scanning-location-discussion-body": { + "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", + "type": "object", + "properties": { + "discussion_body_url": { + "type": "string", + "format": "uri", + "description": "The URL to the discussion where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussion-4566270" + ] + } + }, + "required": [ + "discussion_body_url" + ] + }, + "secret-scanning-location-discussion-comment": { + "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", + "type": "object", + "properties": { + "discussion_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the discussion comment where the secret was detected.", + "examples": [ + "https://github.com/community/community/discussions/39082#discussioncomment-4158232" + ] + } + }, + "required": [ + "discussion_comment_url" + ] + }, + "secret-scanning-location-pull-request-title": { + "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", + "type": "object", + "properties": { + "pull_request_title_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_title_url" + ] + }, + "secret-scanning-location-pull-request-body": { + "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", + "type": "object", + "properties": { + "pull_request_body_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846" + ] + } + }, + "required": [ + "pull_request_body_url" + ] + }, + "secret-scanning-location-pull-request-comment": { + "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", + "type": "object", + "properties": { + "pull_request_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" + ] + } + }, + "required": [ + "pull_request_comment_url" + ] + }, + "secret-scanning-location-pull-request-review": { + "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", + "type": "object", + "properties": { + "pull_request_review_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" + ] + } + }, + "required": [ + "pull_request_review_url" + ] + }, + "secret-scanning-location-pull-request-review-comment": { + "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", + "type": "object", + "properties": { + "pull_request_review_comment_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get the pull request review comment where the secret was detected.", + "examples": [ + "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" + ] + } + }, + "required": [ + "pull_request_review_comment_url" + ] + }, + "secret-scanning-first-detected-location": { + "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", + "oneOf": [ + { + "$ref": "#/components/schemas/secret-scanning-location-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + }, + { + "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + } + ] + }, + "organization-secret-scanning-alert": { + "type": "object", + "properties": { + "number": { + "$ref": "#/components/schemas/alert-number" + }, + "created_at": { + "$ref": "#/components/schemas/alert-created-at" + }, + "updated_at": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/alert-updated-at" + } + ] + }, + "url": { + "$ref": "#/components/schemas/alert-url" + }, + "html_url": { + "$ref": "#/components/schemas/alert-html-url" + }, + "locations_url": { + "type": "string", + "format": "uri", + "description": "The REST API URL of the code locations for this alert." + }, + "state": { + "$ref": "#/components/schemas/secret-scanning-alert-state" + }, + "resolution": { + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + }, + "resolved_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "resolved_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "secret_type_display_name": { + "type": "string", + "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" + }, + "secret": { + "type": "string", + "description": "The secret that was detected." + }, + "repository": { + "$ref": "#/components/schemas/simple-repository" + }, + "push_protection_bypassed": { + "type": [ + "boolean", + "null" + ], + "description": "Whether push protection was bypassed for the detected secret." + }, + "push_protection_bypassed_by": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypassed_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." + }, + "push_protection_bypass_request_reviewer": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + }, + "push_protection_bypass_request_reviewer_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when reviewing a push protection bypass." + }, + "push_protection_bypass_request_comment": { + "type": [ + "string", + "null" + ], + "description": "An optional comment when requesting a push protection bypass." + }, + "push_protection_bypass_request_html_url": { + "type": [ + "string", + "null" + ], + "format": "uri", + "description": "The URL to a push protection bypass request." + }, + "resolution_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment that was optionally added when this alert was closed" + }, + "validity": { + "type": "string", + "description": "The token status as of the latest validity check.", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + "publicly_leaked": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the secret was publicly leaked." + }, + "multi_repo": { + "type": [ + "boolean", + "null" + ], + "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." + }, + "is_base64_encoded": { + "type": [ + "boolean", + "null" + ], + "description": "A boolean value representing whether or not alert is base64 encoded" + }, + "first_location_detected": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/secret-scanning-first-detected-location" + } + ] + }, + "has_more_locations": { + "type": "boolean", + "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." + }, + "assigned_to": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/simple-user" + } + ] + } + } + }, "secret-scanning-row-version": { "type": [ "string", @@ -140006,7 +140314,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -140014,7 +140322,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -140022,7 +140330,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -288819,192 +289127,6 @@ } ] }, - "organization-secret-scanning-alert-list": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - }, "enterprise-teams-items": { "value": [ { @@ -289067,6 +289189,40 @@ "site_admin": false } }, + "organization-simple": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + }, + "organization-simple-items": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + }, "public-events-items": { "value": [ { @@ -290587,24 +290743,6 @@ "octocat": { "value": " MMM. .MMM\n MMMMMMMMMMMMMMMMMMM\n MMMMMMMMMMMMMMMMMMM ___________________________________\n MMMMMMMMMMMMMMMMMMMMM | |\n MMMMMMMMMMMMMMMMMMMMMMM | Avoid administrative distraction. |\n MMMMMMMMMMMMMMMMMMMMMMMM |_ _______________________________|\n MMMM::- -:::::::- -::MMMM |/\n MM~:~ 00~:::::~ 00~:~MM\n .. MMMMM::.00:::+:::.00::MMMMM ..\n .MM::::: ._. :::::MM.\n MMMM;:::::;MMMM\n -MM MMMMMMM\n ^ M+ MMMMMMMMM\n MMMMMMM MM MM MM\n MM MM MM MM\n MM MM MM MM\n .~~MM~MM~MM~MM~~.\n ~~~~MM:~MM~~~MM~:MM~~~~\n ~~~~~~==~==~~~==~==~~~~~~\n ~~~~~~==~==~==~==~~~~~~\n :~==~==~==~==~~\n" }, - "organization-simple-items": { - "value": [ - { - "login": "github", - "id": 1, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", - "url": "https://api.github.com/orgs/github", - "repos_url": "https://api.github.com/orgs/github/repos", - "events_url": "https://api.github.com/orgs/github/events", - "hooks_url": "https://api.github.com/orgs/github/hooks", - "issues_url": "https://api.github.com/orgs/github/issues", - "members_url": "https://api.github.com/orgs/github/members{/member}", - "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "description": "A great organization" - } - ] - }, "dependabot-repository-access-details": { "value": { "default_level": "public", @@ -291971,6 +292109,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -296857,6 +297007,192 @@ } ] }, + "organization-secret-scanning-alert-list": { + "value": [ + { + "number": 2, + "created_at": "2020-11-06T18:48:51Z", + "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", + "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", + "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", + "state": "resolved", + "resolution": "false_positive", + "resolved_at": "2020-11-07T02:47:13Z", + "resolved_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "secret_type": "adafruit_io_key", + "secret_type_display_name": "Adafruit IO Key", + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", + "repository": { + "id": 1296269, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", + "name": "Hello-World", + "full_name": "octocat/Hello-World", + "owner": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/octocat/Hello-World", + "description": "This your first repo!", + "fork": false, + "url": "https://api.github.com/repos/octocat/Hello-World", + "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", + "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", + "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", + "events_url": "https://api.github.com/repos/octocat/Hello-World/events", + "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", + "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", + "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", + "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", + "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", + "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", + "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" + }, + "push_protection_bypassed_by": { + "login": "monalisa", + "id": 2, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/2?", + "gravatar_id": "", + "url": "https://api.github.com/users/monalisa", + "html_url": "https://github.com/monalisa", + "followers_url": "https://api.github.com/users/monalisa/followers", + "following_url": "https://api.github.com/users/monalisa/following{/other_user}", + "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", + "organizations_url": "https://api.github.com/users/monalisa/orgs", + "repos_url": "https://api.github.com/users/monalisa/repos", + "events_url": "https://api.github.com/users/monalisa/events{/privacy}", + "received_events_url": "https://api.github.com/users/monalisa/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypassed": true, + "push_protection_bypassed_at": "2020-11-06T21:48:51Z", + "push_protection_bypass_request_reviewer": { + "login": "octocat", + "id": 3, + "node_id": "MDQ6VXNlcjI=", + "avatar_url": "https://alambic.github.com/avatars/u/3?", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + }, + "push_protection_bypass_request_reviewer_comment": "Example response", + "push_protection_bypass_request_comment": "Example comment", + "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", + "resolution_comment": "Example comment", + "validity": "active", + "publicly_leaked": false, + "multi_repo": false, + "is_base64_encoded": false, + "first_location_detected": { + "path": "/example/secrets.txt", + "start_line": 1, + "end_line": 1, + "start_column": 1, + "end_column": 64, + "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", + "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", + "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", + "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" + }, + "has_more_locations": true, + "assigned_to": { + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false + } + } + ] + }, "secret-scanning-pattern-configuration": { "value": { "pattern_config_version": "0ujsswThIGTUYm2K8FjOOfXtY1K", @@ -318019,113 +318355,6 @@ "default": "created" } }, - "pagination-first": { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - "pagination-last": { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, - "secret-scanning-alert-state": { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - "secret-scanning-alert-secret-type": { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-resolution": { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-sort": { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - "secret-scanning-alert-validity": { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - "secret-scanning-alert-publicly-leaked": { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-multi-repo": { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - "secret-scanning-alert-hide-secret": { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, "enterprise-team": { "name": "enterprise-team", "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", @@ -318144,6 +318373,15 @@ "type": "string" } }, + "org": { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "team-slug": { "name": "team_slug", "description": "The slug of the team name.", @@ -318288,15 +318526,6 @@ "type": "integer" } }, - "org": { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "billing-usage-report-year": { "name": "year", "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", @@ -318966,6 +319195,51 @@ "type": "integer" } }, + "secret-scanning-alert-state": { + "name": "state", + "in": "query", + "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "open", + "resolved" + ] + } + }, + "secret-scanning-alert-secret-type": { + "name": "secret_type", + "in": "query", + "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-resolution": { + "name": "resolution", + "in": "query", + "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-sort": { + "name": "sort", + "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated" + ], + "default": "created" + } + }, "secret-scanning-pagination-before-org-repo": { "name": "before", "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty \"before\" query string.", @@ -318984,6 +319258,45 @@ "type": "string" } }, + "secret-scanning-alert-validity": { + "name": "validity", + "in": "query", + "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", + "required": false, + "schema": { + "type": "string" + } + }, + "secret-scanning-alert-publicly-leaked": { + "name": "is_publicly_leaked", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-multi-repo": { + "name": "is_multi_repo", + "in": "query", + "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, + "secret-scanning-alert-hide-secret": { + "name": "hide_secret", + "in": "query", + "description": "A boolean value representing whether or not to hide literal secrets in the results.", + "required": false, + "schema": { + "type": "boolean", + "default": false + } + }, "network-configuration-id": { "name": "network_configuration_id", "description": "Unique identifier of the hosted compute network configuration.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 5a3328d6f..1884e95ab 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -2302,8 +2304,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -2331,61 +2331,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - - "$ref": "#/components/parameters/secret-scanning-alert-state" - - "$ref": "#/components/parameters/secret-scanning-alert-secret-type" - - "$ref": "#/components/parameters/secret-scanning-alert-resolution" - - "$ref": "#/components/parameters/secret-scanning-alert-sort" - - "$ref": "#/components/parameters/direction" - - "$ref": "#/components/parameters/per-page" - - "$ref": "#/components/parameters/pagination-before" - - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/secret-scanning-alert-validity" - - "$ref": "#/components/parameters/secret-scanning-alert-publicly-leaked" - - "$ref": "#/components/parameters/secret-scanning-alert-multi-repo" - - "$ref": "#/components/parameters/secret-scanning-alert-hide-secret" - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: - "$ref": "#/components/schemas/organization-secret-scanning-alert" - examples: - default: - "$ref": "#/components/examples/organization-secret-scanning-alert-list" - headers: - Link: - "$ref": "#/components/headers/link" - '404': - "$ref": "#/components/responses/not_found" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -2459,6 +2404,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -2706,6 +2663,209 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/page" + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple-items" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: + "$ref": "#/components/schemas/organization-simple" + examples: + default: + "$ref": "#/components/examples/organization-simple" + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/enterprise-team" + - "$ref": "#/components/parameters/org" + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -2781,6 +2941,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -5139,9 +5311,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -9221,6 +9394,53 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/pagination-before" + - "$ref": "#/components/parameters/pagination-after" + - "$ref": "#/components/parameters/org" + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + "$ref": "#/components/examples/list-attestation-repositories" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -11974,8 +12194,6 @@ paths: - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" - "$ref": "#/components/parameters/per-page" responses: '200': @@ -16692,8 +16910,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -16701,8 +16921,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -32333,14 +32551,6 @@ paths: - "$ref": "#/components/parameters/dependabot-alert-scope" - "$ref": "#/components/parameters/dependabot-alert-sort" - "$ref": "#/components/parameters/direction" - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -32351,8 +32561,6 @@ paths: default: 30 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - - "$ref": "#/components/parameters/pagination-first" - - "$ref": "#/components/parameters/pagination-last" responses: '200': description: Response @@ -44635,6 +44843,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -54458,8 +54669,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -54467,8 +54680,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -54950,7 +55161,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -76466,424 +76680,6 @@ components: - fixed_at - repository additionalProperties: false - secret-scanning-alert-state: - description: Sets the state of the secret scanning alert. You must provide `resolution` - when you set the state to `resolved`. - type: string - enum: - - open - - resolved - secret-scanning-alert-resolution: - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The reason for resolving - the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - secret-scanning-location-commit: - description: Represents a 'commit' secret scanning location type. This location - type shows that a secret was detected inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8BIT ASCII - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8BIT ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - secret-scanning-location-wiki-commit: - description: Represents a 'wiki_commit' secret scanning location type. This - location type shows that a secret was detected inside a commit to a repository - wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts in the file - end_line: - type: number - description: Line number at which the secret ends in the file - start_column: - type: number - description: The column at which the secret starts within the start line - when the file is interpreted as 8-bit ASCII. - end_column: - type: number - description: The column at which the secret ends within the end line when - the file is interpreted as 8-bit ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - secret-scanning-location-issue-title: - description: Represents an 'issue_title' secret scanning location type. This - location type shows that a secret was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - secret-scanning-location-issue-body: - description: Represents an 'issue_body' secret scanning location type. This - location type shows that a secret was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - secret-scanning-location-issue-comment: - description: Represents an 'issue_comment' secret scanning location type. This - location type shows that a secret was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - secret-scanning-location-discussion-title: - description: Represents a 'discussion_title' secret scanning location type. - This location type shows that a secret was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - secret-scanning-location-discussion-body: - description: Represents a 'discussion_body' secret scanning location type. This - location type shows that a secret was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - secret-scanning-location-discussion-comment: - description: Represents a 'discussion_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - secret-scanning-location-pull-request-title: - description: Represents a 'pull_request_title' secret scanning location type. - This location type shows that a secret was detected in the title of a pull - request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - secret-scanning-location-pull-request-body: - description: Represents a 'pull_request_body' secret scanning location type. - This location type shows that a secret was detected in the body of a pull - request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - secret-scanning-location-pull-request-comment: - description: Represents a 'pull_request_comment' secret scanning location type. - This location type shows that a secret was detected in a comment on a pull - request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - secret-scanning-location-pull-request-review: - description: Represents a 'pull_request_review' secret scanning location type. - This location type shows that a secret was detected in a review on a pull - request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review where the secret - was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - secret-scanning-location-pull-request-review-comment: - description: Represents a 'pull_request_review_comment' secret scanning location - type. This location type shows that a secret was detected in a review comment - on a pull request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review comment where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - secret-scanning-first-detected-location: - description: 'Details on the location where the token was initially detected. - This can be a commit, wiki commit, issue, discussion, pull request. - - ' - oneOf: - - "$ref": "#/components/schemas/secret-scanning-location-commit" - - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" - - "$ref": "#/components/schemas/secret-scanning-location-issue-title" - - "$ref": "#/components/schemas/secret-scanning-location-issue-body" - - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" - - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" - - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" - organization-secret-scanning-alert: - type: object - properties: - number: - "$ref": "#/components/schemas/alert-number" - created_at: - "$ref": "#/components/schemas/alert-created-at" - updated_at: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/alert-updated-at" - url: - "$ref": "#/components/schemas/alert-url" - html_url: - "$ref": "#/components/schemas/alert-html-url" - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this alert. - state: - "$ref": "#/components/schemas/secret-scanning-alert-state" - resolution: - "$ref": "#/components/schemas/secret-scanning-alert-resolution" - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: - "$ref": "#/components/schemas/simple-repository" - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in ISO 8601 format: - `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple repositories - in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert is base64 - encoded - first_location_detected: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/secret-scanning-first-detected-location" - has_more_locations: - type: boolean - description: A boolean value representing whether or not the token in the - alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/simple-user" enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -76948,6 +76744,77 @@ components: - created_at - updated_at - group_id + organization-simple: + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description actor: title: Actor description: Actor @@ -79957,77 +79824,6 @@ components: - reason - url - subscribed - organization-simple: - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description dependabot-repository-access-details: title: Dependabot Repository Access Details description: Information about repositories that Dependabot is able to access @@ -80102,19 +79898,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -81357,6 +81153,13 @@ components: enum: - open - closed + campaign-alert-type: + title: Campaign alert type + description: Indicates the alert type of a campaign + type: string + enum: + - code_scanning + - secret_scanning team-simple: title: Team Simple description: Groups of organization members that gives permissions on specified @@ -86946,6 +86749,424 @@ components: state: type: object description: The state of the ruleset version + secret-scanning-alert-state: + description: Sets the state of the secret scanning alert. You must provide `resolution` + when you set the state to `resolved`. + type: string + enum: + - open + - resolved + secret-scanning-alert-resolution: + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The reason for resolving + the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + secret-scanning-location-commit: + description: Represents a 'commit' secret scanning location type. This location + type shows that a secret was detected inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8BIT ASCII + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8BIT ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + secret-scanning-location-wiki-commit: + description: Represents a 'wiki_commit' secret scanning location type. This + location type shows that a secret was detected inside a commit to a repository + wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts in the file + end_line: + type: number + description: Line number at which the secret ends in the file + start_column: + type: number + description: The column at which the secret starts within the start line + when the file is interpreted as 8-bit ASCII. + end_column: + type: number + description: The column at which the secret ends within the end line when + the file is interpreted as 8-bit ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + secret-scanning-location-issue-title: + description: Represents an 'issue_title' secret scanning location type. This + location type shows that a secret was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + secret-scanning-location-issue-body: + description: Represents an 'issue_body' secret scanning location type. This + location type shows that a secret was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + secret-scanning-location-issue-comment: + description: Represents an 'issue_comment' secret scanning location type. This + location type shows that a secret was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + secret-scanning-location-discussion-title: + description: Represents a 'discussion_title' secret scanning location type. + This location type shows that a secret was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + secret-scanning-location-discussion-body: + description: Represents a 'discussion_body' secret scanning location type. This + location type shows that a secret was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + secret-scanning-location-discussion-comment: + description: Represents a 'discussion_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + secret-scanning-location-pull-request-title: + description: Represents a 'pull_request_title' secret scanning location type. + This location type shows that a secret was detected in the title of a pull + request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + secret-scanning-location-pull-request-body: + description: Represents a 'pull_request_body' secret scanning location type. + This location type shows that a secret was detected in the body of a pull + request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + secret-scanning-location-pull-request-comment: + description: Represents a 'pull_request_comment' secret scanning location type. + This location type shows that a secret was detected in a comment on a pull + request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + secret-scanning-location-pull-request-review: + description: Represents a 'pull_request_review' secret scanning location type. + This location type shows that a secret was detected in a review on a pull + request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review where the secret + was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + secret-scanning-location-pull-request-review-comment: + description: Represents a 'pull_request_review_comment' secret scanning location + type. This location type shows that a secret was detected in a review comment + on a pull request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review comment where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + secret-scanning-first-detected-location: + description: 'Details on the location where the token was initially detected. + This can be a commit, wiki commit, issue, discussion, pull request. + + ' + oneOf: + - "$ref": "#/components/schemas/secret-scanning-location-commit" + - "$ref": "#/components/schemas/secret-scanning-location-wiki-commit" + - "$ref": "#/components/schemas/secret-scanning-location-issue-title" + - "$ref": "#/components/schemas/secret-scanning-location-issue-body" + - "$ref": "#/components/schemas/secret-scanning-location-issue-comment" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-title" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-body" + - "$ref": "#/components/schemas/secret-scanning-location-discussion-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-title" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-body" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-comment" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review" + - "$ref": "#/components/schemas/secret-scanning-location-pull-request-review-comment" + organization-secret-scanning-alert: + type: object + properties: + number: + "$ref": "#/components/schemas/alert-number" + created_at: + "$ref": "#/components/schemas/alert-created-at" + updated_at: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/alert-updated-at" + url: + "$ref": "#/components/schemas/alert-url" + html_url: + "$ref": "#/components/schemas/alert-html-url" + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this alert. + state: + "$ref": "#/components/schemas/secret-scanning-alert-state" + resolution: + "$ref": "#/components/schemas/secret-scanning-alert-resolution" + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: + "$ref": "#/components/schemas/simple-repository" + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in ISO 8601 format: + `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple repositories + in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert is base64 + encoded + first_location_detected: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/secret-scanning-first-detected-location" + has_more_locations: + type: boolean + description: A boolean value representing whether or not the token in the + alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/simple-user" secret-scanning-row-version: type: - string @@ -101269,19 +101490,19 @@ components: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -212583,181 +212804,6 @@ components: tags_url: https://api.github.com/repos/octo-org/hello-world/tags teams_url: https://api.github.com/repos/octo-org/hello-world/teams trees_url: https://api.github.com/repos/octo-org/hello-world/git/trees{/sha} - organization-secret-scanning-alert-list: - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false enterprise-teams-items: value: - id: 1 @@ -212810,6 +212856,34 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + organization-simple: + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + organization-simple-items: + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization public-events-items: value: - id: '22249084947' @@ -214185,20 +214259,6 @@ components: ~~~~~~==~==~~~==~==~~~~~~ ~~~~~~==~==~==~==~~~~~~ :~==~==~==~==~~ - organization-simple-items: - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization dependabot-repository-access-details: value: default_level: public @@ -215296,6 +215356,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: + - id: 123 + name: foo + - id: 456 + name: bar list-attestations: value: attestations: @@ -219518,6 +219584,181 @@ components: parameters: operator: contains pattern: github + organization-secret-scanning-alert-list: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false secret-scanning-pattern-configuration: value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K @@ -237798,109 +238039,6 @@ components: - updated - epss_percentage default: created - pagination-first: - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - pagination-last: - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - secret-scanning-alert-state: - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - secret-scanning-alert-secret-type: - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default secret - patterns are returned. To return generic patterns, pass the token name(s) - in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - secret-scanning-alert-resolution: - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - secret-scanning-alert-sort: - name: sort - description: The property to sort the results by. `created` means when the alert - was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - secret-scanning-alert-validity: - name: validity - in: query - description: A comma-separated list of validities that, when present, will return - alerts that match the validities in this list. Valid options are `active`, - `inactive`, and `unknown`. - required: false - schema: - type: string - secret-scanning-alert-publicly-leaked: - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts by - the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-multi-repo: - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts by - the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - secret-scanning-alert-hide-secret: - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false enterprise-team: name: enterprise-team description: The slug version of the enterprise team name. You can also substitute @@ -237916,6 +238054,13 @@ components: required: true schema: type: string + org: + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string team-slug: name: team_slug description: The slug of the team name. @@ -238037,13 +238182,6 @@ components: required: false schema: type: integer - org: - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string billing-usage-report-year: name: year description: If specified, only return results for a single year. The value @@ -238622,6 +238760,48 @@ components: required: true schema: type: integer + secret-scanning-alert-state: + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + secret-scanning-alert-secret-type: + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default secret + patterns are returned. To return generic patterns, pass the token name(s) + in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + secret-scanning-alert-resolution: + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + secret-scanning-alert-sort: + name: sort + description: The property to sort the results by. `created` means when the alert + was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created secret-scanning-pagination-before-org-repo: name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). @@ -238640,6 +238820,42 @@ components: required: false schema: type: string + secret-scanning-alert-validity: + name: validity + in: query + description: A comma-separated list of validities that, when present, will return + alerts that match the validities in this list. Valid options are `active`, + `inactive`, and `unknown`. + required: false + schema: + type: string + secret-scanning-alert-publicly-leaked: + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts by + the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-multi-repo: + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts by + the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + secret-scanning-alert-hide-secret: + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false network-configuration-id: name: network_configuration_id description: Unique identifier of the hosted compute network configuration. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 4fd58eb26..944559aaf 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28376,8 +26210,731 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28386,29 +26943,124 @@ } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "201": { + "description": "Successfully assigned the enterprise team to the organization.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "examples": [ + "github" + ] }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" } } } @@ -28420,7 +27072,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -97158,6 +95872,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +113988,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -171836,7 +170631,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -171844,10 +170639,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -353327,16 +352119,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -353364,29 +352146,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +575808,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,7 +737799,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -739048,10 +737807,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -776666,7 +775422,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +775553,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +775561,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +775569,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 0aad05175..c8a523d41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &282 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &603 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &155 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &157 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &158 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &159 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &156 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &164 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &165 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &166 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &167 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &166 + - &168 name: epss_percentage in: query description: |- @@ -8959,7 +8961,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &448 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &169 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &170 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9038,7 +9015,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &52 + number: &145 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &449 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &148 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &149 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &146 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &54 + updated_at: &147 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &148 + dismissed_at: &151 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &150 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &450 type: - string - 'null' @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &615 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &616 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &617 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &496 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &548 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &549 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &629 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,7 +15000,7 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: &203 value: @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &304 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &305 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &313 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &524 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &525 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &526 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &527 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &670 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &671 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &672 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &676 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &318 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +19177,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19282,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &128 value: total_count: 2 runners: @@ -19836,7 +19324,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19921,9 +19409,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19466,7 @@ paths: type: integer images: type: array - items: &108 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19506,7 @@ paths: - display_name - source examples: - default: &109 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +19546,9 @@ paths: type: integer images: type: array - items: *108 + items: *106 examples: - default: *109 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +19620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +19636,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *108 examples: default: value: @@ -20173,7 +19661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +19705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19718,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *110 requestBody: required: true content: @@ -20291,9 +19779,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19797,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *110 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19826,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19846,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &112 value: include_claim_keys: - repo @@ -20380,20 +19868,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *111 examples: - default: *114 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +19920,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19933,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &116 + allowed_actions: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19941,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &324 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &117 + sha_pinning_required: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +19988,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -20530,13 +20018,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &328 type: object properties: days: @@ -20573,12 +20061,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &329 type: object properties: days: @@ -20615,13 +20103,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &116 type: object properties: approval_policy: @@ -20635,7 +20123,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &330 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20154,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20176,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &331 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20208,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20259,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20307,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &121 value: total_count: 1 repositories: @@ -20961,7 +20449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -21058,13 +20546,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &119 type: object properties: github_owned_allowed: @@ -21086,7 +20574,7 @@ paths: items: type: string examples: - default: &122 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +20607,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +20677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +20724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +20739,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 '403': *27 '404': *6 x-github: @@ -21273,7 +20761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +20809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: No content @@ -21348,8 +20836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: No content @@ -21377,23 +20865,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &333 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &122 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20889,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +20922,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &334 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +20973,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &125 type: object properties: id: @@ -21602,7 +21090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21163,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: &129 + default: &127 value: id: 2 name: octo-runner-group @@ -21712,8 +21200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21213,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: default: value: @@ -21761,8 +21249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -21818,9 +21306,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: *129 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *126 responses: '204': description: Response @@ -21863,8 +21351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *17 - *19 responses: @@ -21882,11 +21370,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *128 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *19 - *17 responses: @@ -21925,9 +21413,9 @@ paths: type: number repositories: type: array - items: *131 + items: *129 examples: - default: &634 + default: &632 value: total_count: 1 repositories: @@ -22179,8 +21667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -22224,9 +21712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *126 + - *118 responses: '204': description: Response @@ -22248,9 +21736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *126 + - *118 responses: '204': description: Response @@ -22273,8 +21761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *17 - *19 responses: @@ -22292,7 +21780,7 @@ paths: type: number runners: type: array - items: &133 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21814,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21844,7 @@ paths: - busy - labels examples: - default: &134 + default: &132 value: total_count: 2 runners: @@ -22396,7 +21884,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -22460,9 +21948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *126 + - *130 responses: '204': description: Response @@ -22522,7 +22010,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22028,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22062,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Runner Application description: Runner Application type: object @@ -22599,7 +22087,7 @@ paths: - download_url - filename examples: - default: &346 + default: &336 value: - os: osx architecture: x64 @@ -22642,7 +22130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &337 description: Response content: application/json: @@ -22695,7 +22183,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22240,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &133 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22270,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22288,7 @@ paths: - token - expires_at examples: - default: &348 + default: &338 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22319,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: &349 + default: &339 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22352,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: &350 + default: &340 value: id: 23 name: MBP @@ -22914,8 +22402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: '204': description: Response @@ -22941,10 +22429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: - '200': &137 + '200': &135 description: Response content: application/json: @@ -22958,7 +22446,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -22997,8 +22485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 requestBody: required: true content: @@ -23022,7 +22510,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23046,8 +22534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 requestBody: required: true content: @@ -23072,7 +22560,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23096,10 +22584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: - '200': &351 + '200': &341 description: Response content: application/json: @@ -23113,7 +22601,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -23154,9 +22642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *130 + - &342 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22652,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23189,7 +22677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +22695,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22747,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +22770,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &354 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22811,7 @@ paths: - key_id - key examples: - default: &365 + default: &355 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &137 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22849,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *136 examples: default: value: @@ -23391,8 +22879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23449,7 +22937,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23475,8 +22963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -23502,8 +22990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -23521,9 +23009,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: &143 + default: &141 value: total_count: 1 repositories: @@ -23615,8 +23103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23668,8 +23156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -23702,8 +23190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -23735,8 +23223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &323 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23760,7 +23248,7 @@ paths: type: integer variables: type: array - items: &141 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23317,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23386,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23923,8 +23411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &140 name: name description: The name of the variable. in: path @@ -23936,7 +23424,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *139 examples: default: value: @@ -23966,8 +23454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24029,8 +23517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 responses: '204': description: Response @@ -24056,8 +23544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - *19 - *17 responses: @@ -24075,9 +23563,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24153,8 +23641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - name: repository_id in: path required: true @@ -24188,8 +23676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - name: repository_id in: path required: true @@ -24220,7 +23708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +23850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +23936,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +23959,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &659 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &660 value: subject_digests: - sha256:abc123 @@ -24535,7 +24023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &661 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24216,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24317,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24370,7 @@ paths: initiator: type: string examples: - default: &378 + default: &368 value: attestations: - bundle: @@ -24938,7 +24477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24489,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +24555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +24581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +24589,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24615,7 @@ paths: application/json: schema: type: array - items: &145 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24646,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &163 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24859,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24955,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25076,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: &146 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25127,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25161,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25241,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *142 examples: default: value: @@ -25712,9 +25251,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '400': description: Bad Request content: @@ -25726,7 +25265,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25297,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25319,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &392 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &149 + schema: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &393 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25799,7 +25338,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &153 type: - string - 'null' @@ -25815,7 +25354,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &395 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25377,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &396 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25398,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: &397 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &154 type: - string - 'null' @@ -25880,13 +25419,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *151 + dismissed_reason: &398 type: - string - 'null' @@ -25897,14 +25436,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &399 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &400 type: object properties: id: @@ -25965,26 +25504,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &401 type: object properties: - name: *149 + name: *152 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *153 + most_recent_instance: &402 type: object properties: - ref: &404 + ref: &394 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &412 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25534,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &413 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *151 + state: *154 commit_sha: type: string message: @@ -26294,9 +25833,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +25968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26046,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26189,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26271,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26306,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +26587,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +26682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +26728,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *156 '403': *27 '404': *6 x-github: @@ -27213,7 +26752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +26781,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *161 '403': *27 '404': *6 x-github: @@ -27272,7 +26811,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27319,11 +26858,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *129 machine: anyOf: - type: 'null' - - &435 + - &425 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -28020,7 +27559,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +27625,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +27680,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27703,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +27734,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +27773,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +27814,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &426 value: total_count: 2 secrets: @@ -28288,7 +27827,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27846,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &427 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27887,7 @@ paths: - key_id - key examples: - default: &438 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +27910,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: &440 + default: &430 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +27946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -28463,7 +28002,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -28489,8 +28028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -28515,8 +28054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -28534,9 +28073,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -28609,8 +28148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -28643,8 +28182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -28683,7 +28222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28331,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28860,13 +28399,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *163 + - *53 type: - 'null' - object @@ -28996,8 +28535,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +28611,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +28689,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +28768,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +28846,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -29378,7 +28917,7 @@ paths: application/json: schema: type: array - items: &296 + items: &286 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29232,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &287 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29331,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &288 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29361,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 + - *61 - *164 - *165 - *166 + - *167 + - *168 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29404,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *169 + - *170 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29908,7 +29445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29978,7 +29515,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +29536,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &453 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29561,7 @@ paths: - key_id - key examples: - default: &464 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,8 +29584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response @@ -30082,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30142,7 +29679,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -30166,8 +29703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -30191,8 +29728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -30210,9 +29747,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30284,8 +29821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -30316,8 +29853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -30347,7 +29884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30408,7 +29945,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *129 created_at: type: string format: date-time @@ -30504,7 +30041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30051,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30683,7 +30220,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30817,7 +30354,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30951,7 +30488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 + - *61 - &176 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -30994,7 +30531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31082,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31110,7 +30647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 responses: '200': @@ -31141,7 +30678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31192,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *17 - *177 @@ -31230,7 +30767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31265,7 +30802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31295,7 +30832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31318,7 +30855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 + - *61 - &186 name: actor_type in: path @@ -31441,7 +30978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 + - *61 - *182 - *183 - *19 @@ -31526,7 +31063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 + - *61 - *182 - *183 responses: @@ -31570,7 +31107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 + - *61 - &188 name: user_id in: path @@ -31605,7 +31142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 + - *61 - *182 - *183 - *186 @@ -31634,7 +31171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 + - *61 - *182 - *183 - &189 @@ -31702,7 +31239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31731,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 + - *61 - *186 - *187 - *182 @@ -31761,7 +31298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31844,7 +31381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31389,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &492 value: id: 1 account: @@ -31921,7 +31458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +31528,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32075,12 +31612,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &493 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32131,7 +31668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +31692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32193,7 +31730,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32322,7 +31859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 + - *61 - &198 name: invitation_id description: The unique identifier of the invitation. @@ -32353,7 +31890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 + - *61 - *198 - *17 - *19 @@ -32364,7 +31901,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: &215 value: @@ -32382,7 +31919,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +31938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32447,7 +31984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32531,7 +32068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 + - *61 - &201 name: issue_type_id description: The unique identifier of the issue type. @@ -32614,7 +32151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 + - *61 - *201 responses: '204': @@ -32648,7 +32185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32697,7 +32234,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32244,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32306,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32388,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32872,7 +32409,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,8 +32432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 + - *61 + - *57 - &206 name: codespace_name in: path @@ -32907,7 +32444,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,8 +32467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 + - *61 + - *57 - *206 responses: '200': @@ -32940,7 +32477,7 @@ paths: application/json: schema: *204 examples: - default: &434 + default: &424 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32619,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,8 +32650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -33164,7 +32701,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,8 +32726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -33245,7 +32782,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33333,8 +32870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33388,8 +32925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +32951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33478,7 +33015,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33214,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33952,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 + - *61 - &211 name: migration_id description: The unique identifier of the migration. @@ -34150,7 +33687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '302': @@ -34172,7 +33709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '204': @@ -34196,9 +33733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 + - *61 - *211 - - &646 + - &644 name: repo_name description: repo_name parameter in: path @@ -34225,7 +33762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 + - *61 - *211 - *17 - *19 @@ -34236,7 +33773,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: &222 value: @@ -34349,7 +33886,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34540,8 +34077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 + - *61 + - *62 - &212 name: role_id description: The unique identifier of the role. @@ -34603,8 +34140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 + - *61 + - *62 - *212 responses: '204': @@ -34630,8 +34167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,8 +34193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34688,8 +34225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34718,7 +34255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 + - *61 - *212 responses: '200': @@ -34775,7 +34312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 + - *61 - *212 - *17 - *19 @@ -34890,7 +34427,7 @@ paths: examples: default: *215 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,7 +34454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 + - *61 - *212 - *17 - *19 @@ -35064,9 +34601,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +34625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +34652,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +34735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +34793,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35298,7 +34835,7 @@ paths: default: *217 '403': *27 '401': *23 - '400': &650 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35345,7 +34882,7 @@ paths: required: true schema: type: string - - *99 + - *61 responses: '200': description: Response @@ -35405,7 +34942,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 responses: '204': description: Response @@ -35439,7 +34976,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - name: token description: package token schema: @@ -35473,7 +35010,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *19 - *17 - name: state @@ -35630,7 +35167,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - &221 name: package_version_id description: Unique identifier of the package version. @@ -35681,7 +35218,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35716,7 +35253,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35744,7 +35281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - &223 @@ -35821,7 +35358,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35493,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +35555,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +35617,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35653,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +35662,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,7 +35687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - *223 @@ -36162,7 +35699,7 @@ paths: - *228 - *229 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35828,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +35848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +35883,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +35936,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *159 '403': *27 '422': *15 x-github: @@ -36423,7 +35960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +35970,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +35979,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36555,7 +36092,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36786,7 +36323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36351,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,8 +36373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: The specified private registry configuration for the organization @@ -36866,8 +36403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -36963,8 +36500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -36989,7 +36526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37143,7 +36680,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37230,7 +36767,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &310 description: Gone content: application/json: @@ -37256,7 +36793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37347,7 +36884,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37515,7 +37052,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37542,7 +37079,7 @@ paths: required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37552,7 +37089,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37573,7 +37110,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *235 - - *99 + - *61 - *17 - *38 - *39 @@ -37757,7 +37294,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37778,14 +37315,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *235 - - &667 + - &664 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37795,7 +37332,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37817,7 +37354,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -37826,8 +37363,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -37835,8 +37374,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *38 - *39 - *17 @@ -38595,7 +38132,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,7 +38152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 + - *61 - *235 requestBody: required: true @@ -38653,7 +38190,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &665 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38203,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &437 title: Pull Request Simple description: Pull Request Simple type: object @@ -38842,7 +38379,7 @@ paths: type: - array - 'null' - items: *161 + items: *163 head: type: object properties: @@ -38850,7 +38387,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38407,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38911,8 +38448,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &534 title: Auto merge description: The status of auto merging a pull request. type: @@ -39127,7 +38664,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - &244 name: item_id description: The unique identifier of the project item. @@ -39156,7 +38693,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39176,7 +38713,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 requestBody: required: true @@ -39277,7 +38814,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 responses: '204': @@ -39302,7 +38839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39434,7 +38971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39498,7 +39035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 + - *61 - &247 name: custom_property_name description: The custom property name @@ -39547,7 +39084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 requestBody: required: true @@ -39651,10 +39188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 responses: - '204': *156 + '204': *159 '403': *27 '404': *6 x-github: @@ -39675,7 +39212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39758,7 +39295,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39847,7 +39384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39396,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39533,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +39738,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &312 title: Full Repository description: Full Repository type: object @@ -40547,7 +40084,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40184,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40203,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &442 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40780,7 +40317,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40835,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &557 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41587,7 +41124,7 @@ paths: - object rules: type: array - items: &568 + items: &558 title: Repository Rule type: object description: A repository rule. @@ -41649,7 +41186,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &555 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +41810,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &556 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41871,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41887,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42484,7 +42021,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &559 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -42514,7 +42051,7 @@ paths: in: query schema: type: string - - &570 + - &560 name: time_period description: |- The time period to filter by. @@ -42530,14 +42067,14 @@ paths: - week - month default: day - - &571 + - &561 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &572 + - &562 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42094,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &563 title: Rule Suites description: Response type: array @@ -42613,7 +42150,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &564 value: - id: 21 actor_id: 12 @@ -42637,7 +42174,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42210,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &566 title: Rule Suite description: Response type: object @@ -42780,7 +42317,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &567 value: id: 21 actor_id: 12 @@ -42815,7 +42352,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42378,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42857,7 +42394,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42410,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42947,7 +42484,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42500,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42511,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43026,7 +42563,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &569 value: - version_id: 3 actor: @@ -43044,7 +42581,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,7 +42616,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &570 allOf: - *279 - type: object @@ -43128,7 +42665,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42687,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &571 + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + - &572 + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default + secret patterns are returned. To return generic patterns, pass the token + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + - &573 + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + - &574 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &575 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43168,7 +42743,7 @@ paths: required: false schema: type: string - - &582 + - &576 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43178,10 +42753,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &577 + name: validity + in: query + description: A comma-separated list of validities that, when present, will + return alerts that match the validities in this list. Valid options are + `active`, `inactive`, and `unknown`. + required: false + schema: + type: string + - &578 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &579 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + - &580 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +42796,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *145 + created_at: *146 + updated_at: + anyOf: + - type: 'null' + - *147 + url: *148 + html_url: *149 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &581 + description: Sets the state of the secret scanning alert. You + must provide `resolution` when you set the state to `resolved`. + type: string + enum: + - open + - resolved + resolution: &582 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &583 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &585 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &586 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &587 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &588 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &589 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &590 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &591 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &592 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &593 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &594 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &595 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &596 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &597 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43429,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43441,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &281 type: - string - 'null' @@ -43242,7 +43451,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &280 type: object properties: token_type: @@ -43311,7 +43520,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *280 examples: default: value: @@ -43360,7 +43569,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43577,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *281 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43603,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *281 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +43701,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 description: A repository security advisory. type: object properties: @@ -43736,7 +43945,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 credits_detailed: type: - array @@ -43747,7 +43956,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *282 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +43982,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *163 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44020,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &602 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44223,8 +44432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44488,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &666 type: object properties: total_minutes_used: @@ -44355,7 +44564,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &667 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44594,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &668 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44618,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &669 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44644,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &673 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44668,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &674 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +44742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +44800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +44818,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +44888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -44702,8 +44911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -44726,7 +44935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +44953,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &283 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45017,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45078,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: &294 + default: &284 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &285 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45121,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *285 requestBody: required: true content: @@ -44975,9 +45184,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *285 responses: '204': description: Response @@ -45020,7 +45229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45288,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45142,13 +45351,13 @@ paths: application/json: schema: type: array - items: *296 + items: *286 examples: - default: *297 - '500': *100 + default: *287 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45385,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45481,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &289 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45671,7 +45880,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &290 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45950,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46044,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46123,7 @@ paths: application/json: schema: type: array - items: &301 + items: &291 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46214,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46234,7 @@ paths: - updated_at - url examples: - default: &621 + default: &619 value: - author: login: octocat @@ -46075,7 +46284,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46343,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &302 + default: &292 value: author: login: octocat @@ -46208,9 +46417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &293 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46431,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: false content: @@ -46271,9 +46480,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &622 + default: &620 value: author: login: octocat @@ -46343,9 +46552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 responses: '204': description: Response @@ -46371,9 +46580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - *46 - *17 - *19 @@ -46384,7 +46593,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46658,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +46673,7 @@ paths: - updated_at - url examples: - default: &623 + default: &621 value: - author: login: octocat @@ -46508,7 +46717,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: true content: @@ -46556,9 +46765,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: author: login: octocat @@ -46624,10 +46833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *293 + - &296 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46848,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 requestBody: required: true content: @@ -46688,9 +46897,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &624 + default: &622 value: author: login: octocat @@ -46754,10 +46963,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 responses: '204': description: Response @@ -46783,10 +46992,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46812,7 +47021,7 @@ paths: application/json: schema: type: array - items: &307 + items: &297 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47065,7 @@ paths: - content - created_at examples: - default: &309 + default: &299 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47091,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 requestBody: required: true content: @@ -46942,9 +47151,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *297 examples: - default: &308 + default: &298 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47182,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47207,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *293 + - *296 + - &300 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47062,11 +47271,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: true content: @@ -47124,16 +47333,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *293 + - *300 responses: '204': description: Response @@ -47183,8 +47392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47198,7 +47407,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47451,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47481,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &301 title: Team Membership description: Team Membership type: object @@ -47308,7 +47517,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &623 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +47580,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &624 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +47644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +47655,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47724,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &625 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47764,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &303 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47801,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: &628 + default: &626 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *303 requestBody: required: false content: @@ -47725,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *303 responses: '204': description: Response @@ -47754,8 +47963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +47974,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48005,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &627 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48040,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +48655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 requestBody: required: false content: @@ -48494,10 +48703,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 responses: '204': description: Response @@ -48521,8 +48730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +48741,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &628 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48771,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +48796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +48870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &306 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48882,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &307 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48936,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &308 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48787,9 +48996,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *306 responses: '204': description: Response @@ -48843,7 +49052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48904,7 +49113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *303 responses: '200': description: Response @@ -48912,7 +49121,7 @@ paths: application/json: schema: *232 examples: - default: &319 + default: &309 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *303 requestBody: required: false content: @@ -49020,7 +49229,7 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49250,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *303 responses: '204': description: Delete Success @@ -49085,7 +49294,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *303 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49136,9 +49345,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *303 + - *57 requestBody: required: false content: @@ -49221,8 +49430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *303 + - *57 responses: '204': description: Response @@ -49253,8 +49462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *303 + - *57 responses: '200': description: Response @@ -49324,7 +49533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *303 - *17 - *19 responses: @@ -49334,7 +49543,7 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: default: value: @@ -49347,7 +49556,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +49581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *303 requestBody: required: true content: @@ -49396,7 +49605,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: default: value: @@ -49461,7 +49670,7 @@ paths: resources: type: object properties: - core: &321 + core: &311 title: Rate Limit type: object properties: @@ -49478,21 +49687,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *321 + rate: *311 required: - rate - resources @@ -49597,14 +49806,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *322 + schema: *312 examples: default-response: summary: Default response @@ -50105,7 +50314,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -50372,10 +50581,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 - '307': &325 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50404,8 +50613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -50427,7 +50636,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *315 '404': *6 '409': *45 x-github: @@ -50451,11 +50660,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &356 + - &346 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50687,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &316 title: Artifact description: An artifact type: object @@ -50573,7 +50782,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &347 value: total_count: 2 artifacts: @@ -50612,7 +50821,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *304 + - *305 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50857,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *316 examples: default: value: @@ -50686,9 +50895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 responses: '204': description: Response @@ -50712,9 +50921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 - name: archive_format in: path required: true @@ -50728,7 +50937,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50960,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: default: value: @@ -50784,11 +50993,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &329 + - &319 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50822,7 +51031,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &320 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51081,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &321 value: total_count: 1 actions_caches: @@ -50884,7 +51093,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51113,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *314 - - *315 + - *304 + - *305 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *319 responses: '200': description: Response content: application/json: - schema: *330 + schema: *320 examples: - default: *331 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *314 - - *315 + - *304 + - *305 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *304 + - *305 + - &322 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51195,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &350 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *304 + - *305 + - *322 responses: '302': description: Response @@ -51363,9 +51572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *304 + - *305 + - *322 requestBody: required: false content: @@ -51387,7 +51596,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51411,8 +51620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Status response @@ -51462,8 +51671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -51497,7 +51706,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51526,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -51545,7 +51754,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &352 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51775,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &353 value: total_count: 2 secrets: @@ -51577,7 +51786,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +51808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -51618,7 +51827,7 @@ paths: type: integer variables: type: array - items: &366 + items: &356 title: Actions Variable type: object properties: @@ -51652,7 +51861,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &357 value: total_count: 2 variables: @@ -51665,7 +51874,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +51894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -51695,12 +51904,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &325 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *114 + selected_actions_url: *324 + sha_pinning_required: *115 required: - enabled examples: @@ -51728,8 +51937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51740,9 +51949,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *325 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -51772,14 +51981,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &336 + schema: &326 type: object properties: access_level: @@ -51796,7 +52005,7 @@ paths: required: - access_level examples: - default: &337 + default: &327 value: access_level: organization x-github: @@ -51820,15 +52029,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *336 + schema: *326 examples: - default: *337 + default: *327 responses: '204': description: Response @@ -51852,14 +52061,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default: value: @@ -51883,8 +52092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52103,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *329 examples: default: summary: Set retention days @@ -51918,16 +52127,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *118 + schema: *116 examples: - default: *340 + default: *330 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51957,7 +52166,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52190,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *331 examples: - default: *119 + default: *117 '403': *27 '404': *6 x-github: @@ -52010,15 +52219,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *342 + schema: *332 examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52251,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *121 + schema: *119 examples: - default: *122 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -52079,9 +52288,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52312,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *333 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Success response @@ -52145,9 +52354,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *334 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52383,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -52193,11 +52402,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -52228,9 +52437,9 @@ paths: application/json: schema: type: array - items: *345 + items: *335 examples: - default: *346 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -52296,7 +52505,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *337 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52536,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *348 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52573,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *349 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: *350 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: '204': description: Response @@ -52454,11 +52663,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: - '200': *137 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52506,7 +52715,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52530,9 +52739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52557,7 +52766,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52581,11 +52790,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: - '200': *351 + '200': *341 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52821,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 - - *352 + - *304 + - *305 + - *130 + - *342 responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52643,9 +52852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *304 + - *305 + - &360 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52653,7 +52862,7 @@ paths: required: false schema: type: string - - &371 + - &361 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52870,7 @@ paths: required: false schema: type: string - - &372 + - &362 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +52879,7 @@ paths: required: false schema: type: string - - &373 + - &363 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52697,7 +52906,7 @@ paths: - pending - *17 - *19 - - &374 + - &364 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52706,7 +52915,7 @@ paths: schema: type: string format: date-time - - &353 + - &343 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52924,13 @@ paths: schema: type: boolean default: false - - &375 + - &365 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &366 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52953,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &344 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53070,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53131,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &388 title: Simple Commit description: A commit. type: object @@ -52996,8 +53205,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -53037,7 +53246,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &367 value: total_count: 1 workflow_runs: @@ -53251,7 +53460,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53482,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *304 + - *305 + - &345 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: &358 + default: &348 value: id: 30433642 name: Build @@ -53531,9 +53740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response @@ -53556,9 +53765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -53686,15 +53895,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -53721,12 +53930,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - *17 - *19 - - *356 + - *346 responses: '200': description: Response @@ -53742,11 +53951,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *316 examples: - default: *357 + default: *347 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53977,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *304 + - *305 + - *345 + - &349 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: *358 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *304 + - *305 + - *345 + - *349 - *17 - *19 responses: @@ -53830,9 +54039,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: &361 + default: &351 value: total_count: 1 jobs: @@ -53921,7 +54130,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *304 + - *305 + - *345 + - *349 responses: '302': description: Response @@ -53976,15 +54185,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54011,9 +54220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54080,15 +54289,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54115,9 +54324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -54147,11 +54356,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: *361 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '302': description: Response @@ -54203,14 +54412,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54303,7 +54512,7 @@ paths: items: type: object properties: - type: &472 + type: &462 type: string description: The type of reviewer. enum: @@ -54314,7 +54523,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *163 required: - environment - wait_timer @@ -54389,9 +54598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54441,7 +54650,7 @@ paths: application/json: schema: type: array - items: &467 + items: &457 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54762,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &458 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54633,7 +54842,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54656,9 +54865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54680,7 +54889,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54712,9 +54921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54851,8 +55060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -54870,11 +55079,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &485 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -54997,7 +55206,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55023,9 +55232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -55050,9 +55259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -55069,11 +55278,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -55122,7 +55331,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55147,17 +55356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: &486 + default: &476 value: name: USERNAME value: octocat @@ -55183,9 +55392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 requestBody: required: true content: @@ -55227,9 +55436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '204': description: Response @@ -55254,8 +55463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55273,7 +55482,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &358 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55577,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +55600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *304 + - *305 + - &359 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55617,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *358 examples: default: value: @@ -55441,9 +55650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55468,9 +55677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55521,9 +55730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55550,19 +55759,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 - - *369 - - *370 - - *371 - - *372 - - *373 + - *304 + - *305 + - *359 + - *360 + - *361 + - *362 + - *363 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *364 + - *343 + - *365 + - *366 responses: '200': description: Response @@ -55578,11 +55787,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *344 examples: - default: *377 + default: *367 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '200': description: Response @@ -55675,8 +55884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *304 + - *305 - *46 - *17 - *38 @@ -55825,7 +56034,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55857,9 +56066,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *304 + - *305 - name: assignee in: path required: true @@ -55919,8 +56128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56032,8 +56241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *38 - *39 @@ -56089,7 +56298,7 @@ paths: initiator: type: string examples: - default: *378 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -56118,7 +56327,7 @@ paths: application/json: schema: type: array - items: &379 + items: &369 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56217,9 +56426,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *369 examples: - default: &380 + default: &370 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *304 + - *305 + - &371 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56473,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *369 examples: - default: *380 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *304 + - *305 + - *371 responses: '204': description: Response @@ -56312,8 +56521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56385,8 +56594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56406,8 +56615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *304 + - *305 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +56654,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &373 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56697,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &376 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56714,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &378 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +56736,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *163 apps: description: The list of apps with review dismissal access. @@ -56559,7 +56768,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *163 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +56798,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &375 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +56861,7 @@ paths: type: string teams: type: array - items: *161 + items: *163 apps: type: array items: @@ -56864,7 +57073,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *304 + - *305 + - &374 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56898,14 +57107,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &384 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &433 title: Commit description: Commit type: object @@ -56944,7 +57153,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &372 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57174,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 message: type: string examples: @@ -56989,7 +57198,7 @@ paths: required: - sha - url - verification: &492 + verification: &482 title: Verification type: object properties: @@ -57025,14 +57234,14 @@ paths: author: oneOf: - *4 - - *140 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *138 type: - 'null' - object @@ -57069,7 +57278,7 @@ paths: type: integer files: type: array - items: &454 + items: &444 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57374,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *373 protection_url: type: string format: uri @@ -57274,7 +57483,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57505,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *383 + schema: *373 examples: default: value: @@ -57498,9 +57707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -57760,7 +57969,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &381 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58050,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57859,7 +58068,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57919,7 +58128,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *375 required_conversation_resolution: type: object properties: @@ -58031,9 +58240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58058,17 +58267,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &387 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58146,17 +58355,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: &389 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58352,9 +58561,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58404,17 +58613,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &390 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *390 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58494,17 +58703,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &392 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58584,9 +58793,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *392 + default: *382 '404': *6 '422': *15 x-github: @@ -58608,9 +58817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58634,9 +58843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -58670,9 +58879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58739,9 +58948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58805,9 +59014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -58873,15 +59082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *385 + schema: *375 examples: default: value: @@ -58972,9 +59181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58997,9 +59206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59009,7 +59218,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &383 value: - id: 1 slug: octoapp @@ -59066,9 +59275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59102,7 +59311,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59159,7 +59368,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59216,7 +59425,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59248,7 +59457,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '404': *6 @@ -59270,9 +59479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59308,7 +59517,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59331,9 +59540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59369,7 +59578,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59392,9 +59601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -59429,7 +59638,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59453,9 +59662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59465,7 +59674,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59524,7 +59733,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59584,7 +59793,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59644,7 +59853,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59695,7 +59904,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *384 examples: default: value: @@ -59811,8 +60020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -60091,7 +60300,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60435,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *304 + - *305 + - &386 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60737,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: &397 + default: &387 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 requestBody: required: true content: @@ -60872,9 +61081,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *397 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 - *17 - *19 responses: @@ -60986,7 +61195,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61215,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -61052,8 +61261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61075,7 +61284,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &389 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61366,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *129 created_at: type: - string @@ -61173,7 +61382,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *388 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61410,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &390 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61701,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61575,7 +61784,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *129 examples: default: value: @@ -61823,9 +62032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *304 + - *305 + - &391 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62046,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62071,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *304 + - *305 + - *391 + - &439 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &440 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62120,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: &451 + default: &441 value: total_count: 1 check_runs: @@ -61995,7 +62204,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62224,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *304 + - *305 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -62050,21 +62259,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - &420 + - &410 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *404 - - &421 + schema: *394 + - &411 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62298,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *395 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *396 responses: '200': description: Response @@ -62106,24 +62315,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 + rule: *400 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62455,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &403 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *304 + - *305 + - &404 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62492,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: &415 + schema: &405 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 rule: type: object properties: @@ -62368,8 +62577,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62674,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -62502,8 +62711,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *398 + dismissed_comment: *399 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62731,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -62598,14 +62807,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &409 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62834,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 responses: '200': description: Response content: application/json: - schema: &416 + schema: &406 type: object properties: status: @@ -62660,13 +62869,13 @@ paths: - description - started_at examples: - default: &417 + default: &407 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &408 description: Bad Request content: application/json: @@ -62677,9 +62886,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62911,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 responses: '200': description: OK content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 '202': description: Accepted content: application/json: - schema: *416 + schema: *406 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *408 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +62943,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: false content: @@ -62804,12 +63013,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *408 + '403': *409 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63038,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 - *19 - *17 - - *420 - - *421 + - *410 + - *411 responses: '200': description: Response @@ -62843,7 +63052,7 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: default: value: @@ -62882,9 +63091,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63125,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - *421 + - *411 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *404 + schema: *394 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &414 type: string description: An identifier for the upload. examples: @@ -62956,23 +63165,23 @@ paths: application/json: schema: type: array - items: &425 + items: &415 type: object properties: - ref: *404 - commit_sha: &433 + ref: *394 + commit_sha: &423 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *412 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *413 error: type: string examples: @@ -62997,8 +63206,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *414 + tool: *401 deletable: type: boolean warning: @@ -63060,9 +63269,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63319,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: response: summary: application/json response @@ -63164,14 +63373,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *403 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63517,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -63339,7 +63548,7 @@ paths: application/json: schema: type: array - items: &426 + items: &416 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63660,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63702,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *416 examples: default: value: @@ -63525,11 +63734,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &456 + '302': &446 description: Found - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63769,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -63598,7 +63807,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &417 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63886,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &421 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63896,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *417 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63944,7 @@ paths: items: type: object properties: - repository: &428 + repository: &418 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63986,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &422 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64018,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &419 type: object properties: repository_count: @@ -63824,7 +64033,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *428 + items: *418 required: - repository_count - repositories @@ -63847,8 +64056,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *419 + over_limit_repos: *419 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64073,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &420 summary: Default response value: id: 1 @@ -64016,17 +64225,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *420 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *420 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64269,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *421 examples: - default: *430 + default: *420 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *314 + - *304 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64329,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *422 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64433,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -64339,9 +64548,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -64430,7 +64639,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -64455,7 +64664,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *409 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64678,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -64535,7 +64744,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *423 ref: type: string description: |- @@ -64595,7 +64804,7 @@ paths: schema: type: object properties: - id: *424 + id: *414 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64818,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *419 + '403': *409 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *304 + - *305 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64890,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *413 + '403': *403 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -64763,7 +64972,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *156 + '204': *159 '304': *35 '403': *27 '404': *6 @@ -64788,8 +64997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64917,8 +65126,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65210,7 +65419,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -65299,7 +65508,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65307,12 +65516,12 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65545,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65377,7 +65586,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65648,9 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: &637 + default: &635 value: total_count: 2 machines: @@ -65458,7 +65667,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +65778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65618,7 +65827,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -65658,7 +65867,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &429 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65888,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65911,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *437 + schema: *427 examples: - default: *438 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65940,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *429 examples: - default: *440 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -65791,7 +66000,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -65815,9 +66024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -65845,8 +66054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *304 + - *305 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66093,7 @@ paths: application/json: schema: type: array - items: &441 + items: &431 title: Collaborator description: Collaborator type: object @@ -66052,7 +66261,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 requestBody: required: false content: @@ -66153,7 +66362,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &495 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66374,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *129 invitee: anyOf: - type: 'null' @@ -66341,7 +66550,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66645,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *431 required: - permission - role_name @@ -66490,8 +66699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -66501,7 +66710,7 @@ paths: application/json: schema: type: array - items: &442 + items: &432 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66751,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +66768,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &435 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +66802,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +66827,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: &446 + default: &436 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +66894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66709,7 +66918,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: default: value: @@ -66760,9 +66969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -66783,9 +66992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66811,11 +67020,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66868,16 +67077,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67108,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -66951,8 +67160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67217,9 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: &551 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67289,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *304 + - *305 + - &434 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67190,11 +67399,11 @@ paths: application/json: schema: type: array - items: *442 + items: *432 examples: - default: *445 + default: *435 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 requestBody: required: true content: @@ -67257,9 +67466,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: *446 + default: *436 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67299,9 +67508,9 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: &543 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67989,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68047,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - - &448 + - &438 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67857,9 +68066,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: - default: &531 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68154,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68181,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *304 + - *305 + - *438 + - *439 + - *440 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68219,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: *451 + default: *441 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68256,7 @@ paths: schema: type: integer example: 1 - - *449 + - *439 - *17 - *19 responses: @@ -68065,7 +68274,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *389 examples: default: value: @@ -68240,7 +68449,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68338,7 +68547,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *129 commit_url: type: string format: uri @@ -68469,9 +68678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68481,7 +68690,7 @@ paths: application/json: schema: type: array - items: &608 + items: &606 title: Status description: The status of a commit. type: object @@ -68561,8 +68770,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -68624,11 +68833,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *442 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &443 title: Community Health File type: object properties: @@ -68644,23 +68853,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *443 readme: anyOf: - type: 'null' - - *453 + - *443 issue_template: anyOf: - type: 'null' - - *453 + - *443 pull_request_template: anyOf: - type: 'null' - - *453 + - *443 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +68998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - name: basehead @@ -68838,8 +69047,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *433 + merge_base_commit: *433 status: type: string enum: @@ -68863,10 +69072,10 @@ paths: - 6 commits: type: array - items: *443 + items: *433 files: type: array - items: *454 + items: *444 required: - url - html_url @@ -69109,8 +69318,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69306,7 +69515,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &445 summary: Response if content is a file value: type: file @@ -69443,7 +69652,7 @@ paths: - size - type - url - - &556 + - &546 title: Content File description: Content File type: object @@ -69661,7 +69870,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *445 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69939,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *446 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69849,7 +70058,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &447 title: File Commit description: File Commit type: object @@ -70005,7 +70214,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: example-for-creating-a-file: value: @@ -70059,7 +70268,7 @@ paths: schema: oneOf: - *3 - - &487 + - &477 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70289,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &598 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -70174,7 +70383,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: default: value: @@ -70209,7 +70418,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *304 + - *305 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70540,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70563,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 + - *304 + - *305 - *164 - *165 + - *166 + - *167 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *166 - - *458 - - *167 - *168 + - *448 + - *169 + - *170 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -70389,8 +70590,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70597,11 @@ paths: application/json: schema: type: array - items: &461 + items: &451 type: object description: A Dependabot alert. properties: - number: *52 + number: *145 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70647,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *449 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *148 + html_url: *149 + created_at: *146 + updated_at: *147 + dismissed_at: *151 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +70677,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *150 + auto_dismissed_at: *450 required: - number - state @@ -70709,9 +70908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *304 + - *305 + - &452 name: alert_number in: path description: |- @@ -70720,13 +70919,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -70839,9 +71038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *304 + - *305 + - *452 requestBody: required: true content: @@ -70886,7 +71085,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -71015,8 +71214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -71034,7 +71233,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &455 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71265,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71287,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *463 + schema: *453 examples: - default: *464 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71316,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *465 + schema: *455 examples: default: value: @@ -71151,9 +71350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -71181,7 +71380,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -71205,9 +71404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -71229,8 +71428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71380,7 +71579,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +71603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -71642,7 +71841,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -71749,7 +71948,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &456 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71987,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *456 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72001,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *456 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72176,11 @@ paths: application/json: schema: type: array - items: *467 + items: *457 examples: - default: *468 + default: *458 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72128,7 +72327,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: simple-example: summary: Simple example @@ -72201,9 +72400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *304 + - *305 + - &459 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72414,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: default: value: @@ -72280,9 +72479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 responses: '204': description: Response @@ -72304,9 +72503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - *17 - *19 responses: @@ -72316,7 +72515,7 @@ paths: application/json: schema: type: array - items: &470 + items: &460 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72659,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +72679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 requestBody: required: true content: @@ -72557,9 +72756,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: &471 + default: &461 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - name: status_id in: path required: true @@ -72628,9 +72827,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: *471 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72713,8 +72912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -72732,7 +72931,7 @@ paths: - 5 environments: type: array - items: &473 + items: &463 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72993,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &465 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73035,11 @@ paths: items: type: object properties: - type: *472 + type: *462 reviewer: anyOf: - *4 - - *161 + - *163 required: - id - node_id @@ -72863,7 +73062,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &466 type: - object - 'null' @@ -72980,9 +73179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *304 + - *305 + - &464 name: environment_name in: path required: true @@ -72995,9 +73194,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: &477 + default: &467 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: false content: @@ -73093,7 +73292,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *465 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73311,14 @@ paths: items: type: object properties: - type: *472 + type: *462 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *466 additionalProperties: false examples: default: @@ -73139,9 +73338,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: *477 + default: *467 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '204': description: Default response @@ -73192,9 +73391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73213,7 +73412,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &468 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -73324,9 +73523,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - example-wildcard: &479 + example-wildcard: &469 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73567,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *304 + - *305 + - *464 + - &470 name: branch_policy_id in: path required: true @@ -73383,9 +73582,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *304 + - *305 + - *464 + - *470 requestBody: required: true content: @@ -73436,9 +73635,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *304 + - *305 + - *464 + - *470 responses: '204': description: Response @@ -73485,9 +73684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 responses: '200': description: List of deployment protection rules @@ -73504,7 +73703,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &471 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73725,7 @@ paths: for the environment. examples: - true - app: &482 + app: &472 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 requestBody: content: application/json: @@ -73652,9 +73851,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *471 examples: - default: &483 + default: &473 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 - *19 - *17 responses: @@ -73711,7 +73910,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *472 examples: default: value: @@ -73746,10 +73945,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *304 + - *305 + - *464 + - &474 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73960,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *471 examples: - default: *483 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73983,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *464 + - *305 + - *304 - *474 - - *315 - - *314 - - *484 responses: '204': description: Response @@ -73813,9 +74012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73833,11 +74032,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74059,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74091,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 requestBody: required: true content: @@ -73959,7 +74158,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -73985,10 +74184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '204': description: Default response @@ -74013,10 +74212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *304 + - *305 + - *464 + - *323 - *19 responses: '200': @@ -74033,11 +74232,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -74087,7 +74286,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -74112,18 +74311,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *304 + - *305 + - *464 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: *486 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 requestBody: required: true content: @@ -74189,10 +74388,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 responses: '204': description: Response @@ -74214,8 +74413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -74225,7 +74424,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *304 + - *305 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74505,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -74419,7 +74618,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -74477,9 +74676,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74560,8 +74759,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *304 + - *305 - name: file_sha in: path required: true @@ -74687,8 +74886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74797,7 +74996,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &478 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75223,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 responses: '200': description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -75088,9 +75287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *304 + - *305 + - &479 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75107,7 +75306,7 @@ paths: application/json: schema: type: array - items: &490 + items: &480 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75360,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '200': description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: &491 + default: &481 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75252,9 +75451,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 requestBody: required: true content: @@ -75311,9 +75510,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 '422': *15 '409': *45 x-github: @@ -75331,9 +75530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '204': description: Response @@ -75388,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75456,7 +75655,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &483 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75711,7 @@ paths: - sha - type - url - verification: *492 + verification: *482 required: - sha - url @@ -75522,7 +75721,7 @@ paths: - tag - message examples: - default: &494 + default: &484 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_sha in: path required: true @@ -75607,9 +75806,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *483 examples: - default: *494 + default: *484 '404': *6 '409': *45 x-github: @@ -75633,8 +75832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75708,7 +75907,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &485 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *304 + - *305 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76033,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *485 examples: default-response: summary: Default response @@ -75893,8 +76092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -75904,7 +76103,7 @@ paths: application/json: schema: type: array - items: &496 + items: &486 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76166,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &716 title: Hook Response type: object properties: @@ -76025,7 +76224,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76098,9 +76297,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: &497 + default: &487 value: type: Repository id: 12345678 @@ -76148,17 +76347,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -76178,8 +76377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: true @@ -76225,9 +76424,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '422': *15 '404': *6 x-github: @@ -76248,8 +76447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76274,8 +76473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': @@ -76303,8 +76502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: false @@ -76349,8 +76548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *17 - *177 @@ -76382,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76412,8 +76611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76437,8 +76636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76464,8 +76663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76489,8 +76688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +76737,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +76758,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +76816,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &498 + schema: &488 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76930,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &491 value: vcs: subversion use_lfs: true @@ -76747,7 +76946,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &499 + '503': &489 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -76825,7 +77024,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: default: value: @@ -76850,7 +77049,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76931,7 +77130,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: example-1: summary: Example 1 @@ -76979,7 +77178,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77201,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *304 + - *305 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77248,7 @@ paths: application/json: schema: type: array - items: &500 + items: &490 title: Porter Author description: Porter Author type: object @@ -77103,7 +77302,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *304 + - *305 - name: author_id in: path required: true @@ -77159,7 +77358,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *490 examples: default: value: @@ -77172,7 +77371,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77238,7 +77437,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -77294,11 +77493,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: - default: *501 + default: *491 '422': *15 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77330,8 +77529,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *492 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77365,7 +77564,7 @@ paths: properties: {} additionalProperties: false examples: - default: &504 + default: &494 value: limit: collaborators_only origin: repository @@ -77390,13 +77589,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *503 + schema: *493 examples: default: summary: Example request body @@ -77410,7 +77609,7 @@ paths: application/json: schema: *194 examples: - default: *504 + default: *494 '409': description: Response x-github: @@ -77432,8 +77631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -77456,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -77467,9 +77666,9 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: &652 + default: &649 value: - id: 1 repository: @@ -77583,7 +77782,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,8 +77799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 requestBody: required: false @@ -77631,7 +77830,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *495 examples: default: value: @@ -77762,8 +77961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 responses: '204': @@ -77795,8 +77994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *304 + - *305 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77857,7 +78056,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78066,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &502 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78215,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '422': *15 '404': *6 x-github: @@ -78046,8 +78245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -78137,9 +78336,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &499 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78492,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *304 + - *305 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78534,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78544,9 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: &511 + default: &501 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78577,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +78604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: &507 + default: &497 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78493,9 +78692,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -78535,9 +78734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78563,11 +78762,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78620,16 +78819,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -78674,8 +78873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -78685,7 +78884,7 @@ paths: application/json: schema: type: array - items: &508 + items: &498 title: Issue Event description: Issue Event type: object @@ -78732,7 +78931,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +78964,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *163 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79031,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79205,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *304 + - *305 - name: event_id in: path required: true @@ -79036,7 +79235,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *498 examples: default: value: @@ -79229,7 +79428,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *310 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *304 + - *305 + - &500 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79476,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79428,15 +79627,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79482,9 +79681,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: content: application/json: @@ -79527,9 +79726,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: assignee in: path required: true @@ -79593,10 +79792,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *304 + - *305 + - *500 + - *72 - *17 - *19 responses: @@ -79606,13 +79805,13 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: *511 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79665,16 +79864,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79702,9 +79901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79714,14 +79913,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79773,17 +79972,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *313 '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79814,9 +80013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80027,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79874,14 +80073,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79914,7 +80113,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &504 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &505 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80290,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &506 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &507 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &508 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &509 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80460,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80473,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &510 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80502,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80515,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &511 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80571,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &512 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80616,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &513 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80677,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &514 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80738,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &515 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &516 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80891,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -80722,9 +80921,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &503 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80940,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80822,12 +81021,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80906,12 +81105,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81127,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: name in: path required: true @@ -80970,7 +81169,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81180,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -81034,7 +81233,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *310 '404': *6 '422': *15 x-github: @@ -81052,9 +81251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response @@ -81084,20 +81283,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81142,13 +81341,13 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81200,16 +81399,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81430,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *304 + - *305 + - *500 + - *300 responses: '204': description: Response @@ -81263,9 +81462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81287,9 +81486,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81334,13 +81533,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81397,16 +81596,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -81426,9 +81625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81459,13 +81658,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81500,19 +81699,19 @@ paths: description: Timeline Event type: object anyOf: + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 - - *517 - - *518 - - *519 - - *520 - - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +81759,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +81795,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82017,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82040,7 @@ paths: type: string comments: type: array - items: &545 + items: &535 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82145,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82240,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82278,7 @@ paths: type: string comments: type: array - items: *442 + items: *432 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82551,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82382,7 +82581,7 @@ paths: application/json: schema: type: array - items: &527 + items: &517 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82633,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82487,9 +82686,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *304 + - *305 + - &519 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82736,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *304 + - *305 + - *519 responses: '204': description: Response @@ -82579,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82590,11 +82789,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82650,9 +82849,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &520 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82696,9 +82895,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82755,7 +82954,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +82980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82808,8 +83007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -82848,9 +83047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *304 + - *305 + - *410 responses: '200': description: Response @@ -82916,7 +83115,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83063,8 +83262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83098,9 +83297,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *433 examples: - default: *531 + default: *521 '204': description: Response when already merged '404': @@ -83125,8 +83324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83206,7 +83405,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83266,7 +83465,7 @@ paths: application/json: schema: *238 examples: - default: &532 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *304 + - *305 + - &523 name: milestone_number description: The number that identifies the milestone. in: path @@ -83341,7 +83540,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 requestBody: required: false content: @@ -83400,7 +83599,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 responses: '204': description: Response @@ -83439,9 +83638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 - *17 - *19 responses: @@ -83451,11 +83650,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83671,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *304 + - *305 + - *524 + - *525 + - *72 + - *526 - *17 - *19 responses: @@ -83487,11 +83686,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *527 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -83572,14 +83771,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &538 + schema: &528 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83922,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83820,9 +84019,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *528 examples: - default: *539 + default: *529 '422': *15 '409': *45 x-github: @@ -83845,8 +84044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83946,8 +84145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -83973,8 +84172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -83984,7 +84183,7 @@ paths: application/json: schema: type: array - items: &540 + items: &530 title: Page Build description: Page Build type: object @@ -84057,7 +84256,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response @@ -84124,16 +84323,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: &541 + default: &531 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 - name: build_id in: path required: true @@ -84193,9 +84392,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: *541 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84324,9 +84523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *304 + - *305 + - &532 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84583,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *304 + - *305 + - *532 responses: - '204': *156 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -84682,7 +84881,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -84709,8 +84908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +84946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +84968,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +84992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Indicates the state of the projects to return. in: query @@ -84851,11 +85050,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84907,11 +85106,11 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -84974,8 +85173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85037,8 +85236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85297,11 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: *543 + default: *533 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85200,7 +85399,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &537 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85392,7 +85591,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85608,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85439,8 +85638,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *534 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85741,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: sort in: query required: false @@ -86089,7 +86288,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86298,9 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: &550 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86352,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: &546 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86287,9 +86486,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: *546 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -86328,9 +86527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86356,11 +86555,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86413,16 +86612,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -86490,9 +86689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *304 + - *305 + - &539 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86704,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '304': *35 '404': *6 '406': @@ -86515,8 +86714,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -86586,9 +86785,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '422': *15 '403': *27 x-github: @@ -86610,9 +86809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86675,7 +86874,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86683,11 +86882,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *304 + - *305 + - *539 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86925,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +86935,11 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: *550 + default: *540 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86879,7 +87078,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87166,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *304 + - *305 + - *539 + - *81 requestBody: required: true content: @@ -86992,7 +87191,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: default: value: @@ -87078,9 +87277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87090,11 +87289,11 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: *551 + default: *541 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87134,7 +87333,7 @@ paths: application/json: schema: type: array - items: *454 + items: *444 examples: default: value: @@ -87150,10 +87349,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87311,9 +87510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 responses: '200': description: Response @@ -87329,7 +87528,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 required: - users - teams @@ -87370,7 +87569,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +87587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87427,7 +87626,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -87963,9 +88162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -87999,7 +88198,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -88504,9 +88703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -88516,7 +88715,7 @@ paths: application/json: schema: type: array - items: &552 + items: &542 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88789,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +88838,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -88764,9 +88963,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &554 + default: &544 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *304 + - *305 + - *539 + - &543 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89043,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &555 + default: &545 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89104,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -88931,7 +89130,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -88993,18 +89192,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 responses: '200': description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *554 + default: *544 '422': *7 '404': *6 x-github: @@ -89031,10 +89230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 - *17 - *19 responses: @@ -89128,7 +89327,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -89143,7 +89342,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89462,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89324,7 +89523,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -89387,10 +89586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89425,9 +89624,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *555 + default: *545 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -89515,8 +89714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89728,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: &557 + default: &547 value: type: file encoding: base64 @@ -89573,8 +89772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *304 + - *305 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89793,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: *557 + default: *547 '404': *6 '422': *15 x-github: @@ -89618,8 +89817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -89629,7 +89828,7 @@ paths: application/json: schema: type: array - items: *558 + items: *548 examples: default: value: @@ -89703,7 +89902,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -89800,9 +89999,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: &562 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *304 + - *305 + - &550 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90120,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: &561 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89958,7 +90157,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 requestBody: required: false content: @@ -90005,9 +90204,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: *561 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 responses: '204': description: Response @@ -90049,8 +90248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -90136,16 +90335,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *304 + - *305 - name: tag description: tag parameter in: path @@ -90176,9 +90375,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *304 + - *305 + - &553 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90415,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '401': description: Unauthorized x-github: @@ -90236,9 +90435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: false content: @@ -90302,9 +90501,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 responses: '204': description: Response @@ -90347,9 +90546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - *17 - *19 responses: @@ -90359,7 +90558,7 @@ paths: application/json: schema: type: array - items: *559 + items: *549 examples: default: value: @@ -90396,7 +90595,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90639,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - name: name in: query required: true @@ -90468,7 +90667,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *549 examples: response-for-successful-upload: value: @@ -90523,9 +90722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90549,11 +90748,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: true content: @@ -90604,16 +90803,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *304 + - *305 + - *553 + - *300 responses: '204': description: Response @@ -90662,9 +90861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 - *17 - *19 responses: @@ -90681,7 +90880,7 @@ paths: oneOf: - allOf: - *256 - - &564 + - &554 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90702,67 +90901,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *257 - - *564 + - *554 - allOf: - *258 - - *564 + - *554 - allOf: - *259 - - *564 + - *554 - allOf: - - *565 - - *564 + - *555 + - *554 - allOf: - *260 - - *564 + - *554 - allOf: - *261 - - *564 + - *554 - allOf: - *262 - - *564 + - *554 - allOf: - *263 - - *564 + - *554 - allOf: - *264 - - *564 + - *554 - allOf: - *265 - - *564 + - *554 - allOf: - *266 - - *564 + - *554 - allOf: - *267 - - *564 + - *554 - allOf: - *268 - - *564 + - *554 - allOf: - *269 - - *564 + - *554 - allOf: - *270 - - *564 + - *554 - allOf: - *271 - - *564 + - *554 - allOf: - *272 - - *564 + - *554 - allOf: - *273 - - *564 + - *554 - allOf: - *274 - - *564 + - *554 - allOf: - *275 - - *564 + - *554 - allOf: - - *566 - - *564 + - *556 + - *554 examples: default: value: @@ -90801,8 +91000,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: includes_parents @@ -90813,7 +91012,7 @@ paths: schema: type: boolean default: true - - *567 + - *557 responses: '200': description: Response @@ -90852,7 +91051,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91067,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 requestBody: description: Request body required: true @@ -90898,7 +91097,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *558 required: - name - enforcement @@ -90931,7 +91130,7 @@ paths: application/json: schema: *276 examples: - default: &578 + default: &568 value: id: 42 name: super cool ruleset @@ -90964,7 +91163,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91177,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *304 + - *305 + - *559 + - *560 + - *561 + - *562 - *17 - *19 responses: @@ -90991,11 +91190,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *563 examples: - default: *574 + default: *564 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91213,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *304 + - *305 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *577 + default: *567 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91251,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91075,9 +91274,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91292,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91128,7 +91327,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *558 examples: default: value: @@ -91158,9 +91357,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91375,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91387,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: ruleset_id @@ -91219,9 +91418,9 @@ paths: type: array items: *279 examples: - default: *579 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91456,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: default: value: @@ -91290,7 +91489,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91511,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *304 + - *305 + - *571 + - *572 + - *573 + - *574 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *575 + - *576 + - *577 + - *578 + - *579 + - *580 responses: '200': description: Response @@ -91334,24 +91533,24 @@ paths: application/json: schema: type: array - items: &586 + items: &584 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolved_at: type: - string @@ -91445,7 +91644,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *583 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91767,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91789,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *304 + - *305 + - *404 + - *580 responses: '200': description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91630,7 +91829,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -91661,8 +91860,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91880,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91734,7 +91933,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 - *19 - *17 responses: @@ -91769,7 +91968,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &736 type: object properties: type: @@ -91796,6 +91995,8 @@ paths: - commit details: oneOf: + - *585 + - *586 - *587 - *588 - *589 @@ -91807,8 +92008,6 @@ paths: - *595 - *596 - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +92067,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -91903,14 +92102,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &599 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *598 required: - reason - placeholder_id @@ -91927,7 +92126,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *599 expire_at: type: - string @@ -91951,7 +92150,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92162,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92173,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92189,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &600 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92217,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *600 backfill_scans: type: array - items: *602 + items: *600 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *600 - type: object properties: pattern_name: @@ -92093,8 +92295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *304 + - *305 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92340,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 '400': *14 '404': *6 x-github: @@ -92163,8 +92365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92244,7 +92446,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -92334,9 +92536,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: &606 + default: &604 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92683,7 +92885,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -92830,17 +93032,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 + default: *604 '403': *27 '404': *6 x-github: @@ -92864,9 +93066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 requestBody: required: true content: @@ -92946,7 +93148,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -93037,17 +93239,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 - add_credit: *606 + default: *604 + add_credit: *604 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '202': *37 '400': *14 @@ -93107,17 +93309,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '202': description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93218,7 +93420,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93452,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93465,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93335,7 +93537,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93435,7 +93637,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +93659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93825,7 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: default: value: @@ -93636,7 +93838,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +93858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *304 + - *305 - name: sha in: path required: true @@ -93713,7 +93915,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -93767,8 +93969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93780,9 +93982,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94002,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &607 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -93907,7 +94109,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -93934,8 +94136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -93955,8 +94157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94015,7 +94217,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94047,7 +94249,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 title: Tag protection description: Tag protection type: object @@ -94104,8 +94306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94128,7 +94330,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -94159,8 +94361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94399,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -94234,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94245,11 +94447,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 responses: @@ -94276,7 +94478,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94490,7 @@ paths: required: - names examples: - default: &612 + default: &610 value: names: - octocat @@ -94311,8 +94513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94343,9 +94545,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '422': *7 x-github: @@ -94366,9 +94568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *304 + - *305 + - &611 name: per description: The time frame to display results for. in: query @@ -94399,7 +94601,7 @@ paths: - 128 clones: type: array - items: &614 + items: &612 title: Traffic type: object properties: @@ -94486,8 +94688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94581,8 +94783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94645,9 +94847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *304 + - *305 + - *611 responses: '200': description: Response @@ -94668,7 +94870,7 @@ paths: - 3782 views: type: array - items: *614 + items: *612 required: - uniques - count @@ -94745,8 +94947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94782,7 +94984,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *129 examples: default: value: @@ -95020,8 +95222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95067,8 +95269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95094,8 +95296,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -95187,9 +95389,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95432,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -95419,7 +95621,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *129 score: type: number file_size: @@ -95438,7 +95640,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &613 title: Search Result Text Matches type: array items: @@ -95553,7 +95755,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +95803,7 @@ paths: enum: - author-date - committer-date - - &616 + - &614 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -95670,7 +95872,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 comment_count: type: integer message: @@ -95689,7 +95891,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *482 required: - author - committer @@ -95704,7 +95906,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 parents: type: array items: @@ -95716,12 +95918,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *129 score: type: number node_id: type: string - text_matches: *615 + text_matches: *613 required: - sha - node_id @@ -95913,7 +96115,7 @@ paths: - interactions - created - updated - - *616 + - *614 - *17 - *19 - name: advanced_search @@ -96010,11 +96212,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: type: string state_reason: @@ -96042,7 +96244,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *613 pull_request: type: object properties: @@ -96080,10 +96282,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96096,7 +96298,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96414,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96467,7 @@ paths: enum: - created - updated - - *616 + - *614 - *17 - *19 responses: @@ -96310,7 +96512,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *613 required: - id - node_id @@ -96395,7 +96597,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *614 - *17 - *19 responses: @@ -96614,7 +96816,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +96834,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *613 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97037,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97142,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *613 related: type: - array @@ -97133,7 +97335,7 @@ paths: - followers - repositories - joined - - *616 + - *614 - *17 - *19 responses: @@ -97243,7 +97445,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *613 blog: type: - string @@ -97305,7 +97507,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &618 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97539,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97430,16 +97632,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *618 responses: '204': description: Response @@ -97498,7 +97700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *618 - *46 - *17 - *19 @@ -97509,11 +97711,11 @@ paths: application/json: schema: type: array - items: *301 + items: *291 examples: - default: *621 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97574,9 +97776,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97805,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '200': description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: false content: @@ -97661,9 +97863,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '204': description: Response @@ -97718,8 +97920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *618 + - *293 - *46 - *17 - *19 @@ -97730,11 +97932,11 @@ paths: application/json: schema: type: array - items: *304 + items: *294 examples: - default: *623 + default: *621 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -97784,9 +97986,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98015,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -97872,9 +98074,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *624 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '204': description: Response @@ -97930,9 +98132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97958,11 +98160,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -98023,9 +98225,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -98078,11 +98280,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -98142,9 +98344,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98182,7 +98384,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *618 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98431,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98334,8 +98536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98371,16 +98573,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *623 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 requestBody: required: false content: @@ -98439,9 +98641,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *624 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98504,7 +98706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98514,11 +98716,11 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *627 + default: *625 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98744,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '200': description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: *628 + default: *626 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *618 + - *303 requestBody: required: false content: @@ -98643,8 +98845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '204': description: Response @@ -98671,7 +98873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98681,11 +98883,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *627 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 requestBody: required: false content: @@ -98924,9 +99126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 responses: '204': description: Response @@ -98951,7 +99153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98961,11 +99163,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *628 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99198,7 @@ paths: application/json: schema: oneOf: - - &632 + - &630 title: Private User description: Private User type: object @@ -99246,7 +99448,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *629 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99608,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -99485,7 +99687,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +99738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +99762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99613,7 +99815,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99752,7 +99954,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99760,11 +99962,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100006,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &631 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100048,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100120,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -99954,7 +100156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 requestBody: required: true content: @@ -99999,7 +100201,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -100027,7 +100229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '204': description: Response @@ -100052,7 +100254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 responses: '200': description: Response @@ -100068,13 +100270,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *634 + default: *632 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 requestBody: required: true content: @@ -100127,7 +100329,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100161,7 +100363,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100194,7 +100396,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100222,9 +100424,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100280,7 +100482,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 @@ -100306,7 +100508,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100337,7 +100539,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100592,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &634 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100600,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100435,9 +100637,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -100474,11 +100676,11 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: *637 + default: *635 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100561,11 +100763,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *312 machine: anyOf: - type: 'null' - - *435 + - *425 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101370,9 +101572,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101410,8 +101612,8 @@ paths: application/json: schema: *204 examples: - default: *434 - '500': *100 + default: *424 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101442,7 +101644,7 @@ paths: type: array items: *216 examples: - default: &649 + default: &646 value: - id: 197 name: hello_docker @@ -101543,7 +101745,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Email description: Email type: object @@ -101613,16 +101815,16 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: &651 + default: &648 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101894,7 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: default: value: @@ -101804,9 +102006,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102039,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102152,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102297,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &662 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102329,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102382,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: &640 + default: &638 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &639 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102453,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: *640 + default: *638 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *639 responses: '204': description: Response @@ -102419,7 +102621,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102667,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102694,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102518,7 +102720,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102581,7 +102783,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *493 examples: default: value: @@ -102686,7 +102888,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +102898,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102933,7 @@ paths: application/json: schema: type: array - items: &642 + items: &640 title: Key description: Key type: object @@ -102783,7 +102985,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103036,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: &643 + default: &641 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *519 responses: '200': description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: *643 + default: *641 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *519 responses: '204': description: Response @@ -102933,7 +103135,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103203,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103214,7 @@ paths: - account - plan examples: - default: &645 + default: &643 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103247,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103276,11 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *645 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103193,7 +103395,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,7 +103420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response @@ -103282,7 +103484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103528,7 +103730,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104080,7 +104282,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *211 - - *646 + - *644 responses: '204': description: Response @@ -104114,11 +104316,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104353,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104397,7 @@ paths: - docker - nuget - container - - *648 + - *645 - *19 - *17 responses: @@ -104207,8 +104409,8 @@ paths: type: array items: *216 examples: - default: *649 - '400': *650 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104237,7 +104439,7 @@ paths: application/json: schema: *216 examples: - default: &666 + default: &663 value: id: 40201 name: octo-name @@ -104692,11 +104894,11 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: *651 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105007,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &655 summary: Default response value: - id: 1296269 @@ -104928,7 +105130,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105327,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105367,11 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: *652 + default: *649 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105246,7 +105448,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Social account description: Social media account type: object @@ -105263,12 +105465,12 @@ paths: - provider - url examples: - default: &654 + default: &651 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105528,9 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105618,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105638,7 @@ paths: - title - created_at examples: - default: &680 + default: &677 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105651,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +105705,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: &656 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &657 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105750,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *657 + - *654 responses: '204': description: Response @@ -105602,7 +105804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &678 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -105625,13 +105827,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &679 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105841,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +105969,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105841,8 +106043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105875,11 +106077,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106116,7 @@ paths: application/json: schema: type: array - items: *299 + items: *289 examples: default: value: @@ -105965,7 +106167,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106202,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: &660 + default-response: &657 summary: Default response value: login: octocat @@ -106038,7 +106240,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &658 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *656 - *17 responses: '200': @@ -106109,7 +106311,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106349,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106379,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106402,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *659 + withPredicateType: *660 responses: '200': description: Response @@ -106255,7 +106457,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +106571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +106609,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106661,12 @@ paths: initiator: type: string examples: - default: *378 + default: *368 '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -106490,7 +106692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106500,7 +106702,7 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 x-github: @@ -106523,7 +106725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +106735,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +106797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +106808,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +106885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +106895,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +106953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +106965,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +106996,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107053,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107086,11 @@ paths: application/json: schema: type: array - items: *639 + items: *637 examples: - default: *665 + default: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107192,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107246,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107276,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107317,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *645 + - *57 - *19 - *17 responses: @@ -107128,10 +107330,10 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 - '400': *650 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107153,7 +107355,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107161,7 +107363,7 @@ paths: application/json: schema: *216 examples: - default: *666 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107184,7 +107386,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '204': description: Response @@ -107218,7 +107420,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - name: token description: package token schema: @@ -107252,7 +107454,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107321,7 +107523,7 @@ paths: - *218 - *219 - *221 - - *62 + - *57 responses: '200': description: Response @@ -107364,7 +107566,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107399,7 +107601,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107426,7 +107628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107483,7 +107685,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +107707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107526,7 +107728,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107547,7 +107749,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *235 - - *62 + - *57 responses: '200': description: Response @@ -107557,7 +107759,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107578,7 +107780,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *235 - - *62 + - *57 - *17 - *38 - *39 @@ -107593,7 +107795,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107614,8 +107816,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *235 - - *667 - - *62 + - *664 + - *57 responses: '200': description: Response @@ -107625,7 +107827,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107647,7 +107849,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *38 - *39 - *17 @@ -107659,8 +107861,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -107668,8 +107872,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -107681,7 +107883,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,7 +107902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 + - *57 - *235 requestBody: required: true @@ -107738,7 +107940,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *665 examples: issue: *241 pull_request: *241 @@ -107762,7 +107964,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *244 - name: fields description: Limit results to specific fields, by their IDs. If not specified, @@ -107785,7 +107987,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107805,7 +108007,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 requestBody: required: true @@ -107906,7 +108108,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 responses: '204': @@ -107934,7 +108136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108146,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108221,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108327,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108353,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108383,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *668 examples: - default: *672 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108400,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108411,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 - - *675 + - *57 + - *99 + - *670 + - *100 + - *671 + - *672 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108469,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108523,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108546,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *673 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108574,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *675 + - *100 + - *676 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108648,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +108677,11 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +108709,11 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *680 + default: *677 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *678 - *46 - *17 - *19 @@ -108543,13 +108748,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *679 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +108781,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108912,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &680 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108981,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &681 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109002,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &682 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109075,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &683 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109104,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +109988,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -109862,11 +110067,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: &684 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110089,11 +110294,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110281,11 +110486,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110369,7 +110574,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110639,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *129 status: type: string enum: @@ -110479,7 +110684,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *685 details_url: type: string examples: @@ -110539,7 +110744,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +110782,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -110973,11 +111178,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -111373,11 +111578,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111987,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -112778,10 +112983,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -113466,10 +113671,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114148,10 +114353,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114320,7 +114525,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114677,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &687 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *680 + installation: *681 + organization: *682 + ref: &688 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -114652,7 +114857,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115098,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -114996,7 +115201,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115386,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115355,7 +115560,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115737,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115640,7 +115845,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116025,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116035,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *683 sender: *4 required: - action @@ -115929,7 +116134,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -116343,10 +116548,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -116427,18 +116632,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *682 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &690 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116653,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -116531,9 +116736,9 @@ webhooks: enum: - created definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116618,9 +116823,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116698,9 +116903,9 @@ webhooks: enum: - promote_to_enterprise definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116778,9 +116983,9 @@ webhooks: enum: - updated definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116857,10 +117062,10 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *680 + installation: *681 + repository: *683 + organization: *682 sender: *4 new_property_values: type: array @@ -116945,18 +117150,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *680 + installation: *681 + organization: *682 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -117040,11 +117245,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117128,11 +117333,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117216,11 +117421,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117302,11 +117507,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117388,11 +117593,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117475,11 +117680,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117561,11 +117766,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117642,9 +117847,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *680 + installation: *681 + key: &691 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117887,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -117760,11 +117965,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + key: *691 + organization: *682 + repository: *683 sender: *4 required: - action @@ -118336,12 +118541,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: &698 + workflow: &695 title: Workflow type: - object @@ -119079,13 +119284,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *457 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *537 + repository: *683 + organization: *682 + installation: *681 sender: *4 responses: '200': @@ -119156,7 +119361,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &692 type: object properties: avatar_url: @@ -119199,11 +119404,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: &693 type: array items: type: object @@ -119284,7 +119489,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &694 type: object properties: conclusion: @@ -120030,18 +120235,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *692 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -120758,13 +120963,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *680 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *681 + organization: *682 + repository: *683 + requestor: &700 title: User type: - object @@ -122707,12 +122912,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123608,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &698 type: object properties: author_association: @@ -123563,11 +123768,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123694,11 +123899,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123781,11 +123986,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123867,7 +124072,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &697 type: object properties: author_association: @@ -124027,11 +124232,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124114,12 +124319,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124214,12 +124419,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124303,11 +124508,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124389,11 +124594,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124493,11 +124698,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124579,10 +124784,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *696 + enterprise: *680 + installation: *681 + label: &699 title: Label type: object properties: @@ -124615,8 +124820,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124699,11 +124904,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124785,11 +124990,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124871,11 +125076,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124960,16 +125165,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *696 + new_repository: *683 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125052,10 +125257,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *696 + old_answer: *698 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125137,12 +125342,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125225,11 +125430,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125311,11 +125516,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125388,7 +125593,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *680 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126271,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - forkee @@ -126214,9 +126419,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pages: description: The pages that were updated. type: array @@ -126254,7 +126459,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *683 sender: *4 required: - pages @@ -126330,10 +126535,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: &704 + organization: *682 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126564,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *683 + requester: *700 sender: *4 required: - action @@ -126435,11 +126640,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126516,11 +126721,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126597,10 +126802,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: &705 + organization: *682 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126851,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *683 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *700 sender: *4 required: - action @@ -126733,10 +126938,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: *705 + organization: *682 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126968,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *683 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -126844,11 +127049,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127030,10 +127235,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 target_type: type: string @@ -127112,11 +127317,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127364,8 +127569,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128387,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128544,8 +128749,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -128625,7 +128830,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +128997,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129811,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129970,8 +130175,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -130051,7 +130256,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &728 description: The changes to the comment. type: object properties: @@ -130063,9 +130268,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *704 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131086,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131243,8 +131448,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131328,15 +131533,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131424,15 +131629,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131519,15 +131724,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131615,15 +131820,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131708,10 +131913,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *700 + enterprise: *680 + installation: *681 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132728,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,8 +132852,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -132728,8 +132933,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133751,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133813,8 +134018,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -133893,8 +134098,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134907,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134825,8 +135030,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -134905,8 +135110,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135942,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135839,7 +136044,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136187,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -136082,8 +136287,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137100,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137019,9 +137224,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -137101,8 +137306,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138118,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138037,9 +138242,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -138119,8 +138324,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139161,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139057,8 +139262,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -139137,8 +139342,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140173,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140069,9 +140274,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -140963,11 +141168,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141544,8 +141749,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142562,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142480,8 +142685,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -142561,9 +142766,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *680 + installation: *681 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143574,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143492,8 +143697,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -143572,8 +143777,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144509,8 +144714,8 @@ webhooks: user_view_type: type: string type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -145399,11 +145604,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146002,11 +146207,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146086,12 +146291,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146172,7 +146377,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &731 title: User type: - object @@ -146244,11 +146449,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146327,12 +146532,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146412,8 +146617,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147452,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147348,8 +147553,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147429,11 +147634,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147512,12 +147717,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147597,11 +147802,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147679,11 +147884,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147793,11 +147998,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147879,9 +148084,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *680 + installation: *681 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -147969,8 +148174,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *682 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -148054,7 +148259,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148134,10 +148339,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148430,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148307,10 +148512,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148601,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148477,8 +148682,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148769,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148646,12 +148851,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148753,11 +148958,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148859,11 +149064,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148942,11 +149147,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149024,11 +149229,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149311,7 @@ webhooks: required: - login - id - team: &713 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149541,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149624,7 @@ webhooks: required: - login - id - team: *713 + team: *710 required: - action - scope @@ -149501,8 +149706,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *681 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149726,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *388 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149615,10 +149820,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *681 + merge_group: *711 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149691,7 +149896,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150005,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *681 + organization: *682 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -149885,11 +150090,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149968,9 +150173,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *680 + installation: *681 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150317,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150192,11 +150397,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150306,11 +150511,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150390,11 +150595,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *712 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150473,11 +150678,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150556,11 +150761,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150639,9 +150844,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *680 + installation: *681 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150956,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150830,11 +151035,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150913,8 +151118,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151241,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 - user: *703 + user: *700 required: - action - invitation @@ -151117,11 +151322,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151208,11 +151413,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151288,9 +151493,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -151813,7 +152018,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &714 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152115,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -151986,9 +152191,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -152350,7 +152555,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 source_url: type: string format: uri @@ -152421,7 +152626,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -152602,12 +152807,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *680 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - id @@ -152684,7 +152889,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153039,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152914,11 +153119,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152994,11 +153199,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153073,11 +153278,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *715 + organization: *682 + enterprise: *680 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153182,7 +153387,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153419,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153665,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *680 + installation: *681 + organization: *682 + project_card: &717 title: Project Card type: object properties: @@ -153586,7 +153791,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -153667,11 +153872,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -153751,9 +153956,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: title: Project Card type: object @@ -153883,7 +154088,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -153977,11 +154182,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -154075,9 +154280,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: allOf: - title: Project Card @@ -154274,7 +154479,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *683 sender: *4 required: - action @@ -154354,10 +154559,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *680 + installation: *681 + organization: *682 + project: &719 title: Project type: object properties: @@ -154484,7 +154689,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154564,10 +154769,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: &718 title: Project Column type: object properties: @@ -154607,7 +154812,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154686,14 +154891,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -154782,11 +154987,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154866,11 +155071,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154950,11 +155155,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155034,14 +155239,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -155142,11 +155347,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155225,11 +155430,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155310,8 +155515,8 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155393,8 +155598,8 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155476,8 +155681,8 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155599,8 +155804,8 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155684,7 +155889,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &723 type: object properties: archived_at: @@ -155700,9 +155905,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *681 + organization: *682 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -155842,9 +156047,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -155926,9 +156131,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156009,9 +156214,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156116,7 +156321,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156345,7 @@ webhooks: required: - id - name - - &725 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156385,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *721 + - *722 type: - 'null' - string @@ -156204,9 +156409,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156303,9 +156508,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156388,10 +156593,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156473,8 +156678,8 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -156556,9 +156761,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156639,9 +156844,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156787,9 +156992,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156860,10 +157065,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - repository @@ -156940,13 +157145,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *700 + enterprise: *680 + installation: *681 + number: &725 description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -159295,7 +159500,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -159377,11 +159582,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -161723,7 +161928,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -161805,11 +162010,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -164151,7 +164356,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -164233,13 +164438,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: &726 allOf: - - *547 + - *537 - type: object properties: allow_auto_merge: @@ -164301,7 +164506,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *683 sender: *4 required: - action @@ -164382,12 +164587,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -164467,11 +164672,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + number: *725 + organization: *682 + pull_request: &727 title: Pull Request type: object properties: @@ -166798,7 +167003,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -166877,11 +167082,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -169227,7 +169432,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *683 sender: *4 required: - action @@ -169351,12 +169556,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -169436,11 +169641,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -171771,7 +171976,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -171851,11 +172056,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -174203,7 +174408,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -174284,10 +174489,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -176633,7 +176838,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -176713,12 +176918,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + number: *725 + organization: *682 + pull_request: *727 + repository: *683 sender: *4 required: - action @@ -176797,12 +177002,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176883,12 +177088,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176968,12 +177173,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -177348,9 +177553,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -179580,7 +179785,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -179660,7 +179865,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &729 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180158,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -182173,7 +182378,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -182253,11 +182458,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *728 + comment: *729 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -184478,7 +184683,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -184559,9 +184764,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -186794,7 +186999,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 review: description: The review that was affected. type: object @@ -187045,9 +187250,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189366,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *683 + review: &730 description: The review that was affected. type: object properties: @@ -189400,12 +189605,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -191752,7 +191957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -191838,12 +192043,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -194197,7 +194402,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194597,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -196746,7 +196951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -196833,12 +197038,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -199178,7 +199383,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199567,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201805,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *683 + review: *730 sender: *4 required: - action @@ -201681,9 +201886,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204019,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -204211,9 +204416,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206532,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -206726,10 +206931,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -209064,7 +209269,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -209146,11 +209351,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *731 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -211500,7 +211705,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -211579,11 +211784,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -213922,7 +214127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -214003,10 +214208,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -216335,7 +216540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -216538,7 +216743,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *680 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216838,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *681 + organization: *682 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217427,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -217701,7 +217906,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -217757,7 +217962,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -217835,9 +218040,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -218149,7 +218354,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -218199,7 +218404,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -218276,10 +218481,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *680 + installation: *681 + organization: *682 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218815,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *683 sender: *4 required: - action @@ -218687,11 +218892,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218808,11 +219013,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218890,9 +219095,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219433,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219304,10 +219509,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *680 + installation: *681 + organization: *682 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219845,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219716,11 +219921,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -219796,11 +220001,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *733 + repository: *683 sender: *4 required: - action @@ -219876,11 +220081,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -219956,11 +220161,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -220036,10 +220241,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220116,10 +220321,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220197,10 +220402,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220285,10 +220490,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220403,10 +220608,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220478,10 +220683,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 status: type: string @@ -220562,10 +220767,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220642,10 +220847,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220739,10 +220944,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220822,10 +221027,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220904,10 +221109,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220986,10 +221191,10 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 changes: type: object @@ -221051,16 +221256,16 @@ webhooks: properties: added: type: array - items: *568 + items: *558 deleted: type: array - items: *568 + items: *558 updated: type: array items: type: object properties: - rule: *568 + rule: *558 changes: type: object properties: @@ -221297,10 +221502,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221378,10 +221583,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221459,7 +221664,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221788,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221796,10 +222001,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221877,11 +222082,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222083,10 +222288,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222164,17 +222369,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &735 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri @@ -222278,10 +222483,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222362,11 +222567,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *735 + installation: *681 + location: *736 + organization: *682 + repository: *683 sender: *4 required: - location @@ -222604,11 +222809,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222686,11 +222891,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222768,11 +222973,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222850,11 +223055,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222984,10 +223189,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *683 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -223065,11 +223270,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223460,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: *737 sender: *4 required: - action @@ -223332,10 +223537,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223522,10 +223727,10 @@ webhooks: type: object properties: security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + enterprise: *680 + installation: *681 + organization: *682 + repository: *312 sender: *4 required: - changes @@ -223603,12 +223808,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: &741 + sponsorship: &738 type: object properties: created_at: @@ -223913,12 +224118,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224006,12 +224211,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224088,17 +224293,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &739 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224172,7 +224377,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &740 type: object properties: tier: @@ -224216,13 +224421,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *739 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224299,13 +224504,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224379,10 +224584,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224671,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225108,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *680 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *681 name: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225226,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225113,15 +225318,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225205,15 +225410,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225297,15 +225502,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225382,12 +225587,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - team: &744 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225822,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226089,7 +226294,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226165,9 +226370,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226637,7 +226842,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226714,9 +226919,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227186,7 +227391,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -227330,9 +227535,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227802,7 +228007,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - changes @@ -227880,9 +228085,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -228352,7 +228557,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -228428,10 +228633,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -228504,17 +228709,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *680 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *681 + organization: *682 ref: type: string - repository: *686 + repository: *683 sender: *4 workflow: type: string @@ -228596,10 +228801,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -228855,7 +229060,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *457 required: - action - repository @@ -228934,10 +229139,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -229219,7 +229424,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *457 required: - action - repository @@ -229298,10 +229503,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229447,7 +229652,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229526,10 +229731,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229676,7 +229881,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229756,12 +229961,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -230780,12 +230985,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -231789,12 +231994,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 4fd58eb26..944559aaf 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -172,6 +172,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -22616,29 +22620,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -24471,2163 +24452,6 @@ } } }, - "/enterprises/{enterprise}/secret-scanning/alerts": { - "get": { - "summary": "List secret scanning alerts for an enterprise", - "description": "Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.\n\nAlerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\n\nThe authenticated user must be a member of the enterprise in order to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint.", - "tags": [ - "secret-scanning" - ], - "operationId": "secret-scanning/list-alerts-for-enterprise", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "state", - "in": "query", - "description": "Set to `open` or `resolved` to only list secret scanning alerts in a specific state.", - "required": false, - "schema": { - "type": "string", - "enum": [ - "open", - "resolved" - ] - } - }, - { - "name": "secret_type", - "in": "query", - "description": "A comma-separated list of secret types to return. All default secret patterns are returned. To return generic patterns, pass the token name(s) in the parameter. See \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)\" for a complete list of secret types.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "resolution", - "in": "query", - "description": "A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "sort", - "description": "The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "created", - "updated" - ], - "default": "created" - } - }, - { - "name": "direction", - "description": "The direction to sort the results by.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "asc", - "desc" - ], - "default": "desc" - } - }, - { - "name": "per_page", - "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "before", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "after", - "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "validity", - "in": "query", - "description": "A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "is_publicly_leaked", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the publicly-leaked tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "is_multi_repo", - "in": "query", - "description": "A boolean value representing whether or not to filter alerts by the multi-repo tag being present.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - }, - { - "name": "hide_secret", - "in": "query", - "description": "A boolean value representing whether or not to hide literal secrets in the results.", - "required": false, - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "number": { - "type": "integer", - "description": "The security alert number.", - "readOnly": true - }, - "created_at": { - "type": "string", - "description": "The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - }, - "updated_at": { - "anyOf": [ - { - "type": "null" - }, - { - "type": "string", - "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", - "format": "date-time", - "readOnly": true - } - ] - }, - "url": { - "type": "string", - "description": "The REST API URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "html_url": { - "type": "string", - "description": "The GitHub URL of the alert resource.", - "format": "uri", - "readOnly": true - }, - "locations_url": { - "type": "string", - "format": "uri", - "description": "The REST API URL of the code locations for this alert." - }, - "state": { - "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", - "type": "string", - "enum": [ - "open", - "resolved" - ] - }, - "resolution": { - "type": [ - "string", - "null" - ], - "description": "**Required when the `state` is `resolved`.** The reason for resolving the alert.", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - null - ] - }, - "resolved_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that the alert was resolved in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "resolved_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "secret_type_display_name": { - "type": "string", - "description": "User-friendly name for the detected secret, matching the `secret_type`.\nFor a list of built-in patterns, see \"[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets).\"" - }, - "secret": { - "type": "string", - "description": "The secret that was detected." - }, - "repository": { - "title": "Simple Repository", - "description": "A GitHub repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "A unique identifier of the repository.", - "examples": [ - 1296269 - ] - }, - "node_id": { - "type": "string", - "description": "The GraphQL identifier of the repository.", - "examples": [ - "MDEwOlJlcG9zaXRvcnkxMjk2MjY5" - ] - }, - "name": { - "type": "string", - "description": "The name of the repository.", - "examples": [ - "Hello-World" - ] - }, - "full_name": { - "type": "string", - "description": "The full, globally unique, name of the repository.", - "examples": [ - "octocat/Hello-World" - ] - }, - "owner": { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - }, - "private": { - "type": "boolean", - "description": "Whether the repository is private." - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL to view the repository on GitHub.com.", - "examples": [ - "https://github.com/octocat/Hello-World" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "The repository description.", - "examples": [ - "This your first repo!" - ] - }, - "fork": { - "type": "boolean", - "description": "Whether the repository is a fork." - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL to get more information about the repository from the GitHub API.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World" - ] - }, - "archive_url": { - "type": "string", - "description": "A template for the API URL to download the repository as an archive.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}" - ] - }, - "assignees_url": { - "type": "string", - "description": "A template for the API URL to list the available assignees for issues in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/assignees{/user}" - ] - }, - "blobs_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git blob in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}" - ] - }, - "branches_url": { - "type": "string", - "description": "A template for the API URL to get information about branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/branches{/branch}" - ] - }, - "collaborators_url": { - "type": "string", - "description": "A template for the API URL to get information about collaborators of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}" - ] - }, - "comments_url": { - "type": "string", - "description": "A template for the API URL to get information about comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/comments{/number}" - ] - }, - "commits_url": { - "type": "string", - "description": "A template for the API URL to get information about commits on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/commits{/sha}" - ] - }, - "compare_url": { - "type": "string", - "description": "A template for the API URL to compare two commits or refs.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}" - ] - }, - "contents_url": { - "type": "string", - "description": "A template for the API URL to get the contents of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contents/{+path}" - ] - }, - "contributors_url": { - "type": "string", - "format": "uri", - "description": "A template for the API URL to list the contributors to the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/contributors" - ] - }, - "deployments_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the deployments of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/deployments" - ] - }, - "downloads_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the downloads on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/downloads" - ] - }, - "events_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the events of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/events" - ] - }, - "forks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the forks of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/forks" - ] - }, - "git_commits_url": { - "type": "string", - "description": "A template for the API URL to get information about Git commits of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}" - ] - }, - "git_refs_url": { - "type": "string", - "description": "A template for the API URL to get information about Git refs of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}" - ] - }, - "git_tags_url": { - "type": "string", - "description": "A template for the API URL to get information about Git tags of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}" - ] - }, - "issue_comment_url": { - "type": "string", - "description": "A template for the API URL to get information about issue comments on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}" - ] - }, - "issue_events_url": { - "type": "string", - "description": "A template for the API URL to get information about issue events on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}" - ] - }, - "issues_url": { - "type": "string", - "description": "A template for the API URL to get information about issues on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues{/number}" - ] - }, - "keys_url": { - "type": "string", - "description": "A template for the API URL to get information about deploy keys on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}" - ] - }, - "labels_url": { - "type": "string", - "description": "A template for the API URL to get information about labels of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/labels{/name}" - ] - }, - "languages_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about the languages of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/languages" - ] - }, - "merges_url": { - "type": "string", - "format": "uri", - "description": "The API URL to merge branches in the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/merges" - ] - }, - "milestones_url": { - "type": "string", - "description": "A template for the API URL to get information about milestones of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/milestones{/number}" - ] - }, - "notifications_url": { - "type": "string", - "description": "A template for the API URL to get information about notifications on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}" - ] - }, - "pulls_url": { - "type": "string", - "description": "A template for the API URL to get information about pull requests on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls{/number}" - ] - }, - "releases_url": { - "type": "string", - "description": "A template for the API URL to get information about releases on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/releases{/id}" - ] - }, - "stargazers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the stargazers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/stargazers" - ] - }, - "statuses_url": { - "type": "string", - "description": "A template for the API URL to get information about statuses of a commit.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}" - ] - }, - "subscribers_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the subscribers on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscribers" - ] - }, - "subscription_url": { - "type": "string", - "format": "uri", - "description": "The API URL to subscribe to notifications for this repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/subscription" - ] - }, - "tags_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get information about tags on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/tags" - ] - }, - "teams_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the teams on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/teams" - ] - }, - "trees_url": { - "type": "string", - "description": "A template for the API URL to create or retrieve a raw Git tree of the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}" - ] - }, - "hooks_url": { - "type": "string", - "format": "uri", - "description": "The API URL to list the hooks on the repository.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/hooks" - ] - } - }, - "required": [ - "archive_url", - "assignees_url", - "blobs_url", - "branches_url", - "collaborators_url", - "comments_url", - "commits_url", - "compare_url", - "contents_url", - "contributors_url", - "deployments_url", - "description", - "downloads_url", - "events_url", - "fork", - "forks_url", - "full_name", - "git_commits_url", - "git_refs_url", - "git_tags_url", - "hooks_url", - "html_url", - "id", - "node_id", - "issue_comment_url", - "issue_events_url", - "issues_url", - "keys_url", - "labels_url", - "languages_url", - "merges_url", - "milestones_url", - "name", - "notifications_url", - "owner", - "private", - "pulls_url", - "releases_url", - "stargazers_url", - "statuses_url", - "subscribers_url", - "subscription_url", - "tags_url", - "teams_url", - "trees_url", - "url" - ] - }, - "push_protection_bypassed": { - "type": [ - "boolean", - "null" - ], - "description": "Whether push protection was bypassed for the detected secret." - }, - "push_protection_bypassed_by": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypassed_at": { - "type": [ - "string", - "null" - ], - "format": "date-time", - "description": "The time that push protection was bypassed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`." - }, - "push_protection_bypass_request_reviewer": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - }, - "push_protection_bypass_request_reviewer_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when reviewing a push protection bypass." - }, - "push_protection_bypass_request_comment": { - "type": [ - "string", - "null" - ], - "description": "An optional comment when requesting a push protection bypass." - }, - "push_protection_bypass_request_html_url": { - "type": [ - "string", - "null" - ], - "format": "uri", - "description": "The URL to a push protection bypass request." - }, - "resolution_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment that was optionally added when this alert was closed" - }, - "validity": { - "type": "string", - "description": "The token status as of the latest validity check.", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - "publicly_leaked": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the secret was publicly leaked." - }, - "multi_repo": { - "type": [ - "boolean", - "null" - ], - "description": "Whether the detected secret was found in multiple repositories in the same organization or enterprise." - }, - "is_base64_encoded": { - "type": [ - "boolean", - "null" - ], - "description": "A boolean value representing whether or not alert is base64 encoded" - }, - "first_location_detected": { - "anyOf": [ - { - "type": "null" - }, - { - "description": "Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request.\n", - "oneOf": [ - { - "description": "Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path in the repository", - "examples": [ - "/example/secrets.txt" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8BIT ASCII" - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8BIT ASCII" - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "blob_url": { - "type": "string", - "description": "The API URL to get the associated blob resource" - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "commit_url": { - "type": "string", - "description": "The API URL to get the associated commit resource" - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "blob_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki.", - "type": "object", - "properties": { - "path": { - "type": "string", - "description": "The file path of the wiki page", - "examples": [ - "/example/Home.md" - ] - }, - "start_line": { - "type": "number", - "description": "Line number at which the secret starts in the file" - }, - "end_line": { - "type": "number", - "description": "Line number at which the secret ends in the file" - }, - "start_column": { - "type": "number", - "description": "The column at which the secret starts within the start line when the file is interpreted as 8-bit ASCII." - }, - "end_column": { - "type": "number", - "description": "The column at which the secret ends within the end line when the file is interpreted as 8-bit ASCII." - }, - "blob_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated blob", - "examples": [ - "af5626b4a114abcb82d63db7c8082c3c4756e51b" - ] - }, - "page_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki page", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_sha": { - "type": "string", - "description": "SHA-1 hash ID of the associated commit", - "examples": [ - "302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - }, - "commit_url": { - "type": "string", - "description": "The GitHub URL to get the associated wiki commit", - "examples": [ - "https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5" - ] - } - }, - "required": [ - "path", - "start_line", - "end_line", - "start_column", - "end_column", - "blob_sha", - "page_url", - "commit_sha", - "commit_url" - ] - }, - { - "description": "Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue.", - "type": "object", - "properties": { - "issue_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_title_url" - ] - }, - { - "description": "Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue.", - "type": "object", - "properties": { - "issue_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/1347" - ] - } - }, - "required": [ - "issue_body_url" - ] - }, - { - "description": "Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue.", - "type": "object", - "properties": { - "issue_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the issue comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "issue_comment_url" - ] - }, - { - "description": "Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion.", - "type": "object", - "properties": { - "discussion_title_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082" - ] - } - }, - "required": [ - "discussion_title_url" - ] - }, - { - "description": "Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion.", - "type": "object", - "properties": { - "discussion_body_url": { - "type": "string", - "format": "uri", - "description": "The URL to the discussion where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussion-4566270" - ] - } - }, - "required": [ - "discussion_body_url" - ] - }, - { - "description": "Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion.", - "type": "object", - "properties": { - "discussion_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the discussion comment where the secret was detected.", - "examples": [ - "https://github.com/community/community/discussions/39082#discussioncomment-4158232" - ] - } - }, - "required": [ - "discussion_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request.", - "type": "object", - "properties": { - "pull_request_title_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_title_url" - ] - }, - { - "description": "Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request.", - "type": "object", - "properties": { - "pull_request_body_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846" - ] - } - }, - "required": [ - "pull_request_body_url" - ] - }, - { - "description": "Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request.", - "type": "object", - "properties": { - "pull_request_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451" - ] - } - }, - "required": [ - "pull_request_comment_url" - ] - }, - { - "description": "Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request.", - "type": "object", - "properties": { - "pull_request_review_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80" - ] - } - }, - "required": [ - "pull_request_review_url" - ] - }, - { - "description": "Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request.", - "type": "object", - "properties": { - "pull_request_review_comment_url": { - "type": "string", - "format": "uri", - "description": "The API URL to get the pull request review comment where the secret was detected.", - "examples": [ - "https://api.github.com/repos/octocat/Hello-World/pulls/comments/12" - ] - } - }, - "required": [ - "pull_request_review_comment_url" - ] - } - ] - } - ] - }, - "has_more_locations": { - "type": "boolean", - "description": "A boolean value representing whether or not the token in the alert was detected in more than one location." - }, - "assigned_to": { - "anyOf": [ - { - "type": "null" - }, - { - "title": "Simple User", - "description": "A GitHub user.", - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, - "email": { - "type": [ - "string", - "null" - ] - }, - "login": { - "type": "string", - "examples": [ - "octocat" - ] - }, - "id": { - "type": "integer", - "format": "int64", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VXNlcjE=" - ] - }, - "avatar_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/images/error/octocat_happy.gif" - ] - }, - "gravatar_id": { - "type": [ - "string", - "null" - ], - "examples": [ - "41d064eb2195891e12d0413f63227ea7" - ] - }, - "url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/octocat" - ] - }, - "followers_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/followers" - ] - }, - "following_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/following{/other_user}" - ] - }, - "gists_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/gists{/gist_id}" - ] - }, - "starred_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/starred{/owner}{/repo}" - ] - }, - "subscriptions_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/subscriptions" - ] - }, - "organizations_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/orgs" - ] - }, - "repos_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/repos" - ] - }, - "events_url": { - "type": "string", - "examples": [ - "https://api.github.com/users/octocat/events{/privacy}" - ] - }, - "received_events_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/users/octocat/received_events" - ] - }, - "type": { - "type": "string", - "examples": [ - "User" - ] - }, - "site_admin": { - "type": "boolean" - }, - "starred_at": { - "type": "string", - "examples": [ - "\"2020-07-09T00:17:55Z\"" - ] - }, - "user_view_type": { - "type": "string", - "examples": [ - "public" - ] - } - }, - "required": [ - "avatar_url", - "events_url", - "followers_url", - "following_url", - "gists_url", - "gravatar_id", - "html_url", - "id", - "node_id", - "login", - "organizations_url", - "received_events_url", - "repos_url", - "site_admin", - "starred_url", - "subscriptions_url", - "type", - "url" - ] - } - ] - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "number": 2, - "created_at": "2020-11-06T18:48:51Z", - "url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2", - "html_url": "https://github.com/owner/private-repo/security/secret-scanning/2", - "locations_url": "https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations", - "state": "resolved", - "resolution": "false_positive", - "resolved_at": "2020-11-07T02:47:13Z", - "resolved_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "secret_type": "adafruit_io_key", - "secret_type_display_name": "Adafruit IO Key", - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "repository": { - "id": 1296269, - "node_id": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5", - "name": "Hello-World", - "full_name": "octocat/Hello-World", - "owner": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - }, - "private": false, - "html_url": "https://github.com/octocat/Hello-World", - "description": "This your first repo!", - "fork": false, - "url": "https://api.github.com/repos/octocat/Hello-World", - "archive_url": "https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}", - "assignees_url": "https://api.github.com/repos/octocat/Hello-World/assignees{/user}", - "blobs_url": "https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}", - "branches_url": "https://api.github.com/repos/octocat/Hello-World/branches{/branch}", - "collaborators_url": "https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}", - "comments_url": "https://api.github.com/repos/octocat/Hello-World/comments{/number}", - "commits_url": "https://api.github.com/repos/octocat/Hello-World/commits{/sha}", - "compare_url": "https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}", - "contents_url": "https://api.github.com/repos/octocat/Hello-World/contents/{+path}", - "contributors_url": "https://api.github.com/repos/octocat/Hello-World/contributors", - "deployments_url": "https://api.github.com/repos/octocat/Hello-World/deployments", - "downloads_url": "https://api.github.com/repos/octocat/Hello-World/downloads", - "events_url": "https://api.github.com/repos/octocat/Hello-World/events", - "forks_url": "https://api.github.com/repos/octocat/Hello-World/forks", - "git_commits_url": "https://api.github.com/repos/octocat/Hello-World/git/commits{/sha}", - "git_refs_url": "https://api.github.com/repos/octocat/Hello-World/git/refs{/sha}", - "git_tags_url": "https://api.github.com/repos/octocat/Hello-World/git/tags{/sha}", - "issue_comment_url": "https://api.github.com/repos/octocat/Hello-World/issues/comments{/number}", - "issue_events_url": "https://api.github.com/repos/octocat/Hello-World/issues/events{/number}", - "issues_url": "https://api.github.com/repos/octocat/Hello-World/issues{/number}", - "keys_url": "https://api.github.com/repos/octocat/Hello-World/keys{/key_id}", - "labels_url": "https://api.github.com/repos/octocat/Hello-World/labels{/name}", - "languages_url": "https://api.github.com/repos/octocat/Hello-World/languages", - "merges_url": "https://api.github.com/repos/octocat/Hello-World/merges", - "milestones_url": "https://api.github.com/repos/octocat/Hello-World/milestones{/number}", - "notifications_url": "https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}", - "pulls_url": "https://api.github.com/repos/octocat/Hello-World/pulls{/number}", - "releases_url": "https://api.github.com/repos/octocat/Hello-World/releases{/id}", - "stargazers_url": "https://api.github.com/repos/octocat/Hello-World/stargazers", - "statuses_url": "https://api.github.com/repos/octocat/Hello-World/statuses/{sha}", - "subscribers_url": "https://api.github.com/repos/octocat/Hello-World/subscribers", - "subscription_url": "https://api.github.com/repos/octocat/Hello-World/subscription", - "tags_url": "https://api.github.com/repos/octocat/Hello-World/tags", - "teams_url": "https://api.github.com/repos/octocat/Hello-World/teams", - "trees_url": "https://api.github.com/repos/octocat/Hello-World/git/trees{/sha}", - "hooks_url": "https://api.github.com/repos/octocat/Hello-World/hooks" - }, - "push_protection_bypassed_by": { - "login": "monalisa", - "id": 2, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/2?", - "gravatar_id": "", - "url": "https://api.github.com/users/monalisa", - "html_url": "https://github.com/monalisa", - "followers_url": "https://api.github.com/users/monalisa/followers", - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", - "organizations_url": "https://api.github.com/users/monalisa/orgs", - "repos_url": "https://api.github.com/users/monalisa/repos", - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", - "received_events_url": "https://api.github.com/users/monalisa/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypassed": true, - "push_protection_bypassed_at": "2020-11-06T21:48:51Z", - "push_protection_bypass_request_reviewer": { - "login": "octocat", - "id": 3, - "node_id": "MDQ6VXNlcjI=", - "avatar_url": "https://alambic.github.com/avatars/u/3?", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": true - }, - "push_protection_bypass_request_reviewer_comment": "Example response", - "push_protection_bypass_request_comment": "Example comment", - "push_protection_bypass_request_html_url": "https://github.com/owner/repo/secret_scanning_exemptions/1", - "resolution_comment": "Example comment", - "validity": "active", - "publicly_leaked": false, - "multi_repo": false, - "is_base64_encoded": false, - "first_location_detected": { - "path": "/example/secrets.txt", - "start_line": 1, - "end_line": 1, - "start_column": 1, - "end_column": 64, - "blob_sha": "af5626b4a114abcb82d63db7c8082c3c4756e51b", - "blob_url": "https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b", - "commit_sha": "f14d7debf9775f957cf4f1e8176da0786431f72b", - "commit_url": "https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b" - }, - "has_more_locations": true, - "assigned_to": { - "login": "octocat", - "id": 1, - "node_id": "MDQ6VXNlcjE=", - "avatar_url": "https://github.com/images/error/octocat_happy.gif", - "gravatar_id": "", - "url": "https://api.github.com/users/octocat", - "html_url": "https://github.com/octocat", - "followers_url": "https://api.github.com/users/octocat/followers", - "following_url": "https://api.github.com/users/octocat/following{/other_user}", - "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", - "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", - "organizations_url": "https://api.github.com/users/octocat/orgs", - "repos_url": "https://api.github.com/users/octocat/repos", - "events_url": "https://api.github.com/users/octocat/events{/privacy}", - "received_events_url": "https://api.github.com/users/octocat/received_events", - "type": "User", - "site_admin": false - } - } - ] - } - } - } - }, - "headers": { - "Link": { - "example": "; rel=\"next\", ; rel=\"last\"", - "schema": { - "type": "string" - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "secret-scanning", - "subcategory": "secret-scanning" - } - } - }, "/enterprises/{enterprise}/teams": { "get": { "summary": "List enterprise teams", @@ -26874,6 +24698,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -28376,8 +26210,731 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -28386,29 +26943,124 @@ } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "201": { + "description": "Successfully assigned the enterprise team to the organization.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "examples": [ + "github" + ] }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" } } } @@ -28420,7 +27072,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -28670,6 +27374,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -76364,7 +75078,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -76508,7 +75222,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -76516,7 +75230,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -76524,7 +75238,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -97158,6 +95872,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -115170,29 +113988,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -171836,7 +170631,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -171844,10 +170639,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -353327,16 +352119,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -353364,29 +352146,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -577049,7 +575808,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -739040,7 +737799,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -739048,10 +737807,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -776666,7 +775422,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -776797,7 +775553,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -776805,7 +775561,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -776813,7 +775569,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 0aad05175..c8a523d41 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -91,6 +91,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &292 + type: &282 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1040,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &106 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1073,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &605 + - &603 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1831,7 +1833,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &105 + schema: &103 title: Validation Error description: Validation Error type: object @@ -2242,7 +2244,7 @@ paths: parameters: - *17 - *19 - - &75 + - &72 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2792,7 +2794,7 @@ paths: suspended_at: suspended_by: headers: - Link: &57 + Link: &52 example: ; rel="next", ; rel="last" schema: @@ -2982,7 +2984,7 @@ paths: - selected repositories: type: array - items: &66 + items: &64 title: Repository description: A repository on GitHub. type: object @@ -3009,7 +3011,7 @@ paths: license: anyOf: - type: 'null' - - &71 + - &69 title: License Simple description: License Simple type: object @@ -5387,7 +5389,7 @@ paths: responses: '202': *37 '422': *7 - '500': &100 + '500': &97 description: Internal Error content: application/json: @@ -7717,7 +7719,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &152 + code_scanning_options: &155 type: - object - 'null' @@ -7915,7 +7917,7 @@ paths: description: Response content: application/json: - schema: &154 + schema: &157 type: array description: A list of default code security configurations items: @@ -7931,7 +7933,7 @@ paths: default configuration: *41 examples: - default: &155 + default: &158 value: - default_for_new_repos: public configuration: @@ -8262,7 +8264,7 @@ paths: - *40 - *43 responses: - '204': &156 + '204': &159 description: A header with no content is returned. '400': *14 '403': *27 @@ -8389,7 +8391,7 @@ paths: default: value: default_for_new_repos: all - configuration: &153 + configuration: &156 value: id: 1325 target_type: organization @@ -8474,7 +8476,7 @@ paths: application/json: schema: type: array - items: &157 + items: &160 type: object description: Repositories associated with a code security configuration and attachment status @@ -8819,7 +8821,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &158 + repository: &161 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8913,7 +8915,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &162 + - &164 name: state in: query description: |- @@ -8922,7 +8924,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &163 + - &165 name: severity in: query description: |- @@ -8931,7 +8933,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &164 + - &166 name: ecosystem in: query description: |- @@ -8940,14 +8942,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &165 + - &167 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &166 + - &168 name: epss_percentage in: query description: |- @@ -8959,7 +8961,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &458 + - &448 name: has in: query description: |- @@ -8973,7 +8975,7 @@ paths: type: string enum: - patch - - &167 + - &169 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8983,7 +8985,7 @@ paths: enum: - development - runtime - - &168 + - &170 name: sort in: query description: |- @@ -9001,31 +9003,6 @@ paths: - *46 - *38 - *39 - - &169 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &170 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -9038,7 +9015,7 @@ paths: type: object description: A Dependabot alert. properties: - number: &52 + number: &145 type: integer description: The security alert number. readOnly: true @@ -9104,7 +9081,7 @@ paths: - direct - transitive - - security_advisory: &459 + security_advisory: &449 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9311,29 +9288,29 @@ paths: - withdrawn_at additionalProperties: false security_vulnerability: *50 - url: &55 + url: &148 type: string description: The REST API URL of the alert resource. format: uri readOnly: true - html_url: &56 + html_url: &149 type: string description: The GitHub URL of the alert resource. format: uri readOnly: true - created_at: &53 + created_at: &146 type: string description: 'The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &54 + updated_at: &147 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &148 + dismissed_at: &151 type: - string - 'null' @@ -9364,7 +9341,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &147 + fixed_at: &150 type: - string - 'null' @@ -9372,7 +9349,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &460 + auto_dismissed_at: &450 type: - string - 'null' @@ -9727,740 +9704,6 @@ paths: previews: [] category: dependabot subcategory: alerts - "/enterprises/{enterprise}/secret-scanning/alerts": - get: - summary: List secret scanning alerts for an enterprise - description: |- - Lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest. - - Alerts are only returned for organizations in the enterprise for which the authenticated user is an organization owner or a [security manager](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). - - The authenticated user must be a member of the enterprise in order to use this endpoint. - - OAuth app tokens and personal access tokens (classic) need the `repo` scope or `security_events` scope to use this endpoint. - tags: - - secret-scanning - operationId: secret-scanning/list-alerts-for-enterprise - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise - parameters: - - *40 - - &280 - name: state - in: query - description: Set to `open` or `resolved` to only list secret scanning alerts - in a specific state. - required: false - schema: - type: string - enum: - - open - - resolved - - &281 - name: secret_type - in: query - description: A comma-separated list of secret types to return. All default - secret patterns are returned. To return generic patterns, pass the token - name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" - for a complete list of secret types. - required: false - schema: - type: string - - &282 - name: resolution - in: query - description: A comma-separated list of resolutions. Only secret scanning alerts - with one of these resolutions are listed. Valid resolutions are `false_positive`, - `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. - required: false - schema: - type: string - - &283 - name: sort - description: The property to sort the results by. `created` means when the - alert was created. `updated` means when the alert was updated or resolved. - in: query - required: false - schema: - type: string - enum: - - created - - updated - default: created - - *46 - - *17 - - *38 - - *39 - - &284 - name: validity - in: query - description: A comma-separated list of validities that, when present, will - return alerts that match the validities in this list. Valid options are - `active`, `inactive`, and `unknown`. - required: false - schema: - type: string - - &285 - name: is_publicly_leaked - in: query - description: A boolean value representing whether or not to filter alerts - by the publicly-leaked tag being present. - required: false - schema: - type: boolean - default: false - - &286 - name: is_multi_repo - in: query - description: A boolean value representing whether or not to filter alerts - by the multi-repo tag being present. - required: false - schema: - type: boolean - default: false - - &287 - name: hide_secret - in: query - description: A boolean value representing whether or not to hide literal secrets - in the results. - required: false - schema: - type: boolean - default: false - responses: - '200': - description: Response - content: - application/json: - schema: - type: array - items: &288 - type: object - properties: - number: *52 - created_at: *53 - updated_at: - anyOf: - - type: 'null' - - *54 - url: *55 - html_url: *56 - locations_url: - type: string - format: uri - description: The REST API URL of the code locations for this - alert. - state: &583 - description: Sets the state of the secret scanning alert. You - must provide `resolution` when you set the state to `resolved`. - type: string - enum: - - open - - resolved - resolution: &584 - type: - - string - - 'null' - description: "**Required when the `state` is `resolved`.** The - reason for resolving the alert." - enum: - - false_positive - - wont_fix - - revoked - - used_in_tests - - - resolved_at: - type: - - string - - 'null' - format: date-time - description: 'The time that the alert was resolved in ISO 8601 - format: `YYYY-MM-DDTHH:MM:SSZ`.' - resolved_by: - anyOf: - - type: 'null' - - *4 - secret_type: - type: string - description: The type of secret that secret scanning detected. - secret_type_display_name: - type: string - description: |- - User-friendly name for the detected secret, matching the `secret_type`. - For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." - secret: - type: string - description: The secret that was detected. - repository: *51 - push_protection_bypassed: - type: - - boolean - - 'null' - description: Whether push protection was bypassed for the detected - secret. - push_protection_bypassed_by: - anyOf: - - type: 'null' - - *4 - push_protection_bypassed_at: - type: - - string - - 'null' - format: date-time - description: 'The time that push protection was bypassed in - ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' - push_protection_bypass_request_reviewer: - anyOf: - - type: 'null' - - *4 - push_protection_bypass_request_reviewer_comment: - type: - - string - - 'null' - description: An optional comment when reviewing a push protection - bypass. - push_protection_bypass_request_comment: - type: - - string - - 'null' - description: An optional comment when requesting a push protection - bypass. - push_protection_bypass_request_html_url: - type: - - string - - 'null' - format: uri - description: The URL to a push protection bypass request. - resolution_comment: - type: - - string - - 'null' - description: The comment that was optionally added when this - alert was closed - validity: - type: string - description: The token status as of the latest validity check. - enum: - - active - - inactive - - unknown - publicly_leaked: - type: - - boolean - - 'null' - description: Whether the secret was publicly leaked. - multi_repo: - type: - - boolean - - 'null' - description: Whether the detected secret was found in multiple - repositories in the same organization or enterprise. - is_base64_encoded: - type: - - boolean - - 'null' - description: A boolean value representing whether or not alert - is base64 encoded - first_location_detected: - anyOf: - - type: 'null' - - &585 - description: 'Details on the location where the token was - initially detected. This can be a commit, wiki commit, issue, - discussion, pull request. - - ' - oneOf: - - &587 - description: Represents a 'commit' secret scanning location - type. This location type shows that a secret was detected - inside a commit to a repository. - type: object - properties: - path: - type: string - description: The file path in the repository - examples: - - "/example/secrets.txt" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8BIT - ASCII - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8BIT - ASCII - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: - type: string - description: The API URL to get the associated blob - resource - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_url: - type: string - description: The API URL to get the associated commit - resource - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - blob_url - - commit_sha - - commit_url - - &588 - description: Represents a 'wiki_commit' secret scanning - location type. This location type shows that a secret - was detected inside a commit to a repository wiki. - type: object - properties: - path: - type: string - description: The file path of the wiki page - examples: - - "/example/Home.md" - start_line: - type: number - description: Line number at which the secret starts - in the file - end_line: - type: number - description: Line number at which the secret ends in - the file - start_column: - type: number - description: The column at which the secret starts within - the start line when the file is interpreted as 8-bit - ASCII. - end_column: - type: number - description: The column at which the secret ends within - the end line when the file is interpreted as 8-bit - ASCII. - blob_sha: - type: string - description: SHA-1 hash ID of the associated blob - examples: - - af5626b4a114abcb82d63db7c8082c3c4756e51b - page_url: - type: string - description: The GitHub URL to get the associated wiki - page - examples: - - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_sha: - type: string - description: SHA-1 hash ID of the associated commit - examples: - - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 - commit_url: - type: string - description: The GitHub URL to get the associated wiki - commit - examples: - - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 - required: - - path - - start_line - - end_line - - start_column - - end_column - - blob_sha - - page_url - - commit_sha - - commit_url - - &589 - description: Represents an 'issue_title' secret scanning - location type. This location type shows that a secret - was detected in the title of an issue. - type: object - properties: - issue_title_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_title_url - - &590 - description: Represents an 'issue_body' secret scanning - location type. This location type shows that a secret - was detected in the body of an issue. - type: object - properties: - issue_body_url: - type: string - format: uri - description: The API URL to get the issue where the - secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/1347 - required: - - issue_body_url - - &591 - description: Represents an 'issue_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on an issue. - type: object - properties: - issue_comment_url: - type: string - format: uri - description: The API URL to get the issue comment where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - issue_comment_url - - &592 - description: Represents a 'discussion_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a discussion. - type: object - properties: - discussion_title_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082 - required: - - discussion_title_url - - &593 - description: Represents a 'discussion_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a discussion. - type: object - properties: - discussion_body_url: - type: string - format: uri - description: The URL to the discussion where the secret - was detected. - examples: - - https://github.com/community/community/discussions/39082#discussion-4566270 - required: - - discussion_body_url - - &594 - description: Represents a 'discussion_comment' secret scanning - location type. This location type shows that a secret - was detected in a comment on a discussion. - type: object - properties: - discussion_comment_url: - type: string - format: uri - description: The API URL to get the discussion comment - where the secret was detected. - examples: - - https://github.com/community/community/discussions/39082#discussioncomment-4158232 - required: - - discussion_comment_url - - &595 - description: Represents a 'pull_request_title' secret scanning - location type. This location type shows that a secret - was detected in the title of a pull request. - type: object - properties: - pull_request_title_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_title_url - - &596 - description: Represents a 'pull_request_body' secret scanning - location type. This location type shows that a secret - was detected in the body of a pull request. - type: object - properties: - pull_request_body_url: - type: string - format: uri - description: The API URL to get the pull request where - the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846 - required: - - pull_request_body_url - - &597 - description: Represents a 'pull_request_comment' secret - scanning location type. This location type shows that - a secret was detected in a comment on a pull request. - type: object - properties: - pull_request_comment_url: - type: string - format: uri - description: The API URL to get the pull request comment - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 - required: - - pull_request_comment_url - - &598 - description: Represents a 'pull_request_review' secret scanning - location type. This location type shows that a secret - was detected in a review on a pull request. - type: object - properties: - pull_request_review_url: - type: string - format: uri - description: The API URL to get the pull request review - where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 - required: - - pull_request_review_url - - &599 - description: Represents a 'pull_request_review_comment' - secret scanning location type. This location type shows - that a secret was detected in a review comment on a pull - request. - type: object - properties: - pull_request_review_comment_url: - type: string - format: uri - description: The API URL to get the pull request review - comment where the secret was detected. - examples: - - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 - required: - - pull_request_review_comment_url - has_more_locations: - type: boolean - description: A boolean value representing whether or not the - token in the alert was detected in more than one location. - assigned_to: - anyOf: - - type: 'null' - - *4 - examples: - default: &289 - value: - - number: 2 - created_at: '2020-11-06T18:48:51Z' - url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 - html_url: https://github.com/owner/private-repo/security/secret-scanning/2 - locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations - state: resolved - resolution: false_positive - resolved_at: '2020-11-07T02:47:13Z' - resolved_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - secret_type: adafruit_io_key - secret_type_display_name: Adafruit IO Key - secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX - repository: - id: 1296269 - node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 - name: Hello-World - full_name: octocat/Hello-World - owner: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - private: false - html_url: https://github.com/octocat/Hello-World - description: This your first repo! - fork: false - url: https://api.github.com/repos/octocat/Hello-World - archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} - assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} - blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} - branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} - collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} - comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} - commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} - compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} - contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} - contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors - deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments - downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads - events_url: https://api.github.com/repos/octocat/Hello-World/events - forks_url: https://api.github.com/repos/octocat/Hello-World/forks - git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} - git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} - git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} - issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} - issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} - issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} - keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} - labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} - languages_url: https://api.github.com/repos/octocat/Hello-World/languages - merges_url: https://api.github.com/repos/octocat/Hello-World/merges - milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} - notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} - pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} - releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} - stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers - statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} - subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers - subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription - tags_url: https://api.github.com/repos/octocat/Hello-World/tags - teams_url: https://api.github.com/repos/octocat/Hello-World/teams - trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} - hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks - push_protection_bypassed_by: - login: monalisa - id: 2 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/2? - gravatar_id: '' - url: https://api.github.com/users/monalisa - html_url: https://github.com/monalisa - followers_url: https://api.github.com/users/monalisa/followers - following_url: https://api.github.com/users/monalisa/following{/other_user} - gists_url: https://api.github.com/users/monalisa/gists{/gist_id} - starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/monalisa/subscriptions - organizations_url: https://api.github.com/users/monalisa/orgs - repos_url: https://api.github.com/users/monalisa/repos - events_url: https://api.github.com/users/monalisa/events{/privacy} - received_events_url: https://api.github.com/users/monalisa/received_events - type: User - site_admin: true - push_protection_bypassed: true - push_protection_bypassed_at: '2020-11-06T21:48:51Z' - push_protection_bypass_request_reviewer: - login: octocat - id: 3 - node_id: MDQ6VXNlcjI= - avatar_url: https://alambic.github.com/avatars/u/3? - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: true - push_protection_bypass_request_reviewer_comment: Example response - push_protection_bypass_request_comment: Example comment - push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 - resolution_comment: Example comment - validity: active - publicly_leaked: false - multi_repo: false - is_base64_encoded: false - first_location_detected: - path: "/example/secrets.txt" - start_line: 1 - end_line: 1 - start_column: 1 - end_column: 64 - blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b - blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b - commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b - commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b - has_more_locations: true - assigned_to: - login: octocat - id: 1 - node_id: MDQ6VXNlcjE= - avatar_url: https://github.com/images/error/octocat_happy.gif - gravatar_id: '' - url: https://api.github.com/users/octocat - html_url: https://github.com/octocat - followers_url: https://api.github.com/users/octocat/followers - following_url: https://api.github.com/users/octocat/following{/other_user} - gists_url: https://api.github.com/users/octocat/gists{/gist_id} - starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} - subscriptions_url: https://api.github.com/users/octocat/subscriptions - organizations_url: https://api.github.com/users/octocat/orgs - repos_url: https://api.github.com/users/octocat/repos - events_url: https://api.github.com/users/octocat/events{/privacy} - received_events_url: https://api.github.com/users/octocat/received_events - type: User - site_admin: false - headers: - Link: *57 - '404': *6 - '503': &73 - description: Service unavailable - content: - application/json: - schema: - type: object - properties: - code: - type: string - message: - type: string - documentation_url: - type: string - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: secret-scanning - subcategory: secret-scanning "/enterprises/{enterprise}/teams": get: summary: List enterprise teams @@ -10482,7 +9725,7 @@ paths: application/json: schema: type: array - items: &58 + items: &53 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -10547,7 +9790,7 @@ paths: - updated_at - group_id examples: - default: &59 + default: &54 value: - id: 1 name: Justice League @@ -10560,7 +9803,7 @@ paths: created_at: '2019-01-26T19:01:12Z' updated_at: '2019-01-26T19:14:43Z' headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10604,6 +9847,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10623,9 +9878,9 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10643,7 +9898,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *40 - - &60 + - &55 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -10662,7 +9917,7 @@ paths: type: array items: *4 examples: - default: &61 + default: &56 value: - login: octocat id: 1 @@ -10683,7 +9938,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10701,7 +9956,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10732,7 +9987,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10750,7 +10005,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *40 - - *60 + - *55 requestBody: required: true content: @@ -10781,7 +10036,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10799,8 +10054,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *40 - - *60 - - &62 + - *55 + - &57 name: username description: The handle for the GitHub user account. in: path @@ -10814,7 +10069,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &63 + exampleKey1: &58 value: login: octocat id: 1 @@ -10850,8 +10105,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '201': description: Successfully added team member @@ -10859,7 +10114,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *63 + exampleKey1: *58 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -10877,8 +10132,8 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *40 - - *60 - - *62 + - *55 + - *57 responses: '204': description: Response @@ -10888,6 +10143,303 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *40 + - *55 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: &59 + title: Organization Simple + description: A GitHub organization. + type: object + properties: + login: + type: string + examples: + - github + id: + type: integer + examples: + - 1 + node_id: + type: string + examples: + - MDEyOk9yZ2FuaXphdGlvbjE= + url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github + repos_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/repos + events_url: + type: string + format: uri + examples: + - https://api.github.com/orgs/github/events + hooks_url: + type: string + examples: + - https://api.github.com/orgs/github/hooks + issues_url: + type: string + examples: + - https://api.github.com/orgs/github/issues + members_url: + type: string + examples: + - https://api.github.com/orgs/github/members{/member} + public_members_url: + type: string + examples: + - https://api.github.com/orgs/github/public_members{/member} + avatar_url: + type: string + examples: + - https://github.com/images/error/octocat_happy.gif + description: + type: + - string + - 'null' + examples: + - A great organization + required: + - login + - url + - id + - node_id + - repos_url + - events_url + - hooks_url + - issues_url + - members_url + - public_members_url + - avatar_url + - description + examples: + default: &60 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *59 + examples: + default: &96 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *40 + - *55 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *40 + - *55 + - &61 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *59 + examples: + default: *60 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *59 + examples: + default: *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *40 + - *55 + - *61 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -10903,7 +10455,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *40 - - &64 + - &62 name: team_slug description: The slug of the team name. in: path @@ -10915,11 +10467,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -10937,7 +10489,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *40 - - *64 + - *62 requestBody: required: true content: @@ -10965,6 +10517,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10983,11 +10547,11 @@ paths: description: Response content: application/json: - schema: *58 + schema: *53 examples: - default: *59 + default: *54 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -11008,7 +10572,7 @@ paths: url: https://docs.github.com/rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *40 - - *64 + - *62 responses: '204': description: Response @@ -11046,7 +10610,7 @@ paths: application/json: schema: type: array - items: &94 + items: &91 title: Event description: Event type: object @@ -11057,7 +10621,7 @@ paths: type: - string - 'null' - actor: &65 + actor: &63 title: Actor description: Actor type: object @@ -11098,7 +10662,7 @@ paths: - id - name - url - org: *65 + org: *63 payload: oneOf: - title: CreateEvent @@ -11145,7 +10709,7 @@ paths: properties: action: type: string - discussion: &699 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -11442,7 +11006,7 @@ paths: - id labels: type: array - items: &67 + items: &65 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -11525,7 +11089,7 @@ paths: properties: action: type: string - issue: &68 + issue: &66 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -11874,12 +11438,12 @@ paths: - node_id - name - description - repository: *66 + repository: *64 performed_via_github_app: anyOf: - type: 'null' - *5 - author_association: &69 + author_association: &67 title: author_association type: string description: How the author is associated with the @@ -11895,7 +11459,7 @@ paths: - OWNER examples: - OWNER - reactions: &70 + reactions: &68 title: Reaction Rollup type: object properties: @@ -11931,7 +11495,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &617 + sub_issues_summary: &615 title: Sub-issues Summary type: object properties: @@ -11952,7 +11516,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &618 + issue_dependencies_summary: &616 title: Issue Dependencies Summary type: object properties: @@ -11971,7 +11535,7 @@ paths: - total_blocking issue_field_values: type: array - items: &619 + items: &617 title: Issue Field Value description: A value assigned to an issue field type: object @@ -12071,10 +11635,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - issue @@ -12083,8 +11647,8 @@ paths: properties: action: type: string - issue: *68 - comment: &506 + issue: *66 + comment: &496 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12134,12 +11698,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - id - node_id @@ -12318,7 +11882,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 allow_forking: type: boolean is_template: @@ -12409,7 +11973,7 @@ paths: type: string number: type: integer - pull_request: &72 + pull_request: &70 title: Pull Request Minimal type: object properties: @@ -12480,10 +12044,10 @@ paths: assignees: type: array items: *4 - label: *67 + label: *65 labels: type: array - items: *67 + items: *65 required: - action - number @@ -12493,7 +12057,7 @@ paths: properties: action: type: string - pull_request: *72 + pull_request: *70 comment: type: object properties: @@ -12747,7 +12311,7 @@ paths: - pull_request updated_at: type: string - pull_request: *72 + pull_request: *70 required: - action - review @@ -12796,7 +12360,7 @@ paths: updated_at: type: string format: date-time - reactions: *70 + reactions: *68 required: - action - comment @@ -12807,7 +12371,7 @@ paths: type: string release: allOf: - - &558 + - &548 title: Release description: A release. type: object @@ -12889,7 +12453,7 @@ paths: author: *4 assets: type: array - items: &559 + items: &549 title: Release Asset description: Data related to a release. type: object @@ -12964,7 +12528,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *70 + reactions: *68 required: - assets_url - upload_url @@ -13057,7 +12621,19 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *73 + '503': &98 + description: Service unavailable + content: + application/json: + schema: + type: object + properties: + code: + type: string + message: + type: string + documentation_url: + type: string x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -13147,7 +12723,7 @@ paths: _links: type: object properties: - timeline: &74 + timeline: &71 title: Link With Type description: Hypermedia Link with Type type: object @@ -13159,17 +12735,17 @@ paths: required: - href - type - user: *74 - security_advisories: *74 - current_user: *74 - current_user_public: *74 - current_user_actor: *74 - current_user_organization: *74 + user: *71 + security_advisories: *71 + current_user: *71 + current_user_public: *71 + current_user_actor: *71 + current_user_organization: *71 current_user_organizations: type: array - items: *74 - repository_discussions: *74 - repository_discussions_category: *74 + items: *71 + repository_discussions: *71 + repository_discussions_category: *71 required: - timeline - user @@ -13231,7 +12807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13241,7 +12817,7 @@ paths: application/json: schema: type: array - items: &76 + items: &73 title: Base Gist description: Base Gist type: object @@ -13338,7 +12914,7 @@ paths: - created_at - updated_at examples: - default: &77 + default: &74 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -13383,7 +12959,7 @@ paths: site_admin: false truncated: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 x-github: @@ -13462,7 +13038,7 @@ paths: description: Response content: application/json: - schema: &78 + schema: &75 title: Gist Simple description: Gist Simple type: object @@ -13480,7 +13056,7 @@ paths: url: type: string format: uri - user: &631 + user: &629 title: Public User description: Public User type: object @@ -13854,7 +13430,7 @@ paths: truncated: type: boolean examples: - default: &79 + default: &76 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -13958,7 +13534,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-public-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -13968,11 +13544,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -13992,7 +13568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-starred-gists parameters: - - *75 + - *72 - *17 - *19 responses: @@ -14002,11 +13578,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '401': *23 '304': *35 '403': *27 @@ -14032,7 +13608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist parameters: - - &80 + - &77 name: gist_id description: The unique identifier of the gist. in: path @@ -14044,10 +13620,10 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 - '403': &83 + default: *76 + '403': &80 description: Forbidden Gist content: application/json: @@ -14096,7 +13672,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#update-a-gist parameters: - - *80 + - *77 requestBody: required: true content: @@ -14160,9 +13736,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - updateGist: *79 + updateGist: *76 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -14320,7 +13896,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#delete-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14349,7 +13925,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#list-gist-comments parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14359,7 +13935,7 @@ paths: application/json: schema: type: array - items: &81 + items: &78 title: Gist Comment description: A comment made to a gist. type: object @@ -14397,7 +13973,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *69 + author_association: *67 required: - url - id @@ -14437,7 +14013,7 @@ paths: updated_at: '2011-04-18T23:23:56Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -14462,7 +14038,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#create-a-gist-comment parameters: - - *80 + - *77 requestBody: required: true content: @@ -14488,9 +14064,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: &82 + default: &79 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -14548,8 +14124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#get-a-gist-comment parameters: - - *80 - - &84 + - *77 + - &81 name: comment_id description: The unique identifier of the comment. in: path @@ -14562,12 +14138,12 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '304': *35 '404': *6 - '403': *83 + '403': *80 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14589,8 +14165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#update-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 requestBody: required: true content: @@ -14616,9 +14192,9 @@ paths: description: Response content: application/json: - schema: *81 + schema: *78 examples: - default: *82 + default: *79 '404': *6 x-github: githubCloudOnly: false @@ -14635,8 +14211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/comments#delete-a-gist-comment parameters: - - *80 - - *84 + - *77 + - *81 responses: '204': description: Response @@ -14659,7 +14235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-commits parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14760,7 +14336,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gist-forks parameters: - - *80 + - *77 - *17 - *19 responses: @@ -14770,7 +14346,7 @@ paths: application/json: schema: type: array - items: *78 + items: *75 examples: default: value: @@ -14816,7 +14392,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 '304': *35 '403': *27 @@ -14835,13 +14411,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#fork-a-gist parameters: - - *80 + - *77 responses: '201': description: Response content: application/json: - schema: *76 + schema: *73 examples: default: value: @@ -14912,7 +14488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#check-if-a-gist-is-starred parameters: - - *80 + - *77 responses: '204': description: Response if gist is starred @@ -14942,7 +14518,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#star-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14964,7 +14540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#unstar-a-gist parameters: - - *80 + - *77 responses: '204': description: Response @@ -14993,7 +14569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#get-a-gist-revision parameters: - - *80 + - *77 - name: sha in: path required: true @@ -15004,9 +14580,9 @@ paths: description: Response content: application/json: - schema: *78 + schema: *75 examples: - default: *79 + default: *76 '422': *15 '404': *6 '403': *27 @@ -15167,7 +14743,7 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 repository_selection: type: string examples: @@ -15291,7 +14867,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '403': *27 '304': *35 '401': *23 @@ -15394,7 +14970,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - name: collab in: query required: false @@ -15424,7 +15000,7 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: &203 value: @@ -15671,7 +15247,7 @@ paths: watchers: 1 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '404': *6 @@ -15706,7 +15282,7 @@ paths: application/json: schema: type: array - items: *71 + items: *69 examples: default: value: @@ -16004,7 +15580,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &85 + X-CommonMarker-Version: &82 example: 0.17.4 schema: type: string @@ -16059,7 +15635,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *85 + X-CommonMarker-Version: *82 content: text/html: schema: @@ -16088,7 +15664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &88 + - &85 name: account_id description: account_id parameter in: path @@ -16100,7 +15676,7 @@ paths: description: Response content: application/json: - schema: &87 + schema: &84 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -16134,7 +15710,7 @@ paths: - 'null' id: type: integer - plan: &86 + plan: &83 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -16237,7 +15813,7 @@ paths: - 'null' updated_at: type: string - plan: *86 + plan: *83 required: - url - id @@ -16245,7 +15821,7 @@ paths: - login - marketplace_purchase examples: - default: &89 + default: &86 value: url: https://api.github.com/orgs/github type: Organization @@ -16330,9 +15906,9 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: &90 + default: &87 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -16350,7 +15926,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '401': *23 x-github: @@ -16372,14 +15948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &91 + - &88 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &92 + - &89 name: sort description: The property to sort the results by. in: query @@ -16409,9 +15985,9 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: &93 + default: &90 value: - url: https://api.github.com/orgs/github type: Organization @@ -16462,7 +16038,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '401': *23 @@ -16485,15 +16061,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *88 + - *85 responses: '200': description: Response content: application/json: - schema: *87 + schema: *84 examples: - default: *89 + default: *86 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -16525,11 +16101,11 @@ paths: application/json: schema: type: array - items: *86 + items: *83 examples: - default: *90 + default: *87 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16550,8 +16126,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *91 - - *92 + - *88 + - *89 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -16571,11 +16147,11 @@ paths: application/json: schema: type: array - items: *87 + items: *84 examples: - default: *93 + default: *90 headers: - Link: *57 + Link: *52 '401': *23 x-github: githubCloudOnly: false @@ -16838,14 +16414,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &314 + - &304 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &315 + - &305 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -16862,7 +16438,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -16907,7 +16483,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &323 + '301': &313 description: Moved permanently content: application/json: @@ -16929,7 +16505,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &534 + - &524 name: all description: If `true`, show notifications marked as read. in: query @@ -16937,7 +16513,7 @@ paths: schema: type: boolean default: false - - &535 + - &525 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -16946,8 +16522,8 @@ paths: schema: type: boolean default: false - - *75 - - &536 + - *72 + - &526 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -16972,14 +16548,14 @@ paths: application/json: schema: type: array - items: &95 + items: &92 title: Thread description: Thread type: object properties: id: type: string - repository: &131 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -17483,7 +17059,7 @@ paths: - url - subscription_url examples: - default: &537 + default: &527 value: - id: '1' repository: @@ -17565,7 +17141,7 @@ paths: url: https://api.github.com/notifications/threads/1 subscription_url: https://api.github.com/notifications/threads/1/subscription headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -17649,7 +17225,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread parameters: - - &96 + - &93 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -17663,7 +17239,7 @@ paths: description: Response content: application/json: - schema: *95 + schema: *92 examples: default: value: @@ -17765,7 +17341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-read parameters: - - *96 + - *93 responses: '205': description: Reset Content @@ -17787,7 +17363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-a-thread-as-done parameters: - - *96 + - *93 responses: '204': description: No content @@ -17810,13 +17386,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *96 + - *93 responses: '200': description: Response content: application/json: - schema: &97 + schema: &94 title: Thread Subscription description: Thread Subscription type: object @@ -17860,7 +17436,7 @@ paths: - url - subscribed examples: - default: &98 + default: &95 value: subscribed: true ignored: false @@ -17891,7 +17467,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#set-a-thread-subscription parameters: - - *96 + - *93 requestBody: required: false content: @@ -17912,9 +17488,9 @@ paths: description: Response content: application/json: - schema: *97 + schema: *94 examples: - default: *98 + default: *95 '304': *35 '403': *27 '401': *23 @@ -17937,7 +17513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#delete-a-thread-subscription parameters: - - *96 + - *93 responses: '204': description: Response @@ -18032,92 +17608,9 @@ paths: application/json: schema: type: array - items: &160 - title: Organization Simple - description: A GitHub organization. - type: object - properties: - login: - type: string - examples: - - github - id: - type: integer - examples: - - 1 - node_id: - type: string - examples: - - MDEyOk9yZ2FuaXphdGlvbjE= - url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github - repos_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/repos - events_url: - type: string - format: uri - examples: - - https://api.github.com/orgs/github/events - hooks_url: - type: string - examples: - - https://api.github.com/orgs/github/hooks - issues_url: - type: string - examples: - - https://api.github.com/orgs/github/issues - members_url: - type: string - examples: - - https://api.github.com/orgs/github/members{/member} - public_members_url: - type: string - examples: - - https://api.github.com/orgs/github/public_members{/member} - avatar_url: - type: string - examples: - - https://github.com/images/error/octocat_happy.gif - description: - type: - - string - - 'null' - examples: - - A great organization - required: - - login - - url - - id - - node_id - - repos_url - - events_url - - hooks_url - - issues_url - - members_url - - public_members_url - - avatar_url - - description + items: *59 examples: - default: &647 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *96 headers: Link: example: ; rel="next" @@ -18144,13 +17637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - &99 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *61 - name: page in: query description: The page number of results to fetch. @@ -18301,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -18367,7 +17854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *99 + - *61 requestBody: required: true content: @@ -18404,9 +17891,10 @@ paths: "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization - description: Gets a report of premium request usage for an organization. To - use this endpoint, you must be an administrator of an organization within - an enterprise or an organization account. + description: |- + Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-org @@ -18414,8 +17902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - - *99 - - &101 + - *61 + - &99 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18424,7 +17912,7 @@ paths: required: false schema: type: integer - - &673 + - &670 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current @@ -18433,7 +17921,7 @@ paths: required: false schema: type: integer - - &102 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18448,14 +17936,14 @@ paths: required: false schema: type: string - - &674 + - &671 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &675 + - &672 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -18517,19 +18005,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -18571,8 +18059,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18592,9 +18080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: + - *61 - *99 - - *101 - - &678 + - &675 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18603,8 +18091,8 @@ paths: required: false schema: type: integer - - *102 - - &679 + - *100 + - &676 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18687,8 +18175,8 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18714,13 +18202,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &103 + schema: &101 title: Organization Full description: Organization Full type: object @@ -19115,7 +18603,7 @@ paths: - updated_at - archived_at examples: - default-response: &104 + default-response: &102 value: login: github id: 1 @@ -19215,7 +18703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#update-an-organization parameters: - - *99 + - *61 requestBody: required: false content: @@ -19432,17 +18920,17 @@ paths: description: Response content: application/json: - schema: *103 + schema: *101 examples: - default: *104 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *105 - - *106 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -19466,7 +18954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#delete-an-organization parameters: - - *99 + - *61 responses: '202': *37 '404': *6 @@ -19491,7 +18979,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19517,7 +19005,7 @@ paths: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19538,7 +19026,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19556,7 +19044,7 @@ paths: type: integer repository_cache_usages: type: array - items: &328 + items: &318 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -19594,7 +19082,7 @@ paths: active_caches_size_in_bytes: 1022142 active_caches_count: 2 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19614,7 +19102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -19632,7 +19120,7 @@ paths: type: integer runners: type: array - items: &107 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -19689,7 +19177,7 @@ paths: - size_gb - display_name - source - machine_size_details: &110 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -19794,7 +19282,7 @@ paths: - public_ip_enabled - platform examples: - default: &130 + default: &128 value: total_count: 2 runners: @@ -19836,7 +19324,7 @@ paths: public_ips: [] last_active_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19854,7 +19342,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -19921,9 +19409,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: &111 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -19962,7 +19450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -19978,7 +19466,7 @@ paths: type: integer images: type: array - items: &108 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -20018,7 +19506,7 @@ paths: - display_name - source examples: - default: &109 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -20042,7 +19530,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20058,9 +19546,9 @@ paths: type: integer images: type: array - items: *108 + items: *106 examples: - default: *109 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20077,7 +19565,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20132,7 +19620,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20148,7 +19636,7 @@ paths: type: integer machine_specs: type: array - items: *110 + items: *108 examples: default: value: @@ -20173,7 +19661,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20217,8 +19705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *99 - - &112 + - *61 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -20230,11 +19718,11 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20252,8 +19740,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *110 requestBody: required: true content: @@ -20291,9 +19779,9 @@ paths: description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20309,16 +19797,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *99 - - *112 + - *61 + - *110 responses: '202': description: Response content: application/json: - schema: *107 + schema: *105 examples: - default: *111 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -20338,13 +19826,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &113 + schema: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20358,7 +19846,7 @@ paths: required: - include_claim_keys examples: - default: &114 + default: &112 value: include_claim_keys: - repo @@ -20380,20 +19868,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: *113 + schema: *111 examples: - default: *114 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &140 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -20423,7 +19911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -20432,7 +19920,7 @@ paths: schema: type: object properties: - enabled_repositories: &115 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20445,7 +19933,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &116 + allowed_actions: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -20453,12 +19941,12 @@ paths: - all - local_only - selected - selected_actions_url: &334 + selected_actions_url: &324 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &117 + sha_pinning_required: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -20489,7 +19977,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20500,9 +19988,9 @@ paths: schema: type: object properties: - enabled_repositories: *115 - allowed_actions: *116 - sha_pinning_required: *117 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -20530,13 +20018,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &338 + schema: &328 type: object properties: days: @@ -20573,12 +20061,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &339 + schema: &329 type: object properties: days: @@ -20615,13 +20103,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &118 + schema: &116 type: object properties: approval_policy: @@ -20635,7 +20123,7 @@ paths: required: - approval_policy examples: - default: &340 + default: &330 value: approval_policy: first_time_contributors '404': *6 @@ -20656,7 +20144,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -20666,7 +20154,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -20688,13 +20176,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &341 + schema: &331 type: object required: - run_workflows_from_fork_pull_requests @@ -20720,7 +20208,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &119 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -20743,12 +20231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &342 + schema: &332 type: object required: - run_workflows_from_fork_pull_requests @@ -20771,7 +20259,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -20801,7 +20289,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -20819,9 +20307,9 @@ paths: type: number repositories: type: array - items: *66 + items: *64 examples: - default: &123 + default: &121 value: total_count: 1 repositories: @@ -20961,7 +20449,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21005,8 +20493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - &120 + - *61 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -21034,8 +20522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -21058,13 +20546,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &121 + schema: &119 type: object properties: github_owned_allowed: @@ -21086,7 +20574,7 @@ paths: items: type: string examples: - default: &122 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -21111,7 +20599,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -21119,9 +20607,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21141,7 +20629,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -21189,7 +20677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-self-hosted-runners-settings-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21236,7 +20724,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#list-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -21251,9 +20739,9 @@ paths: type: integer repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 '403': *27 '404': *6 x-github: @@ -21273,7 +20761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21321,8 +20809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: No content @@ -21348,8 +20836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: No content @@ -21377,23 +20865,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &343 + schema: &333 type: object properties: - default_workflow_permissions: &124 + default_workflow_permissions: &122 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &125 + can_approve_pull_request_reviews: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -21401,7 +20889,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &126 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -21426,7 +20914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Success response @@ -21434,13 +20922,13 @@ paths: required: false content: application/json: - schema: &344 + schema: &334 type: object properties: - default_workflow_permissions: *124 - can_approve_pull_request_reviews: *125 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21460,7 +20948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *99 + - *61 - *17 - *19 - name: visible_to_repository @@ -21485,7 +20973,7 @@ paths: type: number runner_groups: type: array - items: &127 + items: &125 type: object properties: id: @@ -21602,7 +21090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -21675,9 +21163,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: &129 + default: &127 value: id: 2 name: octo-runner-group @@ -21712,8 +21200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - &128 + - *61 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -21725,7 +21213,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: default: value: @@ -21761,8 +21249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -21818,9 +21306,9 @@ paths: description: Response content: application/json: - schema: *127 + schema: *125 examples: - default: *129 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21839,8 +21327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *99 - - *128 + - *61 + - *126 responses: '204': description: Response @@ -21863,8 +21351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *17 - *19 responses: @@ -21882,11 +21370,11 @@ paths: type: number runners: type: array - items: *107 + items: *105 examples: - default: *130 + default: *128 headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21906,8 +21394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *19 - *17 responses: @@ -21925,9 +21413,9 @@ paths: type: number repositories: type: array - items: *131 + items: *129 examples: - default: &634 + default: &632 value: total_count: 1 repositories: @@ -22179,8 +21667,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -22224,9 +21712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *126 + - *118 responses: '204': description: Response @@ -22248,9 +21736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *99 - - *128 - - *120 + - *61 + - *126 + - *118 responses: '204': description: Response @@ -22273,8 +21761,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 - *17 - *19 responses: @@ -22292,7 +21780,7 @@ paths: type: number runners: type: array - items: &133 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -22326,7 +21814,7 @@ paths: type: boolean labels: type: array - items: &136 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -22356,7 +21844,7 @@ paths: - busy - labels examples: - default: &134 + default: &132 value: total_count: 2 runners: @@ -22396,7 +21884,7 @@ paths: name: no-gpu type: custom headers: - Link: *57 + Link: *52 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22415,8 +21903,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *99 - - *128 + - *61 + - *126 requestBody: required: true content: @@ -22460,9 +21948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *99 - - *128 - - &132 + - *61 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -22490,9 +21978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *99 - - *128 - - *132 + - *61 + - *126 + - *130 responses: '204': description: Response @@ -22522,7 +22010,7 @@ paths: in: query schema: type: string - - *99 + - *61 - *17 - *19 responses: @@ -22540,11 +22028,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -22574,7 +22062,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Runner Application description: Runner Application type: object @@ -22599,7 +22087,7 @@ paths: - download_url - filename examples: - default: &346 + default: &336 value: - os: osx architecture: x64 @@ -22642,7 +22130,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -22685,7 +22173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &347 + '201': &337 description: Response content: application/json: @@ -22695,7 +22183,7 @@ paths: - runner - encoded_jit_config properties: - runner: *133 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -22752,13 +22240,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: &135 + schema: &133 title: Authentication Token description: Authentication Token type: object @@ -22782,7 +22270,7 @@ paths: repositories: description: The repositories this token has access to type: array - items: *66 + items: *64 single_file: type: - string @@ -22800,7 +22288,7 @@ paths: - token - expires_at examples: - default: &348 + default: &338 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -22831,15 +22319,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *99 + - *61 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: &349 + default: &339 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -22864,16 +22352,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: &350 + default: &340 value: id: 23 name: MBP @@ -22914,8 +22402,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: '204': description: Response @@ -22941,10 +22429,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: - '200': &137 + '200': &135 description: Response content: application/json: @@ -22958,7 +22446,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -22997,8 +22485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 requestBody: required: true content: @@ -23022,7 +22510,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23046,8 +22534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 requestBody: required: true content: @@ -23072,7 +22560,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23096,10 +22584,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 + - *61 + - *130 responses: - '200': &351 + '200': &341 description: Response content: application/json: @@ -23113,7 +22601,7 @@ paths: type: integer labels: type: array - items: *136 + items: *134 examples: default: value: @@ -23154,9 +22642,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *99 - - *132 - - &352 + - *61 + - *130 + - &342 name: name description: The name of a self-hosted runner's custom label. in: path @@ -23164,7 +22652,7 @@ paths: schema: type: string responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -23189,7 +22677,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -23207,7 +22695,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23259,7 +22747,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23282,13 +22770,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &364 + schema: &354 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23323,7 +22811,7 @@ paths: - key_id - key examples: - default: &365 + default: &355 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23348,8 +22836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - - *99 - - &139 + - *61 + - &137 name: secret_name description: The name of the secret. in: path @@ -23361,7 +22849,7 @@ paths: description: Response content: application/json: - schema: *138 + schema: *136 examples: default: value: @@ -23391,8 +22879,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23449,7 +22937,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23475,8 +22963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -23502,8 +22990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -23521,9 +23009,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: &143 + default: &141 value: total_count: 1 repositories: @@ -23615,8 +23103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -23668,8 +23156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -23702,8 +23190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -23735,8 +23223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - - *99 - - &333 + - *61 + - &323 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -23760,7 +23248,7 @@ paths: type: integer variables: type: array - items: &141 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23829,7 +23317,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/actions/variables/ADMIN_EMAIL/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23850,7 +23338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-organization-variable parameters: - - *99 + - *61 requestBody: required: true content: @@ -23898,7 +23386,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -23923,8 +23411,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - - *99 - - &142 + - *61 + - &140 name: name description: The name of the variable. in: path @@ -23936,7 +23424,7 @@ paths: description: Response content: application/json: - schema: *141 + schema: *139 examples: default: value: @@ -23966,8 +23454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24029,8 +23517,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 responses: '204': description: Response @@ -24056,8 +23544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - *19 - *17 responses: @@ -24075,9 +23563,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24103,8 +23591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 requestBody: required: true content: @@ -24153,8 +23641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - name: repository_id in: path required: true @@ -24188,8 +23676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *99 - - *142 + - *61 + - *140 - name: repository_id in: path required: true @@ -24220,7 +23708,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#create-artifact-metadata-storage-record parameters: - - *99 + - *61 requestBody: required: true content: @@ -24362,7 +23850,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/artifact-metadata#list-artifact-storage-records parameters: - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24448,7 +23936,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 requestBody: required: true content: @@ -24471,12 +23959,12 @@ paths: required: - subject_digests examples: - default: &662 + default: &659 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &663 + withPredicateType: &660 value: subject_digests: - sha256:abc123 @@ -24535,7 +24023,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &664 + default: &661 value: attestations_subject_digests: - sha256:abc: @@ -24644,7 +24132,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *99 + - *61 requestBody: required: true content: @@ -24709,7 +24197,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *99 + - *61 - name: subject_digest description: Subject Digest in: path @@ -24728,6 +24216,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *38 + - *39 + - *61 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -24740,7 +24279,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/attestations#delete-attestations-by-id parameters: - - *99 + - *61 - name: attestation_id description: Attestation ID in: path @@ -24778,7 +24317,7 @@ paths: - *17 - *38 - *39 - - *99 + - *61 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24831,7 +24370,7 @@ paths: initiator: type: string examples: - default: &378 + default: &368 value: attestations: - bundle: @@ -24938,7 +24477,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -24950,7 +24489,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24969,8 +24508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: If the user is blocked @@ -24995,8 +24534,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25016,8 +24555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -25042,7 +24581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *99 + - *61 - *19 - *17 - *46 @@ -25050,7 +24589,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &144 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -25076,7 +24615,7 @@ paths: application/json: schema: type: array - items: &145 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -25107,7 +24646,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &161 + items: &163 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -25320,7 +24859,7 @@ paths: - string - 'null' format: date-time - state: *144 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -25416,9 +24955,9 @@ paths: closed_at: state: open headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25442,7 +24981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -25537,9 +25076,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: &146 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -25588,7 +25127,7 @@ paths: schema: *3 '429': description: Too Many Requests - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25610,7 +25149,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25622,16 +25161,16 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '404': *6 '422': description: Unprocessable Entity content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25652,7 +25191,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25702,7 +25241,7 @@ paths: - string - 'null' format: uri - state: *144 + state: *142 examples: default: value: @@ -25712,9 +25251,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *143 examples: - default: *146 + default: *144 '400': description: Bad Request content: @@ -25726,7 +25265,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25747,7 +25286,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *99 + - *61 - name: campaign_number description: The campaign number. in: path @@ -25758,7 +25297,7 @@ paths: '204': description: Deletion successful '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25780,18 +25319,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *99 - - &402 + - *61 + - &392 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &149 + schema: &152 type: string description: The name of the tool used to generate the code scanning analysis. - - &403 + - &393 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -25799,7 +25338,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &150 + schema: &153 type: - string - 'null' @@ -25815,7 +25354,7 @@ paths: be returned. in: query required: false - schema: &405 + schema: &395 type: string description: State of a code scanning alert. enum: @@ -25838,7 +25377,7 @@ paths: be returned. in: query required: false - schema: &406 + schema: &396 type: string description: Severity of a code scanning alert. enum: @@ -25859,18 +25398,18 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: &407 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: &397 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &151 + state: &154 type: - string - 'null' @@ -25880,13 +25419,13 @@ paths: - dismissed - fixed - - fixed_at: *147 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: &408 + dismissed_at: *151 + dismissed_reason: &398 type: - string - 'null' @@ -25897,14 +25436,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &409 + dismissed_comment: &399 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &410 + rule: &400 type: object properties: id: @@ -25965,26 +25504,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &411 + tool: &401 type: object properties: - name: *149 + name: *152 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *150 - most_recent_instance: &412 + guid: *153 + most_recent_instance: &402 type: object properties: - ref: &404 + ref: &394 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &422 + analysis_key: &412 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -25995,13 +25534,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &423 + category: &413 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *151 + state: *154 commit_sha: type: string message: @@ -26294,9 +25833,9 @@ paths: trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26318,7 +25857,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *99 + - *61 - name: target_type in: query description: The target type of the code security configuration @@ -26429,7 +25968,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#create-a-code-security-configuration parameters: - - *99 + - *61 requestBody: required: true content: @@ -26507,7 +26046,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *152 + code_scanning_options: *155 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -26650,7 +26189,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26672,15 +26211,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-default-code-security-configurations parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: *154 + schema: *157 examples: - default: *155 + default: *158 '304': *35 '403': *27 '404': *6 @@ -26706,7 +26245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -26732,7 +26271,7 @@ paths: - 32 - 91 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -26758,7 +26297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: '200': @@ -26767,7 +26306,7 @@ paths: application/json: schema: *41 examples: - default: *153 + default: *156 '304': *35 '403': *27 '404': *6 @@ -26791,7 +26330,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#update-a-code-security-configuration parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27048,10 +26587,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *99 + - *61 - *43 responses: - '204': *156 + '204': *159 '400': *14 '403': *27 '404': *6 @@ -27079,7 +26618,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27143,7 +26682,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *99 + - *61 - *43 requestBody: required: true @@ -27189,7 +26728,7 @@ paths: default: value: default_for_new_repos: all - configuration: *153 + configuration: *156 '403': *27 '404': *6 x-github: @@ -27213,7 +26752,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *99 + - *61 - *43 - name: per_page description: The number of results per page (max 100). For more information, @@ -27242,13 +26781,13 @@ paths: application/json: schema: type: array - items: *157 + items: *160 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *158 + repository: *161 '403': *27 '404': *6 x-github: @@ -27272,7 +26811,7 @@ paths: parameters: - *17 - *19 - - *99 + - *61 responses: '200': description: Response @@ -27319,11 +26858,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *131 + repository: *129 machine: anyOf: - type: 'null' - - &435 + - &425 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -28020,7 +27559,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28042,7 +27581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28086,7 +27625,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28109,7 +27648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *99 + - *61 deprecated: true requestBody: required: true @@ -28141,7 +27680,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28164,7 +27703,7 @@ paths: url: https://docs.github.com/rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *99 + - *61 requestBody: required: true content: @@ -28195,7 +27734,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28216,7 +27755,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -28234,7 +27773,7 @@ paths: type: integer secrets: type: array - items: &159 + items: &162 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -28275,7 +27814,7 @@ paths: - updated_at - visibility examples: - default: &436 + default: &426 value: total_count: 2 secrets: @@ -28288,7 +27827,7 @@ paths: updated_at: '2020-01-11T11:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28307,13 +27846,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &437 + schema: &427 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -28348,7 +27887,7 @@ paths: - key_id - key examples: - default: &438 + default: &428 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28371,23 +27910,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response content: application/json: - schema: *159 + schema: *162 examples: - default: &440 + default: &430 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' updated_at: '2020-01-10T14:59:22Z' visibility: all headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -28407,8 +27946,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -28463,7 +28002,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -28489,8 +28028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -28515,8 +28054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -28534,9 +28073,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -28558,8 +28097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -28609,8 +28148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -28643,8 +28182,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -28683,7 +28222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: OK @@ -28792,7 +28331,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -28824,7 +28363,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *99 + - *61 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -28860,13 +28399,13 @@ paths: organization: anyOf: - type: 'null' - - *160 + - *59 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *161 - - *58 + - *163 + - *53 type: - 'null' - object @@ -28996,8 +28535,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29030,7 +28569,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29072,7 +28611,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29108,7 +28647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29150,7 +28689,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29188,7 +28727,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29229,7 +28768,7 @@ paths: default: value: seats_created: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29265,7 +28804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *99 + - *61 requestBody: content: application/json: @@ -29307,7 +28846,7 @@ paths: default: value: seats_cancelled: 5 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -29346,7 +28885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *99 + - *61 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -29378,7 +28917,7 @@ paths: application/json: schema: type: array - items: &296 + items: &286 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -29693,7 +29232,7 @@ paths: - date additionalProperties: true examples: - default: &297 + default: &287 value: - date: '2024-06-24' total_active_users: 24 @@ -29792,10 +29331,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *100 + '500': *97 '403': *27 '404': *6 - '422': &298 + '422': &288 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -29822,12 +29361,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *99 - - *162 - - *163 + - *61 - *164 - *165 - *166 + - *167 + - *168 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -29865,13 +29404,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *167 - - *168 + - *169 + - *170 - *46 - *38 - *39 - - *169 - - *170 - *17 responses: '200': @@ -29908,7 +29445,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-organization-secrets parameters: - - *99 + - *61 - *17 - *19 responses: @@ -29978,7 +29515,7 @@ paths: visibility: selected selected_repositories_url: https://api.github.com/orgs/octo-org/dependabot/secrets/SUPER_SECRET/repositories headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29999,13 +29536,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &463 + schema: &453 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -30024,7 +29561,7 @@ paths: - key_id - key examples: - default: &464 + default: &454 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -30047,8 +29584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: Response @@ -30082,8 +29619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30142,7 +29679,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -30166,8 +29703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -30191,8 +29728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - *19 - *17 responses: @@ -30210,9 +29747,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30233,8 +29770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -30284,8 +29821,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -30316,8 +29853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *99 - - *139 + - *61 + - *137 - name: repository_id in: path required: true @@ -30347,7 +29884,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -30408,7 +29945,7 @@ paths: repository: anyOf: - type: 'null' - - *131 + - *129 created_at: type: string format: date-time @@ -30504,7 +30041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-organization-events parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30514,7 +30051,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -30586,7 +30123,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-failed-organization-invitations parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30683,7 +30220,7 @@ paths: invitation_teams_url: https://api.github.com/organizations/2/invitations/1/teams invitation_source: member headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30707,7 +30244,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-organization-webhooks parameters: - - *99 + - *61 - *17 - *19 responses: @@ -30817,7 +30354,7 @@ paths: created_at: '2011-09-06T17:26:27Z' type: Organization headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -30840,7 +30377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#create-an-organization-webhook parameters: - - *99 + - *61 requestBody: required: true content: @@ -30951,7 +30488,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - - *99 + - *61 - &176 name: hook_id description: The unique identifier of the hook. You can find this value in @@ -30994,7 +30531,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31082,7 +30619,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31110,7 +30647,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 responses: '200': @@ -31141,7 +30678,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *99 + - *61 - *176 requestBody: required: false @@ -31192,7 +30729,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *17 - *177 @@ -31230,7 +30767,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31265,7 +30802,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *99 + - *61 - *176 - *16 responses: @@ -31295,7 +30832,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *99 + - *61 - *176 responses: '204': @@ -31318,7 +30855,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *99 + - *61 - &186 name: actor_type in: path @@ -31441,7 +30978,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - - *99 + - *61 - *182 - *183 - *19 @@ -31526,7 +31063,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - - *99 + - *61 - *182 - *183 responses: @@ -31570,7 +31107,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *99 + - *61 - &188 name: user_id in: path @@ -31605,7 +31142,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *99 + - *61 - *182 - *183 - *186 @@ -31634,7 +31171,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - - *99 + - *61 - *182 - *183 - &189 @@ -31702,7 +31239,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31731,7 +31268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *99 + - *61 - *186 - *187 - *182 @@ -31761,7 +31298,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - - *99 + - *61 - *188 - *182 - *183 @@ -31844,7 +31381,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *99 + - *61 responses: '200': description: Response @@ -31852,7 +31389,7 @@ paths: application/json: schema: *20 examples: - default: &502 + default: &492 value: id: 1 account: @@ -31921,7 +31458,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -31991,7 +31528,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32010,7 +31547,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32075,12 +31612,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: application/json: - schema: &503 + schema: &493 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration @@ -32131,7 +31668,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -32155,7 +31692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-pending-organization-invitations parameters: - - *99 + - *61 - *17 - *19 - name: role @@ -32193,7 +31730,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32214,7 +31751,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#create-an-organization-invitation parameters: - - *99 + - *61 requestBody: required: false content: @@ -32322,7 +31859,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - - *99 + - *61 - &198 name: invitation_id description: The unique identifier of the invitation. @@ -32353,7 +31890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - - *99 + - *61 - *198 - *17 - *19 @@ -32364,7 +31901,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: &215 value: @@ -32382,7 +31919,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32401,7 +31938,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -32447,7 +31984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -32531,7 +32068,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *99 + - *61 - &201 name: issue_type_id description: The unique identifier of the issue type. @@ -32614,7 +32151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *99 + - *61 - *201 responses: '204': @@ -32648,7 +32185,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *99 + - *61 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -32697,7 +32234,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -32707,11 +32244,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -32731,7 +32268,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-organization-members parameters: - - *99 + - *61 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -32769,9 +32306,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -32789,8 +32326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if requester is an organization member and user is @@ -32824,8 +32361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-an-organization-member parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -32851,8 +32388,8 @@ paths: parameters: - *17 - *19 - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -32872,7 +32409,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32895,8 +32432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *99 - - *62 + - *61 + - *57 - &206 name: codespace_name in: path @@ -32907,7 +32444,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -32930,8 +32467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *99 - - *62 + - *61 + - *57 - *206 responses: '200': @@ -32940,7 +32477,7 @@ paths: application/json: schema: *204 examples: - default: &434 + default: &424 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -33082,7 +32619,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33113,8 +32650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -33164,7 +32701,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -33189,8 +32726,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '200': description: Response @@ -33245,7 +32782,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *160 + organization: *59 user: anyOf: - type: 'null' @@ -33333,8 +32870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -33388,8 +32925,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -33414,7 +32951,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-organization-migrations parameters: - - *99 + - *61 - *17 - *19 - name: exclude @@ -33478,7 +33015,7 @@ paths: type: array description: The repositories included in the migration. Only returned for export migrations. - items: *66 + items: *64 url: type: string format: uri @@ -33677,7 +33214,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -33693,7 +33230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#start-an-organization-migration parameters: - - *99 + - *61 requestBody: required: true content: @@ -33952,7 +33489,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - - *99 + - *61 - &211 name: migration_id description: The unique identifier of the migration. @@ -34150,7 +33687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '302': @@ -34172,7 +33709,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *99 + - *61 - *211 responses: '204': @@ -34196,9 +33733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - - *99 + - *61 - *211 - - &646 + - &644 name: repo_name description: repo_name parameter in: path @@ -34225,7 +33762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *99 + - *61 - *211 - *17 - *19 @@ -34236,7 +33773,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: &222 value: @@ -34349,7 +33886,7 @@ paths: secret_scanning_non_provider_patterns: status: disabled headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -34375,7 +33912,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response - list of organization roles @@ -34540,8 +34077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -34566,8 +34103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *99 - - *64 + - *61 + - *62 - &212 name: role_id description: The unique identifier of the role. @@ -34603,8 +34140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *99 - - *64 + - *61 + - *62 - *212 responses: '204': @@ -34630,8 +34167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -34656,8 +34193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34688,8 +34225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *99 - - *62 + - *61 + - *57 - *212 responses: '204': @@ -34718,7 +34255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - - *99 + - *61 - *212 responses: '200': @@ -34775,7 +34312,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *99 + - *61 - *212 - *17 - *19 @@ -34890,7 +34427,7 @@ paths: examples: default: *215 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -34917,7 +34454,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *99 + - *61 - *212 - *17 - *19 @@ -35064,9 +34601,9 @@ paths: - type - url examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': description: Response if the organization or role does not exist. '422': @@ -35088,7 +34625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *99 + - *61 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -35115,9 +34652,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35140,8 +34677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *99 - - *62 + - *61 + - *57 requestBody: required: false content: @@ -35198,8 +34735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -35256,8 +34793,8 @@ paths: - docker - nuget - container - - *99 - - &648 + - *61 + - &645 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -35298,7 +34835,7 @@ paths: default: *217 '403': *27 '401': *23 - '400': &650 + '400': &647 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -35345,7 +34882,7 @@ paths: required: true schema: type: string - - *99 + - *61 responses: '200': description: Response @@ -35405,7 +34942,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 responses: '204': description: Response @@ -35439,7 +34976,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - name: token description: package token schema: @@ -35473,7 +35010,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *19 - *17 - name: state @@ -35630,7 +35167,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - &221 name: package_version_id description: Unique identifier of the package version. @@ -35681,7 +35218,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35716,7 +35253,7 @@ paths: parameters: - *218 - *219 - - *99 + - *61 - *221 responses: '204': @@ -35744,7 +35281,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 - *17 - *19 - &223 @@ -35821,7 +35358,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -35956,7 +35493,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +35513,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36018,7 +35555,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36043,7 +35580,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36080,11 +35617,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36105,7 +35642,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *99 + - *61 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -36116,7 +35653,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36125,11 +35662,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36150,7 +35687,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *99 + - *61 - *17 - *19 - *223 @@ -36162,7 +35699,7 @@ paths: - *228 - *229 responses: - '500': *100 + '500': *97 '422': *15 '404': *6 '403': *27 @@ -36291,7 +35828,7 @@ paths: token_expires_at: '2023-11-16T08:47:09.000-07:00' token_last_used_at: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36311,7 +35848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *99 + - *61 requestBody: required: true content: @@ -36346,7 +35883,7 @@ paths: - 1296269 - 1296280 responses: - '500': *100 + '500': *97 '404': *6 '202': *37 '403': *27 @@ -36371,7 +35908,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *99 + - *61 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -36399,9 +35936,9 @@ paths: value: action: revoke responses: - '500': *100 + '500': *97 '404': *6 - '204': *156 + '204': *159 '403': *27 '422': *15 x-github: @@ -36423,7 +35960,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *99 + - *61 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -36433,7 +35970,7 @@ paths: - *17 - *19 responses: - '500': *100 + '500': *97 '404': *6 '403': *27 '200': @@ -36442,11 +35979,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36468,7 +36005,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -36555,7 +36092,7 @@ paths: updated_at: '2020-01-10T14:59:22Z' visibility: selected headers: - Link: *57 + Link: *52 '400': *14 '404': *6 x-github: @@ -36577,7 +36114,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -36786,7 +36323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -36814,7 +36351,7 @@ paths: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -36836,8 +36373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 responses: '200': description: The specified private registry configuration for the organization @@ -36866,8 +36403,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 requestBody: required: true content: @@ -36963,8 +36500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *99 - - *139 + - *61 + - *137 responses: '204': description: Response @@ -36989,7 +36526,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-organization-projects parameters: - - *99 + - *61 - name: state description: Indicates the state of the projects to return. in: query @@ -37143,7 +36680,7 @@ paths: organization_permission: write private: true headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -37166,7 +36703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-an-organization-project parameters: - - *99 + - *61 requestBody: required: true content: @@ -37230,7 +36767,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &320 + '410': &310 description: Gone content: application/json: @@ -37256,7 +36793,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-organization parameters: - - *99 + - *61 - name: q description: Limit results to projects of the specified type. in: query @@ -37347,7 +36884,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &727 + - &724 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -37515,7 +37052,7 @@ paths: updated_at: '2025-07-11T16:19:28Z' is_template: true headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37542,7 +37079,7 @@ paths: required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37552,7 +37089,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37573,7 +37110,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - *235 - - *99 + - *61 - *17 - *38 - *39 @@ -37757,7 +37294,7 @@ paths: created_at: '2022-04-28T12:00:00Z' updated_at: '2022-04-28T12:00:00Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37778,14 +37315,14 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - *235 - - &667 + - &664 name: field_id description: The unique identifier of the field. in: path required: true schema: type: integer - - *99 + - *61 responses: '200': description: Response @@ -37795,7 +37332,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -37817,7 +37354,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) for more information. @@ -37826,8 +37363,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -37835,8 +37374,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *38 - *39 - *17 @@ -38595,7 +38132,7 @@ paths: type: sub_issues_progress value: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -38615,7 +38152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - - *99 + - *61 - *235 requestBody: required: true @@ -38653,7 +38190,7 @@ paths: description: Response content: application/json: - schema: &668 + schema: &665 title: Projects v2 Item description: An item belonging to a project type: object @@ -38666,8 +38203,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *68 - - &447 + - *66 + - &437 title: Pull Request Simple description: Pull Request Simple type: object @@ -38842,7 +38379,7 @@ paths: type: - array - 'null' - items: *161 + items: *163 head: type: object properties: @@ -38850,7 +38387,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38870,7 +38407,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: @@ -38911,8 +38448,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: &544 + author_association: *67 + auto_merge: &534 title: Auto merge description: The status of auto merging a pull request. type: @@ -39127,7 +38664,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - *235 - - *99 + - *61 - &244 name: item_id description: The unique identifier of the project item. @@ -39156,7 +38693,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -39176,7 +38713,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 requestBody: required: true @@ -39277,7 +38814,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - *235 - - *99 + - *61 - *244 responses: '204': @@ -39302,7 +38839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response @@ -39434,7 +38971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -39498,7 +39035,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *99 + - *61 - &247 name: custom_property_name description: The custom property name @@ -39547,7 +39084,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 requestBody: required: true @@ -39651,10 +39188,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *99 + - *61 - *247 responses: - '204': *156 + '204': *159 '403': *27 '404': *6 x-github: @@ -39675,7 +39212,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 - *17 - *19 - name: repository_query @@ -39758,7 +39295,7 @@ paths: - property_name: team value: octocat headers: - Link: *57 + Link: *52 '403': *27 '404': *6 x-github: @@ -39786,7 +39323,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *99 + - *61 requestBody: required: true content: @@ -39847,7 +39384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#list-public-organization-members parameters: - - *99 + - *61 - *17 - *19 responses: @@ -39859,9 +39396,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39878,8 +39415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response if user is a public member @@ -39903,8 +39440,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39925,8 +39462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *99 - - *62 + - *61 + - *57 responses: '204': description: Response @@ -39950,7 +39487,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-organization-repositories parameters: - - *99 + - *61 - name: type description: Specifies the types of repositories you want returned. in: query @@ -39996,11 +39533,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40019,7 +39556,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-organization-repository parameters: - - *99 + - *61 requestBody: required: true content: @@ -40201,7 +39738,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &312 title: Full Repository description: Full Repository type: object @@ -40547,7 +40084,7 @@ paths: template_repository: anyOf: - type: 'null' - - *66 + - *64 temp_clone_token: type: - string @@ -40647,13 +40184,13 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' - *4 - parent: *66 - source: *66 + parent: *64 + source: *64 forks: type: integer master_branch: @@ -40666,7 +40203,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &452 + code_of_conduct: &442 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -40780,7 +40317,7 @@ paths: - network_count - subscribers_count examples: - default: &324 + default: &314 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -41298,10 +40835,10 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - *17 - *19 - - &567 + - &557 name: targets description: | A comma-separated list of rule targets to filter by. @@ -41587,7 +41124,7 @@ paths: - object rules: type: array - items: &568 + items: &558 title: Repository Rule type: object description: A repository rule. @@ -41649,7 +41186,7 @@ paths: type: string enum: - required_linear_history - - &565 + - &555 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -42273,7 +41810,7 @@ paths: - tool required: - code_scanning_tools - - &566 + - &556 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -42334,7 +41871,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -42350,7 +41887,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 requestBody: description: Request body required: true @@ -42484,7 +42021,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -42498,8 +42035,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *99 - - &569 + - *61 + - &559 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -42514,7 +42051,7 @@ paths: in: query schema: type: string - - &570 + - &560 name: time_period description: |- The time period to filter by. @@ -42530,14 +42067,14 @@ paths: - week - month default: day - - &571 + - &561 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &572 + - &562 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -42557,7 +42094,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &563 title: Rule Suites description: Response type: array @@ -42613,7 +42150,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &574 + default: &564 value: - id: 21 actor_id: 12 @@ -42637,7 +42174,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42656,8 +42193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *99 - - &575 + - *61 + - &565 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42673,7 +42210,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &566 title: Rule Suite description: Response type: object @@ -42780,7 +42317,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &577 + default: &567 value: id: 21 actor_id: 12 @@ -42815,7 +42352,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42841,7 +42378,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42857,7 +42394,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -42873,7 +42410,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42947,7 +42484,7 @@ paths: examples: default: *277 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -42963,7 +42500,7 @@ paths: category: orgs subcategory: rules parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -42974,7 +42511,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -42986,7 +42523,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-history parameters: - - *99 + - *61 - *17 - *19 - name: ruleset_id @@ -43026,7 +42563,7 @@ paths: type: string format: date-time examples: - default: &579 + default: &569 value: - version_id: 3 actor: @@ -43044,7 +42581,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43061,7 +42598,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/rules#get-organization-ruleset-version parameters: - - *99 + - *61 - name: ruleset_id description: The ID of the ruleset. in: path @@ -43079,7 +42616,7 @@ paths: description: Response content: application/json: - schema: &580 + schema: &570 allOf: - *279 - type: object @@ -43128,7 +42665,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43150,15 +42687,53 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *99 - - *280 - - *281 - - *282 - - *283 + - *61 + - &571 + name: state + in: query + description: Set to `open` or `resolved` to only list secret scanning alerts + in a specific state. + required: false + schema: + type: string + enum: + - open + - resolved + - &572 + name: secret_type + in: query + description: A comma-separated list of secret types to return. All default + secret patterns are returned. To return generic patterns, pass the token + name(s) in the parameter. See "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)" + for a complete list of secret types. + required: false + schema: + type: string + - &573 + name: resolution + in: query + description: A comma-separated list of resolutions. Only secret scanning alerts + with one of these resolutions are listed. Valid resolutions are `false_positive`, + `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. + required: false + schema: + type: string + - &574 + name: sort + description: The property to sort the results by. `created` means when the + alert was created. `updated` means when the alert was updated or resolved. + in: query + required: false + schema: + type: string + enum: + - created + - updated + default: created - *46 - *19 - *17 - - &581 + - &575 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43168,7 +42743,7 @@ paths: required: false schema: type: string - - &582 + - &576 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43178,10 +42753,42 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 - - *287 + - &577 + name: validity + in: query + description: A comma-separated list of validities that, when present, will + return alerts that match the validities in this list. Valid options are + `active`, `inactive`, and `unknown`. + required: false + schema: + type: string + - &578 + name: is_publicly_leaked + in: query + description: A boolean value representing whether or not to filter alerts + by the publicly-leaked tag being present. + required: false + schema: + type: boolean + default: false + - &579 + name: is_multi_repo + in: query + description: A boolean value representing whether or not to filter alerts + by the multi-repo tag being present. + required: false + schema: + type: boolean + default: false + - &580 + name: hide_secret + in: query + description: A boolean value representing whether or not to hide literal secrets + in the results. + required: false + schema: + type: boolean + default: false responses: '200': description: Response @@ -43189,13 +42796,615 @@ paths: application/json: schema: type: array - items: *288 + items: + type: object + properties: + number: *145 + created_at: *146 + updated_at: + anyOf: + - type: 'null' + - *147 + url: *148 + html_url: *149 + locations_url: + type: string + format: uri + description: The REST API URL of the code locations for this + alert. + state: &581 + description: Sets the state of the secret scanning alert. You + must provide `resolution` when you set the state to `resolved`. + type: string + enum: + - open + - resolved + resolution: &582 + type: + - string + - 'null' + description: "**Required when the `state` is `resolved`.** The + reason for resolving the alert." + enum: + - false_positive + - wont_fix + - revoked + - used_in_tests + - + resolved_at: + type: + - string + - 'null' + format: date-time + description: 'The time that the alert was resolved in ISO 8601 + format: `YYYY-MM-DDTHH:MM:SSZ`.' + resolved_by: + anyOf: + - type: 'null' + - *4 + secret_type: + type: string + description: The type of secret that secret scanning detected. + secret_type_display_name: + type: string + description: |- + User-friendly name for the detected secret, matching the `secret_type`. + For a list of built-in patterns, see "[Supported secret scanning patterns](https://docs.github.com/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)." + secret: + type: string + description: The secret that was detected. + repository: *51 + push_protection_bypassed: + type: + - boolean + - 'null' + description: Whether push protection was bypassed for the detected + secret. + push_protection_bypassed_by: + anyOf: + - type: 'null' + - *4 + push_protection_bypassed_at: + type: + - string + - 'null' + format: date-time + description: 'The time that push protection was bypassed in + ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' + push_protection_bypass_request_reviewer: + anyOf: + - type: 'null' + - *4 + push_protection_bypass_request_reviewer_comment: + type: + - string + - 'null' + description: An optional comment when reviewing a push protection + bypass. + push_protection_bypass_request_comment: + type: + - string + - 'null' + description: An optional comment when requesting a push protection + bypass. + push_protection_bypass_request_html_url: + type: + - string + - 'null' + format: uri + description: The URL to a push protection bypass request. + resolution_comment: + type: + - string + - 'null' + description: The comment that was optionally added when this + alert was closed + validity: + type: string + description: The token status as of the latest validity check. + enum: + - active + - inactive + - unknown + publicly_leaked: + type: + - boolean + - 'null' + description: Whether the secret was publicly leaked. + multi_repo: + type: + - boolean + - 'null' + description: Whether the detected secret was found in multiple + repositories in the same organization or enterprise. + is_base64_encoded: + type: + - boolean + - 'null' + description: A boolean value representing whether or not alert + is base64 encoded + first_location_detected: + anyOf: + - type: 'null' + - &583 + description: 'Details on the location where the token was + initially detected. This can be a commit, wiki commit, issue, + discussion, pull request. + + ' + oneOf: + - &585 + description: Represents a 'commit' secret scanning location + type. This location type shows that a secret was detected + inside a commit to a repository. + type: object + properties: + path: + type: string + description: The file path in the repository + examples: + - "/example/secrets.txt" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8BIT + ASCII + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8BIT + ASCII + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: + type: string + description: The API URL to get the associated blob + resource + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_url: + type: string + description: The API URL to get the associated commit + resource + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - blob_url + - commit_sha + - commit_url + - &586 + description: Represents a 'wiki_commit' secret scanning + location type. This location type shows that a secret + was detected inside a commit to a repository wiki. + type: object + properties: + path: + type: string + description: The file path of the wiki page + examples: + - "/example/Home.md" + start_line: + type: number + description: Line number at which the secret starts + in the file + end_line: + type: number + description: Line number at which the secret ends in + the file + start_column: + type: number + description: The column at which the secret starts within + the start line when the file is interpreted as 8-bit + ASCII. + end_column: + type: number + description: The column at which the secret ends within + the end line when the file is interpreted as 8-bit + ASCII. + blob_sha: + type: string + description: SHA-1 hash ID of the associated blob + examples: + - af5626b4a114abcb82d63db7c8082c3c4756e51b + page_url: + type: string + description: The GitHub URL to get the associated wiki + page + examples: + - https://github.com/octocat/Hello-World/wiki/Home/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_sha: + type: string + description: SHA-1 hash ID of the associated commit + examples: + - 302c0b7e200761c9dd9b57e57db540ee0b4293a5 + commit_url: + type: string + description: The GitHub URL to get the associated wiki + commit + examples: + - https://github.com/octocat/Hello-World/wiki/_compare/302c0b7e200761c9dd9b57e57db540ee0b4293a5 + required: + - path + - start_line + - end_line + - start_column + - end_column + - blob_sha + - page_url + - commit_sha + - commit_url + - &587 + description: Represents an 'issue_title' secret scanning + location type. This location type shows that a secret + was detected in the title of an issue. + type: object + properties: + issue_title_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_title_url + - &588 + description: Represents an 'issue_body' secret scanning + location type. This location type shows that a secret + was detected in the body of an issue. + type: object + properties: + issue_body_url: + type: string + format: uri + description: The API URL to get the issue where the + secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/1347 + required: + - issue_body_url + - &589 + description: Represents an 'issue_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on an issue. + type: object + properties: + issue_comment_url: + type: string + format: uri + description: The API URL to get the issue comment where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - issue_comment_url + - &590 + description: Represents a 'discussion_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a discussion. + type: object + properties: + discussion_title_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082 + required: + - discussion_title_url + - &591 + description: Represents a 'discussion_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a discussion. + type: object + properties: + discussion_body_url: + type: string + format: uri + description: The URL to the discussion where the secret + was detected. + examples: + - https://github.com/community/community/discussions/39082#discussion-4566270 + required: + - discussion_body_url + - &592 + description: Represents a 'discussion_comment' secret scanning + location type. This location type shows that a secret + was detected in a comment on a discussion. + type: object + properties: + discussion_comment_url: + type: string + format: uri + description: The API URL to get the discussion comment + where the secret was detected. + examples: + - https://github.com/community/community/discussions/39082#discussioncomment-4158232 + required: + - discussion_comment_url + - &593 + description: Represents a 'pull_request_title' secret scanning + location type. This location type shows that a secret + was detected in the title of a pull request. + type: object + properties: + pull_request_title_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_title_url + - &594 + description: Represents a 'pull_request_body' secret scanning + location type. This location type shows that a secret + was detected in the body of a pull request. + type: object + properties: + pull_request_body_url: + type: string + format: uri + description: The API URL to get the pull request where + the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846 + required: + - pull_request_body_url + - &595 + description: Represents a 'pull_request_comment' secret + scanning location type. This location type shows that + a secret was detected in a comment on a pull request. + type: object + properties: + pull_request_comment_url: + type: string + format: uri + description: The API URL to get the pull request comment + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 + required: + - pull_request_comment_url + - &596 + description: Represents a 'pull_request_review' secret scanning + location type. This location type shows that a secret + was detected in a review on a pull request. + type: object + properties: + pull_request_review_url: + type: string + format: uri + description: The API URL to get the pull request review + where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 + required: + - pull_request_review_url + - &597 + description: Represents a 'pull_request_review_comment' + secret scanning location type. This location type shows + that a secret was detected in a review comment on a pull + request. + type: object + properties: + pull_request_review_comment_url: + type: string + format: uri + description: The API URL to get the pull request review + comment where the secret was detected. + examples: + - https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 + required: + - pull_request_review_comment_url + has_more_locations: + type: boolean + description: A boolean value representing whether or not the + token in the alert was detected in more than one location. + assigned_to: + anyOf: + - type: 'null' + - *4 examples: - default: *289 + default: + value: + - number: 2 + created_at: '2020-11-06T18:48:51Z' + url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2 + html_url: https://github.com/owner/private-repo/security/secret-scanning/2 + locations_url: https://api.github.com/repos/owner/private-repo/secret-scanning/alerts/2/locations + state: resolved + resolution: false_positive + resolved_at: '2020-11-07T02:47:13Z' + resolved_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + secret_type: adafruit_io_key + secret_type_display_name: Adafruit IO Key + secret: aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX + repository: + id: 1296269 + node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 + name: Hello-World + full_name: octocat/Hello-World + owner: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false + private: false + html_url: https://github.com/octocat/Hello-World + description: This your first repo! + fork: false + url: https://api.github.com/repos/octocat/Hello-World + archive_url: https://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref} + assignees_url: https://api.github.com/repos/octocat/Hello-World/assignees{/user} + blobs_url: https://api.github.com/repos/octocat/Hello-World/git/blobs{/sha} + branches_url: https://api.github.com/repos/octocat/Hello-World/branches{/branch} + collaborators_url: https://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator} + comments_url: https://api.github.com/repos/octocat/Hello-World/comments{/number} + commits_url: https://api.github.com/repos/octocat/Hello-World/commits{/sha} + compare_url: https://api.github.com/repos/octocat/Hello-World/compare/{base}...{head} + contents_url: https://api.github.com/repos/octocat/Hello-World/contents/{+path} + contributors_url: https://api.github.com/repos/octocat/Hello-World/contributors + deployments_url: https://api.github.com/repos/octocat/Hello-World/deployments + downloads_url: https://api.github.com/repos/octocat/Hello-World/downloads + events_url: https://api.github.com/repos/octocat/Hello-World/events + forks_url: https://api.github.com/repos/octocat/Hello-World/forks + git_commits_url: https://api.github.com/repos/octocat/Hello-World/git/commits{/sha} + git_refs_url: https://api.github.com/repos/octocat/Hello-World/git/refs{/sha} + git_tags_url: https://api.github.com/repos/octocat/Hello-World/git/tags{/sha} + issue_comment_url: https://api.github.com/repos/octocat/Hello-World/issues/comments{/number} + issue_events_url: https://api.github.com/repos/octocat/Hello-World/issues/events{/number} + issues_url: https://api.github.com/repos/octocat/Hello-World/issues{/number} + keys_url: https://api.github.com/repos/octocat/Hello-World/keys{/key_id} + labels_url: https://api.github.com/repos/octocat/Hello-World/labels{/name} + languages_url: https://api.github.com/repos/octocat/Hello-World/languages + merges_url: https://api.github.com/repos/octocat/Hello-World/merges + milestones_url: https://api.github.com/repos/octocat/Hello-World/milestones{/number} + notifications_url: https://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating} + pulls_url: https://api.github.com/repos/octocat/Hello-World/pulls{/number} + releases_url: https://api.github.com/repos/octocat/Hello-World/releases{/id} + stargazers_url: https://api.github.com/repos/octocat/Hello-World/stargazers + statuses_url: https://api.github.com/repos/octocat/Hello-World/statuses/{sha} + subscribers_url: https://api.github.com/repos/octocat/Hello-World/subscribers + subscription_url: https://api.github.com/repos/octocat/Hello-World/subscription + tags_url: https://api.github.com/repos/octocat/Hello-World/tags + teams_url: https://api.github.com/repos/octocat/Hello-World/teams + trees_url: https://api.github.com/repos/octocat/Hello-World/git/trees{/sha} + hooks_url: https://api.github.com/repos/octocat/Hello-World/hooks + push_protection_bypassed_by: + login: monalisa + id: 2 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/2? + gravatar_id: '' + url: https://api.github.com/users/monalisa + html_url: https://github.com/monalisa + followers_url: https://api.github.com/users/monalisa/followers + following_url: https://api.github.com/users/monalisa/following{/other_user} + gists_url: https://api.github.com/users/monalisa/gists{/gist_id} + starred_url: https://api.github.com/users/monalisa/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/monalisa/subscriptions + organizations_url: https://api.github.com/users/monalisa/orgs + repos_url: https://api.github.com/users/monalisa/repos + events_url: https://api.github.com/users/monalisa/events{/privacy} + received_events_url: https://api.github.com/users/monalisa/received_events + type: User + site_admin: true + push_protection_bypassed: true + push_protection_bypassed_at: '2020-11-06T21:48:51Z' + push_protection_bypass_request_reviewer: + login: octocat + id: 3 + node_id: MDQ6VXNlcjI= + avatar_url: https://alambic.github.com/avatars/u/3? + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: true + push_protection_bypass_request_reviewer_comment: Example response + push_protection_bypass_request_comment: Example comment + push_protection_bypass_request_html_url: https://github.com/owner/repo/secret_scanning_exemptions/1 + resolution_comment: Example comment + validity: active + publicly_leaked: false + multi_repo: false + is_base64_encoded: false + first_location_detected: + path: "/example/secrets.txt" + start_line: 1 + end_line: 1 + start_column: 1 + end_column: 64 + blob_sha: af5626b4a114abcb82d63db7c8082c3c4756e51b + blob_url: https://api.github.com/repos/octocat/hello-world/git/blobs/af5626b4a114abcb82d63db7c8082c3c4756e51b + commit_sha: f14d7debf9775f957cf4f1e8176da0786431f72b + commit_url: https://api.github.com/repos/octocat/hello-world/git/commits/f14d7debf9775f957cf4f1e8176da0786431f72b + has_more_locations: true + assigned_to: + login: octocat + id: 1 + node_id: MDQ6VXNlcjE= + avatar_url: https://github.com/images/error/octocat_happy.gif + gravatar_id: '' + url: https://api.github.com/users/octocat + html_url: https://github.com/octocat + followers_url: https://api.github.com/users/octocat/followers + following_url: https://api.github.com/users/octocat/following{/other_user} + gists_url: https://api.github.com/users/octocat/gists{/gist_id} + starred_url: https://api.github.com/users/octocat/starred{/owner}{/repo} + subscriptions_url: https://api.github.com/users/octocat/subscriptions + organizations_url: https://api.github.com/users/octocat/orgs + repos_url: https://api.github.com/users/octocat/repos + events_url: https://api.github.com/users/octocat/events{/privacy} + received_events_url: https://api.github.com/users/octocat/received_events + type: User + site_admin: false headers: - Link: *57 + Link: *52 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43220,7 +43429,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 responses: '200': description: Response @@ -43232,7 +43441,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &291 + pattern_config_version: &281 type: - string - 'null' @@ -43242,7 +43451,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &290 + items: &280 type: object properties: token_type: @@ -43311,7 +43520,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *290 + items: *280 examples: default: value: @@ -43360,7 +43569,7 @@ paths: category: secret-scanning subcategory: push-protection parameters: - - *99 + - *61 requestBody: required: true content: @@ -43368,7 +43577,7 @@ paths: schema: type: object properties: - pattern_config_version: *291 + pattern_config_version: *281 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -43394,7 +43603,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *291 + custom_pattern_version: *281 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -43448,7 +43657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *99 + - *61 - *46 - name: sort description: The property to sort the results by. @@ -43492,7 +43701,7 @@ paths: application/json: schema: type: array - items: &603 + items: &601 description: A repository security advisory. type: object properties: @@ -43736,7 +43945,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 credits_detailed: type: - array @@ -43747,7 +43956,7 @@ paths: type: object properties: user: *4 - type: *292 + type: *282 state: type: string description: The state of the user's acceptance of the @@ -43773,7 +43982,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *161 + items: *163 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -43811,7 +44020,7 @@ paths: - private_fork additionalProperties: false examples: - default: &604 + default: &602 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44190,7 +44399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#list-security-manager-teams parameters: - - *99 + - *61 responses: '200': description: Response @@ -44223,8 +44432,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44249,8 +44458,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -44279,13 +44488,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &669 + schema: &666 type: object properties: total_minutes_used: @@ -44355,7 +44564,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &670 + default: &667 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -44385,13 +44594,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &671 + schema: &668 type: object properties: total_gigabytes_bandwidth_used: @@ -44409,7 +44618,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &672 + default: &669 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -44435,13 +44644,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Response content: application/json: - schema: &676 + schema: &673 type: object properties: days_left_in_billing_cycle: @@ -44459,7 +44668,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &677 + default: &674 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -44483,7 +44692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '200': description: Immutable releases settings response @@ -44533,7 +44742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-immutable-releases-settings-for-an-organization parameters: - - *99 + - *61 responses: '204': description: Response @@ -44591,7 +44800,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 - *19 - *17 responses: @@ -44609,9 +44818,9 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *143 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44630,7 +44839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#set-selected-repositories-for-immutable-releases-enforcement parameters: - - *99 + - *61 requestBody: required: true content: @@ -44679,8 +44888,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -44702,8 +44911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - - *99 - - *120 + - *61 + - *118 responses: '204': description: Response @@ -44726,7 +44935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *99 + - *61 - *17 - *19 responses: @@ -44744,7 +44953,7 @@ paths: type: integer network_configurations: type: array - items: &293 + items: &283 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -44808,7 +45017,7 @@ paths: - 6789ABDCEF12345 created_on: '2023-04-26T15:23:37Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44827,7 +45036,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 + - *61 requestBody: required: true content: @@ -44869,9 +45078,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: &294 + default: &284 value: id: 123456789ABCDEF name: My network configuration @@ -44899,8 +45108,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - &295 + - *61 + - &285 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -44912,11 +45121,11 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44935,8 +45144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *99 - - *295 + - *61 + - *285 requestBody: required: true content: @@ -44975,9 +45184,9 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: - default: *294 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44996,8 +45205,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *99 - - *295 + - *61 + - *285 responses: '204': description: Response @@ -45020,7 +45229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *99 + - *61 - name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -45079,7 +45288,7 @@ paths: subnet_id: "/subscriptions/14839728-3ad9-43ab-bd2b-fa6ad0f75e2a/resourceGroups/my-rg/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/my-subnet" region: eastus headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45109,8 +45318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *99 - - *64 + - *61 + - *62 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -45142,13 +45351,13 @@ paths: application/json: schema: type: array - items: *296 + items: *286 examples: - default: *297 - '500': *100 + default: *287 + '500': *97 '403': *27 '404': *6 - '422': *298 + '422': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45166,7 +45375,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-teams parameters: - - *99 + - *61 - *17 - *19 responses: @@ -45176,11 +45385,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '403': *27 x-github: githubCloudOnly: false @@ -45200,7 +45409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#create-a-team parameters: - - *99 + - *61 requestBody: required: true content: @@ -45272,7 +45481,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &289 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45671,7 +45880,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &290 value: id: 1 node_id: MDQ6VGVhbTE= @@ -45741,16 +45950,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - - *99 - - *64 + - *61 + - *62 responses: '200': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -45771,8 +45980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: false content: @@ -45835,16 +46044,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -45869,8 +46078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - - *99 - - *64 + - *61 + - *62 responses: '204': description: Response @@ -45896,8 +46105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - - *99 - - *64 + - *61 + - *62 - *46 - *17 - *19 @@ -45914,7 +46123,7 @@ paths: application/json: schema: type: array - items: &301 + items: &291 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46005,7 +46214,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46025,7 +46234,7 @@ paths: - updated_at - url examples: - default: &621 + default: &619 value: - author: login: octocat @@ -46075,7 +46284,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46099,8 +46308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - - *99 - - *64 + - *61 + - *62 requestBody: required: true content: @@ -46134,9 +46343,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &302 + default: &292 value: author: login: octocat @@ -46208,9 +46417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - - *99 - - *64 - - &303 + - *61 + - *62 + - &293 name: discussion_number description: The number that identifies the discussion. in: path @@ -46222,9 +46431,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46246,9 +46455,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: false content: @@ -46271,9 +46480,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: &622 + default: &620 value: author: login: octocat @@ -46343,9 +46552,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 responses: '204': description: Response @@ -46371,9 +46580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - *46 - *17 - *19 @@ -46384,7 +46593,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46449,7 +46658,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *70 + reactions: *68 required: - author - body @@ -46464,7 +46673,7 @@ paths: - updated_at - url examples: - default: &623 + default: &621 value: - author: login: octocat @@ -46508,7 +46717,7 @@ paths: eyes: 1 rocket: 1 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46532,9 +46741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: true content: @@ -46556,9 +46765,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: author: login: octocat @@ -46624,10 +46833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - &306 + - *61 + - *62 + - *293 + - &296 name: comment_number description: The number that identifies the comment. in: path @@ -46639,9 +46848,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46663,10 +46872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 requestBody: required: true content: @@ -46688,9 +46897,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &624 + default: &622 value: author: login: octocat @@ -46754,10 +46963,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 responses: '204': description: Response @@ -46783,10 +46992,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -46812,7 +47021,7 @@ paths: application/json: schema: type: array - items: &307 + items: &297 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46856,7 +47065,7 @@ paths: - content - created_at examples: - default: &309 + default: &299 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46882,7 +47091,7 @@ paths: content: heart created_at: '2016-05-20T20:09:31Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46906,10 +47115,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *99 - - *64 - - *303 - - *306 + - *61 + - *62 + - *293 + - *296 requestBody: required: true content: @@ -46942,9 +47151,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *297 examples: - default: &308 + default: &298 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46973,9 +47182,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46998,11 +47207,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *99 - - *64 - - *303 - - *306 - - &310 + - *61 + - *62 + - *293 + - *296 + - &300 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47034,9 +47243,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -47062,11 +47271,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47090,9 +47299,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *99 - - *64 - - *303 + - *61 + - *62 + - *293 requestBody: required: true content: @@ -47124,16 +47333,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47156,10 +47365,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *99 - - *64 - - *303 - - *310 + - *61 + - *62 + - *293 + - *300 responses: '204': description: Response @@ -47183,8 +47392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47198,7 +47407,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47218,8 +47427,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members parameters: - - *99 - - *64 + - *61 + - *62 - name: role description: Filters members returned by their role in the team. in: query @@ -47242,9 +47451,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47272,15 +47481,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '200': description: Response content: application/json: - schema: &311 + schema: &301 title: Team Membership description: Team Membership type: object @@ -47308,7 +47517,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &625 + response-if-user-is-a-team-maintainer: &623 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47344,9 +47553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 requestBody: required: false content: @@ -47371,9 +47580,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: &626 + response-if-users-membership-with-team-is-now-pending: &624 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47408,9 +47617,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - - *99 - - *64 + - *61 - *62 + - *57 responses: '204': description: Response @@ -47435,8 +47644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47446,7 +47655,7 @@ paths: application/json: schema: type: array - items: &312 + items: &302 title: Team Project description: A team's access to a project. type: object @@ -47515,7 +47724,7 @@ paths: - updated_at - permissions examples: - default: &627 + default: &625 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47555,7 +47764,7 @@ paths: write: true admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47578,9 +47787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - - *99 - - *64 - - &313 + - *61 + - *62 + - &303 name: project_id description: The unique identifier of the project. in: path @@ -47592,9 +47801,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: &628 + default: &626 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -47656,9 +47865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *303 requestBody: required: false content: @@ -47725,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - - *99 - - *64 - - *313 + - *61 + - *62 + - *303 responses: '204': description: Response @@ -47754,8 +47963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -47765,11 +47974,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47796,16 +48005,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &629 + schema: &627 title: Team Repository description: A team's access to a repository. type: object @@ -47831,7 +48040,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 forks: type: integer permissions: @@ -48446,10 +48655,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 requestBody: required: false content: @@ -48494,10 +48703,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - - *99 - - *64 - - *314 - - *315 + - *61 + - *62 + - *304 + - *305 responses: '204': description: Response @@ -48521,8 +48730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - - *99 - - *64 + - *61 + - *62 - *17 - *19 responses: @@ -48532,9 +48741,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: &630 + response-if-child-teams-exist: &628 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -48562,7 +48771,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos html_url: https://github.com/orgs/rails/teams/core headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48587,7 +48796,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *99 + - *61 - name: security_product in: path description: The security feature to enable or disable. @@ -48661,7 +48870,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &316 + - &306 name: column_id description: The unique identifier of the column. in: path @@ -48673,7 +48882,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &307 title: Project Column description: Project columns contain cards of work. type: object @@ -48727,7 +48936,7 @@ paths: - created_at - updated_at examples: - default: &318 + default: &308 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48762,7 +48971,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48787,9 +48996,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: *318 + default: *308 '304': *35 '403': *27 '401': *23 @@ -48814,7 +49023,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *316 + - *306 responses: '204': description: Response @@ -48843,7 +49052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *316 + - *306 requestBody: required: true content: @@ -48904,7 +49113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *313 + - *303 responses: '200': description: Response @@ -48912,7 +49121,7 @@ paths: application/json: schema: *232 examples: - default: &319 + default: &309 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48969,7 +49178,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *313 + - *303 requestBody: required: false content: @@ -49020,7 +49229,7 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '404': description: Not Found if the authenticated user does not have access to the project @@ -49041,7 +49250,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -49064,7 +49273,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *313 + - *303 responses: '204': description: Delete Success @@ -49085,7 +49294,7 @@ paths: items: type: string '401': *23 - '410': *320 + '410': *310 '404': *6 x-github: githubCloudOnly: false @@ -49109,7 +49318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *313 + - *303 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -49136,9 +49345,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 '422': *15 '304': *35 @@ -49166,8 +49375,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *313 - - *62 + - *303 + - *57 requestBody: required: false content: @@ -49221,8 +49430,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *313 - - *62 + - *303 + - *57 responses: '204': description: Response @@ -49253,8 +49462,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *313 - - *62 + - *303 + - *57 responses: '200': description: Response @@ -49324,7 +49533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *313 + - *303 - *17 - *19 responses: @@ -49334,7 +49543,7 @@ paths: application/json: schema: type: array - items: *317 + items: *307 examples: default: value: @@ -49347,7 +49556,7 @@ paths: created_at: '2016-09-05T14:18:44Z' updated_at: '2016-09-05T14:22:28Z' headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -49372,7 +49581,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *313 + - *303 requestBody: required: true content: @@ -49396,7 +49605,7 @@ paths: description: Response content: application/json: - schema: *317 + schema: *307 examples: default: value: @@ -49461,7 +49670,7 @@ paths: resources: type: object properties: - core: &321 + core: &311 title: Rate Limit type: object properties: @@ -49478,21 +49687,21 @@ paths: - remaining - reset - used - graphql: *321 - search: *321 - code_search: *321 - source_import: *321 - integration_manifest: *321 - code_scanning_upload: *321 - actions_runner_registration: *321 - scim: *321 - dependency_snapshots: *321 - dependency_sbom: *321 - code_scanning_autofix: *321 + graphql: *311 + search: *311 + code_search: *311 + source_import: *311 + integration_manifest: *311 + code_scanning_upload: *311 + actions_runner_registration: *311 + scim: *311 + dependency_snapshots: *311 + dependency_sbom: *311 + code_scanning_autofix: *311 required: - core - search - rate: *321 + rate: *311 required: - rate - resources @@ -49597,14 +49806,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *322 + schema: *312 examples: default-response: summary: Default response @@ -50105,7 +50314,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *323 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50123,8 +50332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -50372,10 +50581,10 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 - '307': &325 + default: *314 + '307': &315 description: Temporary Redirect content: application/json: @@ -50404,8 +50613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -50427,7 +50636,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *325 + '307': *315 '404': *6 '409': *45 x-github: @@ -50451,11 +50660,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &356 + - &346 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50478,7 +50687,7 @@ paths: type: integer artifacts: type: array - items: &326 + items: &316 title: Artifact description: An artifact type: object @@ -50573,7 +50782,7 @@ paths: - expires_at - updated_at examples: - default: &357 + default: &347 value: total_count: 2 artifacts: @@ -50612,7 +50821,7 @@ paths: head_branch: main head_sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50634,9 +50843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *314 - - *315 - - &327 + - *304 + - *305 + - &317 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50648,7 +50857,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *316 examples: default: value: @@ -50686,9 +50895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 responses: '204': description: Response @@ -50712,9 +50921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *314 - - *315 - - *327 + - *304 + - *305 + - *317 - name: archive_format in: path required: true @@ -50728,7 +50937,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50751,14 +50960,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: default: value: @@ -50784,11 +50993,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - - &329 + - &319 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -50822,7 +51031,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &320 title: Repository actions caches description: Repository actions caches type: object @@ -50872,7 +51081,7 @@ paths: - total_count - actions_caches examples: - default: &331 + default: &321 value: total_count: 1 actions_caches: @@ -50884,7 +51093,7 @@ paths: created_at: '2019-01-24T22:45:36.000Z' size_in_bytes: 1024 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50904,23 +51113,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *314 - - *315 + - *304 + - *305 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *329 + - *319 responses: '200': description: Response content: application/json: - schema: *330 + schema: *320 examples: - default: *331 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50940,8 +51149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *314 - - *315 + - *304 + - *305 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50972,9 +51181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *314 - - *315 - - &332 + - *304 + - *305 + - &322 name: job_id description: The unique identifier of the job. in: path @@ -50986,7 +51195,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &350 title: Job description: Information of a job execution in a workflow run type: object @@ -51333,9 +51542,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *304 + - *305 + - *322 responses: '302': description: Response @@ -51363,9 +51572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *314 - - *315 - - *332 + - *304 + - *305 + - *322 requestBody: required: false content: @@ -51387,7 +51596,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51411,8 +51620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Status response @@ -51462,8 +51671,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -51497,7 +51706,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -51526,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -51545,7 +51754,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &352 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51566,7 +51775,7 @@ paths: - created_at - updated_at examples: - default: &363 + default: &353 value: total_count: 2 secrets: @@ -51577,7 +51786,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51599,9 +51808,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -51618,7 +51827,7 @@ paths: type: integer variables: type: array - items: &366 + items: &356 title: Actions Variable type: object properties: @@ -51652,7 +51861,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &357 value: total_count: 2 variables: @@ -51665,7 +51874,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51685,8 +51894,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -51695,12 +51904,12 @@ paths: schema: type: object properties: - enabled: &335 + enabled: &325 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *116 - selected_actions_url: *334 - sha_pinning_required: *117 + allowed_actions: *114 + selected_actions_url: *324 + sha_pinning_required: *115 required: - enabled examples: @@ -51728,8 +51937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51740,9 +51949,9 @@ paths: schema: type: object properties: - enabled: *335 - allowed_actions: *116 - sha_pinning_required: *117 + enabled: *325 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -51772,14 +51981,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &336 + schema: &326 type: object properties: access_level: @@ -51796,7 +52005,7 @@ paths: required: - access_level examples: - default: &337 + default: &327 value: access_level: organization x-github: @@ -51820,15 +52029,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *336 + schema: *326 examples: - default: *337 + default: *327 responses: '204': description: Response @@ -51852,14 +52061,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: default: value: @@ -51883,8 +52092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Empty response for successful settings update @@ -51894,7 +52103,7 @@ paths: required: true content: application/json: - schema: *339 + schema: *329 examples: default: summary: Set retention days @@ -51918,16 +52127,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *118 + schema: *116 examples: - default: *340 + default: *330 '404': *6 x-github: enabledForGitHubApps: true @@ -51946,8 +52155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -51957,7 +52166,7 @@ paths: required: true content: application/json: - schema: *118 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -51981,16 +52190,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *341 + schema: *331 examples: - default: *119 + default: *117 '403': *27 '404': *6 x-github: @@ -52010,15 +52219,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *342 + schema: *332 examples: - default: *119 + default: *117 responses: '204': description: Empty response for successful settings update @@ -52042,16 +52251,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *121 + schema: *119 examples: - default: *122 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52070,8 +52279,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -52079,9 +52288,9 @@ paths: required: false content: application/json: - schema: *121 + schema: *119 examples: - selected_actions: *122 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -52103,16 +52312,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *343 + schema: *333 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52133,8 +52342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Success response @@ -52145,9 +52354,9 @@ paths: required: true content: application/json: - schema: *344 + schema: *334 examples: - default: *126 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52174,8 +52383,8 @@ paths: in: query schema: type: string - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -52193,11 +52402,11 @@ paths: type: integer runners: type: array - items: *133 + items: *131 examples: - default: *134 + default: *132 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52219,8 +52428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -52228,9 +52437,9 @@ paths: application/json: schema: type: array - items: *345 + items: *335 examples: - default: *346 + default: *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52252,8 +52461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -52296,7 +52505,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *347 + '201': *337 '404': *6 '422': *7 '409': *45 @@ -52327,16 +52536,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *348 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52364,16 +52573,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response content: application/json: - schema: *135 + schema: *133 examples: - default: *349 + default: *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52395,17 +52604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: '200': description: Response content: application/json: - schema: *133 + schema: *131 examples: - default: *350 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52426,9 +52635,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: '204': description: Response @@ -52454,11 +52663,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: - '200': *137 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -52480,9 +52689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52506,7 +52715,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52530,9 +52739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 requestBody: required: true content: @@ -52557,7 +52766,7 @@ paths: - gpu - accelerated responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52581,11 +52790,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 + - *304 + - *305 + - *130 responses: - '200': *351 + '200': *341 '404': *6 x-github: githubCloudOnly: false @@ -52612,12 +52821,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *314 - - *315 - - *132 - - *352 + - *304 + - *305 + - *130 + - *342 responses: - '200': *137 + '200': *135 '404': *6 '422': *7 x-github: @@ -52643,9 +52852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *314 - - *315 - - &370 + - *304 + - *305 + - &360 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -52653,7 +52862,7 @@ paths: required: false schema: type: string - - &371 + - &361 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52661,7 +52870,7 @@ paths: required: false schema: type: string - - &372 + - &362 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52670,7 +52879,7 @@ paths: required: false schema: type: string - - &373 + - &363 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -52697,7 +52906,7 @@ paths: - pending - *17 - *19 - - &374 + - &364 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52706,7 +52915,7 @@ paths: schema: type: string format: date-time - - &353 + - &343 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52715,13 +52924,13 @@ paths: schema: type: boolean default: false - - &375 + - &365 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &376 + - &366 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52744,7 +52953,7 @@ paths: type: integer workflow_runs: type: array - items: &354 + items: &344 title: Workflow Run description: An invocation of a workflow type: object @@ -52861,7 +53070,7 @@ paths: type: - array - 'null' - items: *72 + items: *70 created_at: type: string format: date-time @@ -52922,7 +53131,7 @@ paths: head_commit: anyOf: - type: 'null' - - &398 + - &388 title: Simple Commit description: A commit. type: object @@ -52996,8 +53205,8 @@ paths: - timestamp - author - committer - repository: *131 - head_repository: *131 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -53037,7 +53246,7 @@ paths: - workflow_url - pull_requests examples: - default: &377 + default: &367 value: total_count: 1 workflow_runs: @@ -53251,7 +53460,7 @@ paths: releases_url: https://api.github.com/repos/octo-org/octo-repo/releases{/id} deployments_url: https://api.github.com/repos/octo-org/octo-repo/deployments headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53273,24 +53482,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *314 - - *315 - - &355 + - *304 + - *305 + - &345 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: &358 + default: &348 value: id: 30433642 name: Build @@ -53531,9 +53740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response @@ -53556,9 +53765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -53686,15 +53895,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -53721,12 +53930,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - *17 - *19 - - *356 + - *346 responses: '200': description: Response @@ -53742,11 +53951,11 @@ paths: type: integer artifacts: type: array - items: *326 + items: *316 examples: - default: *357 + default: *347 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53768,25 +53977,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - &359 + - *304 + - *305 + - *345 + - &349 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *353 + - *343 responses: '200': description: Response content: application/json: - schema: *354 + schema: *344 examples: - default: *358 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53809,10 +54018,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *314 - - *315 - - *355 - - *359 + - *304 + - *305 + - *345 + - *349 - *17 - *19 responses: @@ -53830,9 +54039,9 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: &361 + default: &351 value: total_count: 1 jobs: @@ -53921,7 +54130,7 @@ paths: workflow_name: CI head_branch: main headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -53945,10 +54154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *314 - - *315 - - *355 - - *359 + - *304 + - *305 + - *345 + - *349 responses: '302': description: Response @@ -53976,15 +54185,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54011,9 +54220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54080,15 +54289,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '202': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54115,9 +54324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -54147,11 +54356,11 @@ paths: type: integer jobs: type: array - items: *360 + items: *350 examples: - default: *361 + default: *351 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54174,9 +54383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '302': description: Response @@ -54203,14 +54412,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '204': description: Response '403': *27 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54232,9 +54441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54303,7 +54512,7 @@ paths: items: type: object properties: - type: &472 + type: &462 type: string description: The type of reviewer. enum: @@ -54314,7 +54523,7 @@ paths: reviewer: anyOf: - *4 - - *161 + - *163 required: - environment - wait_timer @@ -54389,9 +54598,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: true content: @@ -54441,7 +54650,7 @@ paths: application/json: schema: type: array - items: &467 + items: &457 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54553,7 +54762,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &458 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54609,9 +54818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54633,7 +54842,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54656,9 +54865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 requestBody: required: false content: @@ -54680,7 +54889,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -54712,9 +54921,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *314 - - *315 - - *355 + - *304 + - *305 + - *345 responses: '200': description: Response @@ -54851,8 +55060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -54870,11 +55079,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54897,16 +55106,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54928,17 +55137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &485 + default: &475 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54964,9 +55173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -54997,7 +55206,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55023,9 +55232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -55050,9 +55259,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *314 - - *315 - - *333 + - *304 + - *305 + - *323 - *19 responses: '200': @@ -55069,11 +55278,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55094,8 +55303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -55122,7 +55331,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -55147,17 +55356,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: &486 + default: &476 value: name: USERNAME value: octocat @@ -55183,9 +55392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 requestBody: required: true content: @@ -55227,9 +55436,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *314 - - *315 - - *142 + - *304 + - *305 + - *140 responses: '204': description: Response @@ -55254,8 +55463,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55273,7 +55482,7 @@ paths: type: integer workflows: type: array - items: &368 + items: &358 title: Workflow description: A GitHub Actions workflow type: object @@ -55368,7 +55577,7 @@ paths: html_url: https://github.com/octo-org/octo-repo/blob/master/.github/workflows/269289 badge_url: https://github.com/octo-org/octo-repo/workflows/Linter/badge.svg headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55391,9 +55600,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *314 - - *315 - - &369 + - *304 + - *305 + - &359 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -55408,7 +55617,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *358 examples: default: value: @@ -55441,9 +55650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55468,9 +55677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55521,9 +55730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '204': description: Response @@ -55550,19 +55759,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *314 - - *315 - - *369 - - *370 - - *371 - - *372 - - *373 + - *304 + - *305 + - *359 + - *360 + - *361 + - *362 + - *363 - *17 - *19 - - *374 - - *353 - - *375 - - *376 + - *364 + - *343 + - *365 + - *366 responses: '200': description: Response @@ -55578,11 +55787,11 @@ paths: type: integer workflow_runs: type: array - items: *354 + items: *344 examples: - default: *377 + default: *367 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55612,9 +55821,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *314 - - *315 - - *369 + - *304 + - *305 + - *359 responses: '200': description: Response @@ -55675,8 +55884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *314 - - *315 + - *304 + - *305 - *46 - *17 - *38 @@ -55825,7 +56034,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *7 x-github: githubCloudOnly: false @@ -55844,8 +56053,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -55857,9 +56066,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -55882,8 +56091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *314 - - *315 + - *304 + - *305 - name: assignee in: path required: true @@ -55919,8 +56128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56032,8 +56241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *38 - *39 @@ -56089,7 +56298,7 @@ paths: initiator: type: string examples: - default: *378 + default: *368 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56109,8 +56318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -56118,7 +56327,7 @@ paths: application/json: schema: type: array - items: &379 + items: &369 title: Autolink reference description: An autolink reference. type: object @@ -56177,8 +56386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -56217,9 +56426,9 @@ paths: description: response content: application/json: - schema: *379 + schema: *369 examples: - default: &380 + default: &370 value: id: 1 key_prefix: TICKET- @@ -56250,9 +56459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *314 - - *315 - - &381 + - *304 + - *305 + - &371 name: autolink_id description: The unique identifier of the autolink. in: path @@ -56264,9 +56473,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *369 examples: - default: *380 + default: *370 '404': *6 x-github: githubCloudOnly: false @@ -56286,9 +56495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *314 - - *315 - - *381 + - *304 + - *305 + - *371 responses: '204': description: Response @@ -56312,8 +56521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response if Dependabot is enabled @@ -56363,8 +56572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56385,8 +56594,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -56406,8 +56615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *314 - - *315 + - *304 + - *305 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -56445,7 +56654,7 @@ paths: - url protected: type: boolean - protection: &383 + protection: &373 title: Branch Protection description: Branch Protection type: object @@ -56488,7 +56697,7 @@ paths: required: - contexts - checks - enforce_admins: &386 + enforce_admins: &376 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56505,7 +56714,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &388 + required_pull_request_reviews: &378 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56527,7 +56736,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *161 + items: *163 apps: description: The list of apps with review dismissal access. @@ -56559,7 +56768,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *161 + items: *163 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56589,7 +56798,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &385 + restrictions: &375 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56652,7 +56861,7 @@ paths: type: string teams: type: array - items: *161 + items: *163 apps: type: array items: @@ -56864,7 +57073,7 @@ paths: - linter protection_url: https://api.github.com/repos/octocat/hello-world/branches/master/protection headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -56882,9 +57091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *314 - - *315 - - &384 + - *304 + - *305 + - &374 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -56898,14 +57107,14 @@ paths: description: Response content: application/json: - schema: &394 + schema: &384 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &443 + commit: &433 title: Commit description: Commit type: object @@ -56944,7 +57153,7 @@ paths: author: anyOf: - type: 'null' - - &382 + - &372 title: Git User description: Metaproperties for Git author/committer information. @@ -56965,7 +57174,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 message: type: string examples: @@ -56989,7 +57198,7 @@ paths: required: - sha - url - verification: &492 + verification: &482 title: Verification type: object properties: @@ -57025,14 +57234,14 @@ paths: author: oneOf: - *4 - - *140 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *140 + - *138 type: - 'null' - object @@ -57069,7 +57278,7 @@ paths: type: integer files: type: array - items: &454 + items: &444 title: Diff Entry description: Diff Entry type: object @@ -57165,7 +57374,7 @@ paths: - self protected: type: boolean - protection: *383 + protection: *373 protection_url: type: string format: uri @@ -57274,7 +57483,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *323 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -57296,15 +57505,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *383 + schema: *373 examples: default: value: @@ -57498,9 +57707,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -57760,7 +57969,7 @@ paths: url: type: string format: uri - required_status_checks: &391 + required_status_checks: &381 title: Status Check Policy description: Status Check Policy type: object @@ -57841,7 +58050,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57859,7 +58068,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 apps: type: array items: *5 @@ -57919,7 +58128,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *385 + restrictions: *375 required_conversation_resolution: type: object properties: @@ -58031,9 +58240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58058,17 +58267,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &387 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -58090,17 +58299,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58119,9 +58328,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58146,17 +58355,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: &389 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -58252,9 +58461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58352,9 +58561,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -58375,9 +58584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58404,17 +58613,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &390 + default: &380 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -58437,17 +58646,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *390 + default: *380 '404': *6 x-github: githubCloudOnly: false @@ -58467,9 +58676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58494,17 +58703,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &392 + default: &382 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58530,9 +58739,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58584,9 +58793,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *392 + default: *382 '404': *6 '422': *15 x-github: @@ -58608,9 +58817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58634,9 +58843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -58670,9 +58879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58739,9 +58948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -58805,9 +59014,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -58873,15 +59082,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response content: application/json: - schema: *385 + schema: *375 examples: default: value: @@ -58972,9 +59181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '204': description: Response @@ -58997,9 +59206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59009,7 +59218,7 @@ paths: type: array items: *5 examples: - default: &393 + default: &383 value: - id: 1 slug: octoapp @@ -59066,9 +59275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59102,7 +59311,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59123,9 +59332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59159,7 +59368,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59180,9 +59389,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59216,7 +59425,7 @@ paths: type: array items: *5 examples: - default: *393 + default: *383 '422': *15 x-github: githubCloudOnly: false @@ -59238,9 +59447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59248,7 +59457,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '404': *6 @@ -59270,9 +59479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59308,7 +59517,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59331,9 +59540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: false content: @@ -59369,7 +59578,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59392,9 +59601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: content: application/json: @@ -59429,7 +59638,7 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 '422': *15 @@ -59453,9 +59662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 responses: '200': description: Response @@ -59465,7 +59674,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '404': *6 x-github: githubCloudOnly: false @@ -59489,9 +59698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59524,7 +59733,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59549,9 +59758,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59584,7 +59793,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59609,9 +59818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59644,7 +59853,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '422': *15 x-github: githubCloudOnly: false @@ -59671,9 +59880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 requestBody: required: true content: @@ -59695,7 +59904,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *384 examples: default: value: @@ -59811,8 +60020,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -60091,7 +60300,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60226,8 +60435,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *72 - deployment: &688 + items: *70 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60514,9 +60723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *314 - - *315 - - &396 + - *304 + - *305 + - &386 name: check_run_id description: The unique identifier of the check run. in: path @@ -60528,9 +60737,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: &397 + default: &387 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60630,9 +60839,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 requestBody: required: true content: @@ -60872,9 +61081,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - default: *397 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60894,9 +61103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 - *17 - *19 responses: @@ -60986,7 +61195,7 @@ paths: raw_details: Do you mean 'bananas' or 'banana'? blob_href: https://api.github.com/repos/github/rest-api-description/git/blobs/abc headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61006,15 +61215,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *314 - - *315 - - *396 + - *304 + - *305 + - *386 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -61052,8 +61261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61075,7 +61284,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &399 + schema: &389 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -61157,12 +61366,12 @@ paths: type: - array - 'null' - items: *72 + items: *70 app: anyOf: - type: 'null' - *5 - repository: *131 + repository: *129 created_at: type: - string @@ -61173,7 +61382,7 @@ paths: - string - 'null' format: date-time - head_commit: *398 + head_commit: *388 latest_check_runs_count: type: integer check_runs_url: @@ -61201,7 +61410,7 @@ paths: - check_runs_url - pull_requests examples: - default: &400 + default: &390 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61492,9 +61701,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61513,8 +61722,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -61575,7 +61784,7 @@ paths: required: - app_id - setting - repository: *131 + repository: *129 examples: default: value: @@ -61823,9 +62032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *314 - - *315 - - &401 + - *304 + - *305 + - &391 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61837,9 +62046,9 @@ paths: description: Response content: application/json: - schema: *399 + schema: *389 examples: - default: *400 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61862,17 +62071,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *314 - - *315 - - *401 - - &449 + - *304 + - *305 + - *391 + - &439 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &450 + - &440 name: status description: Returns check runs with the specified `status`. in: query @@ -61911,9 +62120,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: &451 + default: &441 value: total_count: 1 check_runs: @@ -61995,7 +62204,7 @@ paths: url: https://api.github.com/repos/github/hello-world name: hello-world headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62015,15 +62224,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *314 - - *315 - - *401 + - *304 + - *305 + - *391 responses: '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -62050,21 +62259,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - &420 + - &410 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *404 - - &421 + schema: *394 + - &411 name: pr description: The number of the pull request for the results you want to list. in: query @@ -62089,13 +62298,13 @@ paths: be returned. in: query required: false - schema: *405 + schema: *395 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *406 + schema: *396 responses: '200': description: Response @@ -62106,24 +62315,24 @@ paths: items: type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 - rule: *410 - tool: *411 - most_recent_instance: *412 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 + rule: *400 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62246,14 +62455,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &413 + '403': &403 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62273,9 +62482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *314 - - *315 - - &414 + - *304 + - *305 + - &404 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62283,30 +62492,30 @@ paths: field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: &415 + schema: &405 type: object properties: - number: *52 - created_at: *53 - updated_at: *54 - url: *55 - html_url: *56 - instances_url: *407 - state: *151 - fixed_at: *147 + number: *145 + created_at: *146 + updated_at: *147 + url: *148 + html_url: *149 + instances_url: *397 + state: *154 + fixed_at: *150 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *148 - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_at: *151 + dismissed_reason: *398 + dismissed_comment: *399 rule: type: object properties: @@ -62368,8 +62577,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *411 - most_recent_instance: *412 + tool: *401 + most_recent_instance: *402 dismissal_approved_by: anyOf: - type: 'null' @@ -62465,9 +62674,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62485,9 +62694,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -62502,8 +62711,8 @@ paths: enum: - open - dismissed - dismissed_reason: *408 - dismissed_comment: *409 + dismissed_reason: *398 + dismissed_comment: *399 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62522,7 +62731,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -62598,14 +62807,14 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &419 + '403': &409 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -62625,15 +62834,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 responses: '200': description: Response content: application/json: - schema: &416 + schema: &406 type: object properties: status: @@ -62660,13 +62869,13 @@ paths: - description - started_at examples: - default: &417 + default: &407 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &418 + '400': &408 description: Bad Request content: application/json: @@ -62677,9 +62886,9 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62702,29 +62911,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 responses: '200': description: OK content: application/json: - schema: *416 + schema: *406 examples: - default: *417 + default: *407 '202': description: Accepted content: application/json: - schema: *416 + schema: *406 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *418 + '400': *408 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62734,7 +62943,7 @@ paths: '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62756,9 +62965,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: false content: @@ -62804,12 +63013,12 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *418 - '403': *419 + '400': *408 + '403': *409 '404': *6 '422': description: Unprocessable Entity - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62829,13 +63038,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 - *19 - *17 - - *420 - - *421 + - *410 + - *411 responses: '200': description: Response @@ -62843,7 +63052,7 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: default: value: @@ -62882,9 +63091,9 @@ paths: end_column: 50 classifications: - source - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62916,25 +63125,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *314 - - *315 - - *402 - - *403 + - *304 + - *305 + - *392 + - *393 - *19 - *17 - - *421 + - *411 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *404 + schema: *394 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &424 + schema: &414 type: string description: An identifier for the upload. examples: @@ -62956,23 +63165,23 @@ paths: application/json: schema: type: array - items: &425 + items: &415 type: object properties: - ref: *404 - commit_sha: &433 + ref: *394 + commit_sha: &423 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *422 + analysis_key: *412 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *423 + category: *413 error: type: string examples: @@ -62997,8 +63206,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *424 - tool: *411 + sarif_id: *414 + tool: *401 deletable: type: boolean warning: @@ -63060,9 +63269,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63096,8 +63305,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63110,7 +63319,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: response: summary: application/json response @@ -63164,14 +63373,14 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *413 + '403': *403 '404': *6 '422': description: Response if analysis could not be processed content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63251,8 +63460,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63308,9 +63517,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -63330,8 +63539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -63339,7 +63548,7 @@ paths: application/json: schema: type: array - items: &426 + items: &416 title: CodeQL Database description: A CodeQL database. type: object @@ -63451,9 +63660,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63480,8 +63689,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63493,7 +63702,7 @@ paths: description: Response content: application/json: - schema: *426 + schema: *416 examples: default: value: @@ -63525,11 +63734,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &456 + '302': &446 description: Found - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63549,8 +63758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *314 - - *315 + - *304 + - *305 - name: language in: path description: The language of the CodeQL database. @@ -63560,9 +63769,9 @@ paths: responses: '204': description: Response - '403': *419 + '403': *409 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63588,8 +63797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -63598,7 +63807,7 @@ paths: type: object additionalProperties: false properties: - language: &427 + language: &417 type: string description: The language targeted by the CodeQL query enum: @@ -63677,7 +63886,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &431 + schema: &421 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63687,7 +63896,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *427 + query_language: *417 query_pack_url: type: string description: The download url for the query pack. @@ -63735,7 +63944,7 @@ paths: items: type: object properties: - repository: &428 + repository: &418 title: Repository Identifier description: Repository Identifier type: object @@ -63777,7 +63986,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &432 + analysis_status: &422 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63809,7 +64018,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &429 + access_mismatch_repos: &419 type: object properties: repository_count: @@ -63824,7 +64033,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *428 + items: *418 required: - repository_count - repositories @@ -63847,8 +64056,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *429 - over_limit_repos: *429 + no_codeql_db_repos: *419 + over_limit_repos: *419 required: - access_mismatch_repos - not_found_repos @@ -63864,7 +64073,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &430 + value: &420 summary: Default response value: id: 1 @@ -64016,17 +64225,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *430 + value: *420 repository_lists: summary: Response for a successful variant analysis submission - value: *430 + value: *420 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64047,8 +64256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *314 - - *315 + - *304 + - *305 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -64060,11 +64269,11 @@ paths: description: Response content: application/json: - schema: *431 + schema: *421 examples: - default: *430 + default: *420 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64085,7 +64294,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *314 + - *304 - name: repo in: path description: The name of the controller repository. @@ -64120,7 +64329,7 @@ paths: type: object properties: repository: *51 - analysis_status: *432 + analysis_status: *422 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -64224,7 +64433,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64245,8 +64454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -64339,9 +64548,9 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *413 + '403': *403 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64360,8 +64569,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -64430,7 +64639,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -64455,7 +64664,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *419 + '403': *409 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64469,7 +64678,7 @@ paths: content: application/json: schema: *3 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64526,8 +64735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -64535,7 +64744,7 @@ paths: schema: type: object properties: - commit_sha: *433 + commit_sha: *423 ref: type: string description: |- @@ -64595,7 +64804,7 @@ paths: schema: type: object properties: - id: *424 + id: *414 url: type: string description: The REST API URL for checking the status of the upload. @@ -64609,11 +64818,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *419 + '403': *409 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64632,8 +64841,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *314 - - *315 + - *304 + - *305 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64681,10 +64890,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *413 + '403': *403 '404': description: Not Found if the sarif id does not match any upload - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -64706,8 +64915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -64763,7 +64972,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *156 + '204': *159 '304': *35 '403': *27 '404': *6 @@ -64788,8 +64997,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -64917,8 +65126,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65210,7 +65419,7 @@ paths: start_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/start stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-3f89ada1j3/stop recent_folders: [] - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65232,8 +65441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -65299,7 +65508,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -65307,12 +65516,12 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65336,8 +65545,8 @@ paths: parameters: - *17 - *19 - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -65377,7 +65586,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *100 + '500': *97 '400': *14 '401': *23 '403': *27 @@ -65401,8 +65610,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65439,9 +65648,9 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: &637 + default: &635 value: total_count: 2 machines: @@ -65458,7 +65667,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -65481,8 +65690,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65569,8 +65778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -65618,7 +65827,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65639,8 +65848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -65658,7 +65867,7 @@ paths: type: integer secrets: type: array - items: &439 + items: &429 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65679,9 +65888,9 @@ paths: - created_at - updated_at examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65702,16 +65911,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *437 + schema: *427 examples: - default: *438 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65731,17 +65940,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *439 + schema: *429 examples: - default: *440 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65761,9 +65970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -65791,7 +66000,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -65815,9 +66024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -65845,8 +66054,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *314 - - *315 + - *304 + - *305 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65884,7 +66093,7 @@ paths: application/json: schema: type: array - items: &441 + items: &431 title: Collaborator description: Collaborator type: object @@ -66052,7 +66261,7 @@ paths: admin: false role_name: write headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66077,9 +66286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: Response if user is a collaborator @@ -66125,9 +66334,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 requestBody: required: false content: @@ -66153,7 +66362,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &495 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66165,7 +66374,7 @@ paths: format: int64 examples: - 42 - repository: *131 + repository: *129 invitee: anyOf: - type: 'null' @@ -66341,7 +66550,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *105 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -66381,9 +66590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '204': description: No Content when collaborator was removed from the repository. @@ -66414,9 +66623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *314 - - *315 - - *62 + - *304 + - *305 + - *57 responses: '200': description: if user has admin permissions @@ -66436,7 +66645,7 @@ paths: user: anyOf: - type: 'null' - - *441 + - *431 required: - permission - role_name @@ -66490,8 +66699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -66501,7 +66710,7 @@ paths: application/json: schema: type: array - items: &442 + items: &432 title: Commit Comment description: Commit Comment type: object @@ -66542,8 +66751,8 @@ paths: updated_at: type: string format: date-time - author_association: *69 - reactions: *70 + author_association: *67 + reactions: *68 required: - url - html_url @@ -66559,7 +66768,7 @@ paths: - created_at - updated_at examples: - default: &445 + default: &435 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66593,7 +66802,7 @@ paths: updated_at: '2011-04-14T16:00:49Z' author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66618,17 +66827,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: &446 + default: &436 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66685,9 +66894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66709,7 +66918,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: default: value: @@ -66760,9 +66969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -66783,9 +66992,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -66811,11 +67020,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -66834,9 +67043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -66868,16 +67077,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -66899,10 +67108,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -66951,8 +67160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -67008,9 +67217,9 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: &551 + default: &541 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67080,8 +67289,8 @@ paths: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: - Link: *57 - '500': *100 + Link: *52 + '500': *97 '400': *14 '404': *6 '409': *45 @@ -67104,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *314 - - *315 - - &444 + - *304 + - *305 + - &434 name: commit_sha description: The SHA of the commit. in: path @@ -67178,9 +67387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67190,11 +67399,11 @@ paths: application/json: schema: type: array - items: *442 + items: *432 examples: - default: *445 + default: *435 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67220,9 +67429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 requestBody: required: true content: @@ -67257,9 +67466,9 @@ paths: description: Response content: application/json: - schema: *442 + schema: *432 examples: - default: *446 + default: *436 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67287,9 +67496,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 - *17 - *19 responses: @@ -67299,9 +67508,9 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: &543 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67780,7 +67989,7 @@ paths: auto_merge: draft: false headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -67838,11 +68047,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - - &448 + - &438 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -67857,9 +68066,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *433 examples: - default: &531 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67945,8 +68154,8 @@ paths: ..... '422': *15 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 '409': *45 x-github: githubCloudOnly: false @@ -67972,11 +68181,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *314 - - *315 - - *448 - - *449 - - *450 + - *304 + - *305 + - *438 + - *439 + - *440 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -68010,11 +68219,11 @@ paths: type: integer check_runs: type: array - items: *395 + items: *385 examples: - default: *451 + default: *441 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68037,9 +68246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -68047,7 +68256,7 @@ paths: schema: type: integer example: 1 - - *449 + - *439 - *17 - *19 responses: @@ -68065,7 +68274,7 @@ paths: type: integer check_suites: type: array - items: *399 + items: *389 examples: default: value: @@ -68240,7 +68449,7 @@ paths: latest_check_runs_count: 1 check_runs_url: https://api.github.com/repos/octocat/Hello-World/check-suites/5/check-runs headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68265,9 +68474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68338,7 +68547,7 @@ paths: type: string total_count: type: integer - repository: *131 + repository: *129 commit_url: type: string format: uri @@ -68469,9 +68678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *314 - - *315 - - *448 + - *304 + - *305 + - *438 - *17 - *19 responses: @@ -68481,7 +68690,7 @@ paths: application/json: schema: type: array - items: &608 + items: &606 title: Status description: The status of a commit. type: object @@ -68561,8 +68770,8 @@ paths: type: User site_admin: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68590,8 +68799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -68624,11 +68833,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *452 + - *442 code_of_conduct_file: anyOf: - type: 'null' - - &453 + - &443 title: Community Health File type: object properties: @@ -68644,23 +68853,23 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 contributing: anyOf: - type: 'null' - - *453 + - *443 readme: anyOf: - type: 'null' - - *453 + - *443 issue_template: anyOf: - type: 'null' - - *453 + - *443 pull_request_template: anyOf: - type: 'null' - - *453 + - *443 required: - code_of_conduct - code_of_conduct_file @@ -68789,8 +68998,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 - name: basehead @@ -68838,8 +69047,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *443 - merge_base_commit: *443 + base_commit: *433 + merge_base_commit: *433 status: type: string enum: @@ -68863,10 +69072,10 @@ paths: - 6 commits: type: array - items: *443 + items: *433 files: type: array - items: *454 + items: *444 required: - url - html_url @@ -69109,8 +69318,8 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69152,8 +69361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69306,7 +69515,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &455 + response-if-content-is-a-file: &445 summary: Response if content is a file value: type: file @@ -69443,7 +69652,7 @@ paths: - size - type - url - - &556 + - &546 title: Content File description: Content File type: object @@ -69661,7 +69870,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *455 + response-if-content-is-a-file: *445 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69730,7 +69939,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *456 + '302': *446 '304': *35 x-github: githubCloudOnly: false @@ -69753,8 +69962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -69849,7 +70058,7 @@ paths: description: Response content: application/json: - schema: &457 + schema: &447 title: File Commit description: File Commit type: object @@ -70005,7 +70214,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: example-for-creating-a-file: value: @@ -70059,7 +70268,7 @@ paths: schema: oneOf: - *3 - - &487 + - &477 description: Repository rule violation was detected type: object properties: @@ -70080,7 +70289,7 @@ paths: items: type: object properties: - placeholder_id: &600 + placeholder_id: &598 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70112,8 +70321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *314 - - *315 + - *304 + - *305 - name: path description: path parameter in: path @@ -70174,7 +70383,7 @@ paths: description: Response content: application/json: - schema: *457 + schema: *447 examples: default: value: @@ -70209,7 +70418,7 @@ paths: '422': *15 '404': *6 '409': *45 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70229,8 +70438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *314 - - *315 + - *304 + - *305 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70331,7 +70540,7 @@ paths: site_admin: false contributions: 32 headers: - Link: *57 + Link: *52 '204': description: Response if repository is empty '403': *27 @@ -70354,31 +70563,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *314 - - *315 - - *162 - - *163 + - *304 + - *305 - *164 - *165 + - *166 + - *167 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *166 - - *458 - - *167 - *168 + - *448 + - *169 + - *170 - *46 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -70389,8 +70590,6 @@ paths: default: 30 - *38 - *39 - - *169 - - *170 responses: '200': description: Response @@ -70398,11 +70597,11 @@ paths: application/json: schema: type: array - items: &461 + items: &451 type: object description: A Dependabot alert. properties: - number: *52 + number: *145 state: type: string description: The state of the Dependabot alert. @@ -70448,13 +70647,13 @@ paths: - direct - transitive - - security_advisory: *459 + security_advisory: *449 security_vulnerability: *50 - url: *55 - html_url: *56 - created_at: *53 - updated_at: *54 - dismissed_at: *148 + url: *148 + html_url: *149 + created_at: *146 + updated_at: *147 + dismissed_at: *151 dismissed_by: anyOf: - type: 'null' @@ -70478,8 +70677,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *147 - auto_dismissed_at: *460 + fixed_at: *150 + auto_dismissed_at: *450 required: - number - state @@ -70709,9 +70908,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *314 - - *315 - - &462 + - *304 + - *305 + - &452 name: alert_number in: path description: |- @@ -70720,13 +70919,13 @@ paths: or in `number` fields in the response from the `GET /repos/{owner}/{repo}/dependabot/alerts` operation. required: true - schema: *52 + schema: *145 responses: '200': description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -70839,9 +71038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *314 - - *315 - - *462 + - *304 + - *305 + - *452 requestBody: required: true content: @@ -70886,7 +71085,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *451 examples: default: value: @@ -71015,8 +71214,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -71034,7 +71233,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &455 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -71066,7 +71265,7 @@ paths: created_at: '2020-01-10T10:59:22Z' updated_at: '2020-01-11T11:59:22Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71088,16 +71287,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *463 + schema: *453 examples: - default: *464 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71117,15 +71316,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '200': description: Response content: application/json: - schema: *465 + schema: *455 examples: default: value: @@ -71151,9 +71350,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 requestBody: required: true content: @@ -71181,7 +71380,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -71205,9 +71404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *314 - - *315 - - *139 + - *304 + - *305 + - *137 responses: '204': description: Response @@ -71229,8 +71428,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *314 - - *315 + - *304 + - *305 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -71380,7 +71579,7 @@ paths: advisory_summary: Ruby OpenID advisory_url: https://github.com/advisories/GHSA-fqfj-cmh6-hj49 headers: - Link: *57 + Link: *52 '404': *6 '403': description: Response for a private repository when GitHub Advanced Security @@ -71404,8 +71603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -71642,7 +71841,7 @@ paths: spdxElementId: SPDXRef-DOCUMENT relatedSpdxElement: SPDXRef-Repository headers: - Link: *57 + Link: *52 '404': *6 '403': *27 x-github: @@ -71665,8 +71864,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -71749,7 +71948,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &456 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71788,7 +71987,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *456 resolved: type: object description: A collection of resolved package dependencies. @@ -71802,7 +72001,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *466 + metadata: *456 relationship: type: string description: A notation of whether a dependency is requested @@ -71935,8 +72134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *314 - - *315 + - *304 + - *305 - name: sha description: The SHA recorded at creation time. in: query @@ -71977,11 +72176,11 @@ paths: application/json: schema: type: array - items: *467 + items: *457 examples: - default: *468 + default: *458 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72045,8 +72244,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72128,7 +72327,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: simple-example: summary: Simple example @@ -72201,9 +72400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *314 - - *315 - - &469 + - *304 + - *305 + - &459 name: deployment_id description: deployment_id parameter in: path @@ -72215,7 +72414,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *457 examples: default: value: @@ -72280,9 +72479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 responses: '204': description: Response @@ -72304,9 +72503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - *17 - *19 responses: @@ -72316,7 +72515,7 @@ paths: application/json: schema: type: array - items: &470 + items: &460 title: Deployment Status description: The status of a deployment. type: object @@ -72460,7 +72659,7 @@ paths: environment_url: https://test-branch.lab.acme.com log_url: https://example.com/deployment/42/output headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -72480,9 +72679,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 requestBody: required: true content: @@ -72557,9 +72756,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: &471 + default: &461 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72615,9 +72814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *314 - - *315 - - *469 + - *304 + - *305 + - *459 - name: status_id in: path required: true @@ -72628,9 +72827,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *460 examples: - default: *471 + default: *461 '404': *6 x-github: githubCloudOnly: false @@ -72655,8 +72854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -72713,8 +72912,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -72732,7 +72931,7 @@ paths: - 5 environments: type: array - items: &473 + items: &463 title: Environment description: Details of a deployment environment type: object @@ -72794,7 +72993,7 @@ paths: type: string examples: - wait_timer - wait_timer: &475 + wait_timer: &465 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -72836,11 +73035,11 @@ paths: items: type: object properties: - type: *472 + type: *462 reviewer: anyOf: - *4 - - *161 + - *163 required: - id - node_id @@ -72863,7 +73062,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &466 type: - object - 'null' @@ -72980,9 +73179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *314 - - *315 - - &474 + - *304 + - *305 + - &464 name: environment_name in: path required: true @@ -72995,9 +73194,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: &477 + default: &467 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -73081,9 +73280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: false content: @@ -73093,7 +73292,7 @@ paths: - object - 'null' properties: - wait_timer: *475 + wait_timer: *465 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -73112,14 +73311,14 @@ paths: items: type: object properties: - type: *472 + type: *462 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *466 additionalProperties: false examples: default: @@ -73139,9 +73338,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *463 examples: - default: *477 + default: *467 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -73165,9 +73364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '204': description: Default response @@ -73192,9 +73391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73213,7 +73412,7 @@ paths: - 2 branch_policies: type: array - items: &478 + items: &468 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73274,9 +73473,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -73324,9 +73523,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - example-wildcard: &479 + example-wildcard: &469 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73368,10 +73567,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - &480 + - *304 + - *305 + - *464 + - &470 name: branch_policy_id in: path required: true @@ -73383,9 +73582,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73404,10 +73603,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *304 + - *305 + - *464 + - *470 requestBody: required: true content: @@ -73436,9 +73635,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *468 examples: - default: *479 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73457,10 +73656,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *314 - - *315 - - *474 - - *480 + - *304 + - *305 + - *464 + - *470 responses: '204': description: Response @@ -73485,9 +73684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 responses: '200': description: List of deployment protection rules @@ -73504,7 +73703,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &481 + items: &471 title: Deployment protection rule description: Deployment protection rule type: object @@ -73526,7 +73725,7 @@ paths: for the environment. examples: - true - app: &482 + app: &472 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73629,9 +73828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 requestBody: content: application/json: @@ -73652,9 +73851,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *471 examples: - default: &483 + default: &473 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73689,9 +73888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *474 - - *315 - - *314 + - *464 + - *305 + - *304 - *19 - *17 responses: @@ -73711,7 +73910,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *472 examples: default: value: @@ -73746,10 +73945,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *314 - - *315 - - *474 - - &484 + - *304 + - *305 + - *464 + - &474 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73761,9 +73960,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *471 examples: - default: *483 + default: *473 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73784,10 +73983,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: + - *464 + - *305 + - *304 - *474 - - *315 - - *314 - - *484 responses: '204': description: Response @@ -73813,9 +74012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 - *17 - *19 responses: @@ -73833,11 +74032,11 @@ paths: type: integer secrets: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73860,17 +74059,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 responses: '200': description: Response content: application/json: - schema: *364 + schema: *354 examples: - default: *365 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73892,18 +74091,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *485 + default: *475 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73925,10 +74124,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 requestBody: required: true content: @@ -73959,7 +74158,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -73985,10 +74184,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *314 - - *315 - - *474 - - *139 + - *304 + - *305 + - *464 + - *137 responses: '204': description: Default response @@ -74013,10 +74212,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *314 - - *315 - - *474 - - *333 + - *304 + - *305 + - *464 + - *323 - *19 responses: '200': @@ -74033,11 +74232,11 @@ paths: type: integer variables: type: array - items: *366 + items: *356 examples: - default: *367 + default: *357 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74058,9 +74257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *314 - - *315 - - *474 + - *304 + - *305 + - *464 requestBody: required: true content: @@ -74087,7 +74286,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -74112,18 +74311,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *314 - - *315 - - *474 - - *142 + - *304 + - *305 + - *464 + - *140 responses: '200': description: Response content: application/json: - schema: *366 + schema: *356 examples: - default: *486 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74144,10 +74343,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 requestBody: required: true content: @@ -74189,10 +74388,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *314 - - *315 - - *142 - - *474 + - *304 + - *305 + - *140 + - *464 responses: '204': description: Response @@ -74214,8 +74413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -74225,7 +74424,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: 200-response: value: @@ -74283,8 +74482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *314 - - *315 + - *304 + - *305 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74306,7 +74505,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -74419,7 +74618,7 @@ paths: url: https://api.github.com/licenses/mit node_id: MDc6TGljZW5zZW1pdA== headers: - Link: *57 + Link: *52 '400': *14 x-github: githubCloudOnly: false @@ -74443,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -74477,9 +74676,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -74500,8 +74699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74560,8 +74759,8 @@ paths: application/json: schema: oneOf: - - *105 - - *487 + - *103 + - *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74586,8 +74785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *314 - - *315 + - *304 + - *305 - name: file_sha in: path required: true @@ -74687,8 +74886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -74797,7 +74996,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &478 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -75024,15 +75223,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *314 - - *315 - - *444 + - *304 + - *305 + - *434 responses: '200': description: Response content: application/json: - schema: *488 + schema: *478 examples: default: value: @@ -75088,9 +75287,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *314 - - *315 - - &489 + - *304 + - *305 + - &479 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -75107,7 +75306,7 @@ paths: application/json: schema: type: array - items: &490 + items: &480 title: Git Reference description: Git references within a repository type: object @@ -75161,7 +75360,7 @@ paths: sha: 612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: - Link: *57 + Link: *52 '409': *45 x-github: githubCloudOnly: false @@ -75183,17 +75382,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '200': description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: &491 + default: &481 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75222,8 +75421,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75252,9 +75451,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75280,9 +75479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 requestBody: required: true content: @@ -75311,9 +75510,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *480 examples: - default: *491 + default: *481 '422': *15 '409': *45 x-github: @@ -75331,9 +75530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *314 - - *315 - - *489 + - *304 + - *305 + - *479 responses: '204': description: Response @@ -75388,8 +75587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75456,7 +75655,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &483 title: Git Tag description: Metadata for a Git tag type: object @@ -75512,7 +75711,7 @@ paths: - sha - type - url - verification: *492 + verification: *482 required: - sha - url @@ -75522,7 +75721,7 @@ paths: - tag - message examples: - default: &494 + default: &484 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75595,8 +75794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_sha in: path required: true @@ -75607,9 +75806,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *483 examples: - default: *494 + default: *484 '404': *6 '409': *45 x-github: @@ -75633,8 +75832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -75708,7 +75907,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &485 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75810,8 +76009,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *314 - - *315 + - *304 + - *305 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75834,7 +76033,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *485 examples: default-response: summary: Default response @@ -75893,8 +76092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -75904,7 +76103,7 @@ paths: application/json: schema: type: array - items: &496 + items: &486 title: Webhook description: Webhooks for repositories. type: object @@ -75967,7 +76166,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &719 + last_response: &716 title: Hook Response type: object properties: @@ -76025,7 +76224,7 @@ paths: status: unused message: headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -76044,8 +76243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76098,9 +76297,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: &497 + default: &487 value: type: Repository id: 12345678 @@ -76148,17 +76347,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '404': *6 x-github: githubCloudOnly: false @@ -76178,8 +76377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: true @@ -76225,9 +76424,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *486 examples: - default: *497 + default: *487 '422': *15 '404': *6 x-github: @@ -76248,8 +76447,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76274,8 +76473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '200': @@ -76303,8 +76502,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *176 requestBody: required: false @@ -76349,8 +76548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *17 - *177 @@ -76382,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76412,8 +76611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 - *16 responses: @@ -76437,8 +76636,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76464,8 +76663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *314 - - *315 + - *304 + - *305 - *176 responses: '204': @@ -76489,8 +76688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response if immutable releases are enabled @@ -76538,10 +76737,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76559,10 +76758,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-immutable-releases parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '409': *45 x-github: githubCloudOnly: false @@ -76617,14 +76816,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &498 + schema: &488 title: Import description: A repository import from an external source. type: object @@ -76731,7 +76930,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &491 value: vcs: subversion use_lfs: true @@ -76747,7 +76946,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &499 + '503': &489 description: Unavailable due to service under maintenance. content: application/json: @@ -76776,8 +76975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -76825,7 +77024,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: default: value: @@ -76850,7 +77049,7 @@ paths: type: string '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76878,8 +77077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -76931,7 +77130,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: example-1: summary: Example 1 @@ -76979,7 +77178,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77002,12 +77201,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *314 - - *315 - - &659 + - *304 + - *305 + - &656 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -77049,7 +77248,7 @@ paths: application/json: schema: type: array - items: &500 + items: &490 title: Porter Author description: Porter Author type: object @@ -77103,7 +77302,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77128,8 +77327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *314 - - *315 + - *304 + - *305 - name: author_id in: path required: true @@ -77159,7 +77358,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *490 examples: default: value: @@ -77172,7 +77371,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77196,8 +77395,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77238,7 +77437,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77266,8 +77465,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -77294,11 +77493,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *488 examples: - default: *501 + default: *491 '422': *15 - '503': *499 + '503': *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77321,8 +77520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77330,8 +77529,8 @@ paths: application/json: schema: *20 examples: - default: *502 - '301': *323 + default: *492 + '301': *313 '404': *6 x-github: githubCloudOnly: false @@ -77351,8 +77550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -77365,7 +77564,7 @@ paths: properties: {} additionalProperties: false examples: - default: &504 + default: &494 value: limit: collaborators_only origin: repository @@ -77390,13 +77589,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: application/json: - schema: *503 + schema: *493 examples: default: summary: Example request body @@ -77410,7 +77609,7 @@ paths: application/json: schema: *194 examples: - default: *504 + default: *494 '409': description: Response x-github: @@ -77432,8 +77631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -77456,8 +77655,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -77467,9 +77666,9 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: &652 + default: &649 value: - id: 1 repository: @@ -77583,7 +77782,7 @@ paths: html_url: https://github.com/octocat/Hello-World/invitations node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77600,8 +77799,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 requestBody: required: false @@ -77631,7 +77830,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *495 examples: default: value: @@ -77762,8 +77961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *314 - - *315 + - *304 + - *305 - *198 responses: '204': @@ -77795,8 +77994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *314 - - *315 + - *304 + - *305 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -77857,7 +78056,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -77867,9 +78066,9 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: &512 + default: &502 value: - id: 1 node_id: MDU6SXNzdWUx @@ -78016,8 +78215,8 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '422': *15 '404': *6 x-github: @@ -78046,8 +78245,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -78137,9 +78336,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: &509 + default: &499 value: id: 1 node_id: MDU6SXNzdWUx @@ -78293,9 +78492,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *73 + '503': *98 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -78323,9 +78522,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *314 - - *315 - - *92 + - *304 + - *305 + - *89 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -78335,7 +78534,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -78345,9 +78544,9 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: &511 + default: &501 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78378,7 +78577,7 @@ paths: issue_url: https://api.github.com/repos/octocat/Hello-World/issues/1347 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 '422': *15 '404': *6 x-github: @@ -78405,17 +78604,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: &507 + default: &497 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78469,9 +78668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78493,9 +78692,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -78513,9 +78712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -78535,9 +78734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -78563,11 +78762,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -78586,9 +78785,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -78620,16 +78819,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -78651,10 +78850,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -78674,8 +78873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -78685,7 +78884,7 @@ paths: application/json: schema: type: array - items: &508 + items: &498 title: Issue Event description: Issue Event type: object @@ -78732,7 +78931,7 @@ paths: issue: anyOf: - type: 'null' - - *68 + - *66 label: title: Issue Event Label description: Issue Event Label @@ -78765,7 +78964,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *161 + requested_team: *163 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78832,7 +79031,7 @@ paths: required: - from - to - author_association: *69 + author_association: *67 lock_reason: type: - string @@ -79006,7 +79205,7 @@ paths: author_association: COLLABORATOR state_reason: completed headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -79024,8 +79223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *314 - - *315 + - *304 + - *305 - name: event_id in: path required: true @@ -79036,7 +79235,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *498 examples: default: value: @@ -79229,7 +79428,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *320 + '410': *310 '403': *27 x-github: githubCloudOnly: false @@ -79263,9 +79462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *314 - - *315 - - &510 + - *304 + - *305 + - &500 name: issue_number description: The number that identifies the issue. in: path @@ -79277,12 +79476,12 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 '304': *35 x-github: githubCloudOnly: false @@ -79307,9 +79506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79428,15 +79627,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '422': *15 - '503': *73 + '503': *98 '403': *27 - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79454,9 +79653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -79482,9 +79681,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79500,9 +79699,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: content: application/json: @@ -79527,9 +79726,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79551,9 +79750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: assignee in: path required: true @@ -79593,10 +79792,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *314 - - *315 - - *510 - - *75 + - *304 + - *305 + - *500 + - *72 - *17 - *19 responses: @@ -79606,13 +79805,13 @@ paths: application/json: schema: type: array - items: *506 + items: *496 examples: - default: *511 + default: *501 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79641,9 +79840,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79665,16 +79864,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *496 examples: - default: *507 + default: *497 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79702,9 +79901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79714,14 +79913,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79749,9 +79948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -79773,17 +79972,17 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *323 + '301': *313 '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -79814,9 +80013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -79828,15 +80027,15 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 x-github: triggersNotification: true githubCloudOnly: false @@ -79862,9 +80061,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79874,14 +80073,14 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79898,9 +80097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -79914,7 +80113,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &514 + - &504 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79963,7 +80162,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &505 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -80091,7 +80290,7 @@ paths: - performed_via_github_app - assignee - assigner - - &516 + - &506 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -80137,7 +80336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &507 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -80183,7 +80382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &508 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -80232,7 +80431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &509 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -80261,7 +80460,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80274,7 +80473,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &510 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -80303,7 +80502,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *161 + requested_team: *163 requested_reviewer: *4 required: - review_requester @@ -80316,7 +80515,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &511 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -80372,7 +80571,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &512 title: Locked Issue Event description: Locked Issue Event type: object @@ -80417,7 +80616,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &513 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -80478,7 +80677,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &514 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80539,7 +80738,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &515 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80600,7 +80799,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &516 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80692,8 +80891,8 @@ paths: name: label color: red headers: - Link: *57 - '410': *320 + Link: *52 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80710,9 +80909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -80722,9 +80921,9 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: &513 + default: &503 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80741,10 +80940,10 @@ paths: color: a2eeef default: false headers: - Link: *57 - '301': *323 + Link: *52 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80761,9 +80960,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80822,12 +81021,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80844,9 +81043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -80906,12 +81105,12 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 - '301': *323 + default: *503 + '301': *313 '404': *6 - '410': *320 + '410': *310 '422': *15 x-github: githubCloudOnly: false @@ -80928,15 +81127,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80955,9 +81154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: name in: path required: true @@ -80970,7 +81169,7 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: default: value: @@ -80981,9 +81180,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *323 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81003,9 +81202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: false content: @@ -81034,7 +81233,7 @@ paths: '204': description: Response '403': *27 - '410': *320 + '410': *310 '404': *6 '422': *15 x-github: @@ -81052,9 +81251,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '204': description: Response @@ -81084,20 +81283,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 responses: '200': description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 - '301': *323 + default: *499 + '301': *313 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81114,9 +81313,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -81142,13 +81341,13 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81166,9 +81365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81200,16 +81399,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -81231,10 +81430,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *314 - - *315 - - *510 - - *310 + - *304 + - *305 + - *500 + - *300 responses: '204': description: Response @@ -81263,9 +81462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81287,9 +81486,9 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -81322,9 +81521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81334,13 +81533,13 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: - default: *512 + default: *502 headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81368,9 +81567,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81397,16 +81596,16 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *320 + '410': *310 '422': *15 '404': *6 x-github: @@ -81426,9 +81625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 requestBody: required: true content: @@ -81459,13 +81658,13 @@ paths: description: Response content: application/json: - schema: *68 + schema: *66 examples: - default: *509 + default: *499 '403': *27 '404': *6 '422': *7 - '503': *73 + '503': *98 x-github: triggersNotification: true githubCloudOnly: false @@ -81483,9 +81682,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *314 - - *315 - - *510 + - *304 + - *305 + - *500 - *17 - *19 responses: @@ -81500,19 +81699,19 @@ paths: description: Timeline Event type: object anyOf: + - *504 + - *505 + - *506 + - *507 + - *508 + - *509 + - *510 + - *511 + - *512 + - *513 - *514 - *515 - *516 - - *517 - - *518 - - *519 - - *520 - - *521 - - *522 - - *523 - - *524 - - *525 - - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81560,12 +81759,12 @@ paths: issue_url: type: string format: uri - author_association: *69 + author_association: *67 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - event - actor @@ -81596,7 +81795,7 @@ paths: properties: type: type: string - issue: *68 + issue: *66 required: - event - created_at @@ -81818,7 +82017,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - event - id @@ -81841,7 +82040,7 @@ paths: type: string comments: type: array - items: &545 + items: &535 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81946,7 +82145,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -82041,7 +82240,7 @@ paths: enum: - line - file - reactions: *70 + reactions: *68 body_html: type: string examples: @@ -82079,7 +82278,7 @@ paths: type: string comments: type: array - items: *442 + items: *432 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -82352,9 +82551,9 @@ paths: type: User site_admin: true headers: - Link: *57 + Link: *52 '404': *6 - '410': *320 + '410': *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82371,8 +82570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82382,7 +82581,7 @@ paths: application/json: schema: type: array - items: &527 + items: &517 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -82434,7 +82633,7 @@ paths: last_used: '2022-01-10T15:53:42Z' enabled: true headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82450,8 +82649,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82487,9 +82686,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: &528 + default: &518 value: id: 1 key: ssh-rsa AAA... @@ -82523,9 +82722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *314 - - *315 - - &529 + - *304 + - *305 + - &519 name: key_id description: The unique identifier of the key. in: path @@ -82537,9 +82736,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *517 examples: - default: *528 + default: *518 '404': *6 x-github: githubCloudOnly: false @@ -82557,9 +82756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *314 - - *315 - - *529 + - *304 + - *305 + - *519 responses: '204': description: Response @@ -82579,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -82590,11 +82789,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -82613,8 +82812,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -82650,9 +82849,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: &530 + default: &520 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82684,8 +82883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82696,9 +82895,9 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: - default: *530 + default: *520 '404': *6 x-github: githubCloudOnly: false @@ -82715,8 +82914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82755,7 +82954,7 @@ paths: description: Response content: application/json: - schema: *67 + schema: *65 examples: default: value: @@ -82781,8 +82980,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *314 - - *315 + - *304 + - *305 - name: name in: path required: true @@ -82808,8 +83007,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -82848,9 +83047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *314 - - *315 - - *420 + - *304 + - *305 + - *410 responses: '200': description: Response @@ -82916,7 +83115,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 required: - _links - git_url @@ -82997,8 +83196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83063,8 +83262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83098,9 +83297,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *443 + schema: *433 examples: - default: *531 + default: *521 '204': description: Response when already merged '404': @@ -83125,8 +83324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -83206,7 +83405,7 @@ paths: closed_at: '2013-02-12T13:22:01Z' due_on: '2012-10-09T23:39:01Z' headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -83223,8 +83422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83266,7 +83465,7 @@ paths: application/json: schema: *238 examples: - default: &532 + default: &522 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -83325,9 +83524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *314 - - *315 - - &533 + - *304 + - *305 + - &523 name: milestone_number description: The number that identifies the milestone. in: path @@ -83341,7 +83540,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 '404': *6 x-github: githubCloudOnly: false @@ -83358,9 +83557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 requestBody: required: false content: @@ -83400,7 +83599,7 @@ paths: application/json: schema: *238 examples: - default: *532 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 responses: '204': description: Response @@ -83439,9 +83638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *314 - - *315 - - *533 + - *304 + - *305 + - *523 - *17 - *19 responses: @@ -83451,11 +83650,11 @@ paths: application/json: schema: type: array - items: *67 + items: *65 examples: - default: *513 + default: *503 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83472,12 +83671,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *314 - - *315 - - *534 - - *535 - - *75 - - *536 + - *304 + - *305 + - *524 + - *525 + - *72 + - *526 - *17 - *19 responses: @@ -83487,11 +83686,11 @@ paths: application/json: schema: type: array - items: *95 + items: *92 examples: - default: *537 + default: *527 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -83513,8 +83712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -83572,14 +83771,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: &538 + schema: &528 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83723,7 +83922,7 @@ paths: - custom_404 - public examples: - default: &539 + default: &529 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83764,8 +83963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83820,9 +84019,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *528 examples: - default: *539 + default: *529 '422': *15 '409': *45 x-github: @@ -83845,8 +84044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -83946,8 +84145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -83973,8 +84172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -83984,7 +84183,7 @@ paths: application/json: schema: type: array - items: &540 + items: &530 title: Page Build description: Page Build type: object @@ -84057,7 +84256,7 @@ paths: created_at: '2014-02-10T19:00:49Z' updated_at: '2014-02-10T19:00:51Z' headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84076,8 +84275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '201': description: Response @@ -84124,16 +84323,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: &541 + default: &531 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -84181,8 +84380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *314 - - *315 + - *304 + - *305 - name: build_id in: path required: true @@ -84193,9 +84392,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *530 examples: - default: *541 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84215,8 +84414,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84324,9 +84523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *314 - - *315 - - &542 + - *304 + - *305 + - &532 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -84384,11 +84583,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *314 - - *315 - - *542 + - *304 + - *305 + - *532 responses: - '204': *156 + '204': *159 '404': *6 x-github: githubCloudOnly: false @@ -84413,8 +84612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -84682,7 +84881,7 @@ paths: description: Empty response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -84709,8 +84908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Private vulnerability reporting status @@ -84747,10 +84946,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84769,10 +84968,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: - '204': *156 + '204': *159 '422': *14 x-github: githubCloudOnly: false @@ -84793,8 +84992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Indicates the state of the projects to return. in: query @@ -84851,11 +85050,11 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84878,8 +85077,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -84907,11 +85106,11 @@ paths: application/json: schema: *232 examples: - default: *319 + default: *309 '401': *23 '403': *27 '404': *6 - '410': *320 + '410': *310 '422': *7 x-github: githubCloudOnly: false @@ -84934,8 +85133,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -84974,8 +85173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85037,8 +85236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *314 - - *315 + - *304 + - *305 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -85098,11 +85297,11 @@ paths: application/json: schema: type: array - items: *447 + items: *437 examples: - default: *543 + default: *533 headers: - Link: *57 + Link: *52 '304': *35 '422': *15 x-github: @@ -85132,8 +85331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -85200,7 +85399,7 @@ paths: description: Response content: application/json: - schema: &547 + schema: &537 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -85392,7 +85591,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85409,7 +85608,7 @@ paths: type: string ref: type: string - repo: *66 + repo: *64 sha: type: string user: *4 @@ -85439,8 +85638,8 @@ paths: - review_comments - review_comment - self - author_association: *69 - auto_merge: *544 + author_association: *67 + auto_merge: *534 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -85542,7 +85741,7 @@ paths: - merged_by - review_comments examples: - default: &548 + default: &538 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -86069,8 +86268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: sort in: query required: false @@ -86089,7 +86288,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86099,9 +86298,9 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: &550 + default: &540 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86153,7 +86352,7 @@ paths: original_line: 2 side: RIGHT headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86178,17 +86377,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '200': description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: &546 + default: &536 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -86263,9 +86462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86287,9 +86486,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: - default: *546 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86305,9 +86504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 responses: '204': description: Response @@ -86328,9 +86527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -86356,11 +86555,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -86379,9 +86578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *314 - - *315 - - *84 + - *304 + - *305 + - *81 requestBody: required: true content: @@ -86413,16 +86612,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -86444,10 +86643,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *314 - - *315 - - *84 - - *310 + - *304 + - *305 + - *81 + - *300 responses: '204': description: Response @@ -86490,9 +86689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *314 - - *315 - - &549 + - *304 + - *305 + - &539 name: pull_number description: The number that identifies the pull request. in: path @@ -86505,9 +86704,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '304': *35 '404': *6 '406': @@ -86515,8 +86714,8 @@ paths: content: application/json: schema: *3 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86542,9 +86741,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -86586,9 +86785,9 @@ paths: description: Response content: application/json: - schema: *547 + schema: *537 examples: - default: *548 + default: *538 '422': *15 '403': *27 x-github: @@ -86610,9 +86809,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86675,7 +86874,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -86683,11 +86882,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86713,10 +86912,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *314 - - *315 - - *549 - - *92 + - *304 + - *305 + - *539 + - *89 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -86726,7 +86925,7 @@ paths: enum: - asc - desc - - *75 + - *72 - *17 - *19 responses: @@ -86736,11 +86935,11 @@ paths: application/json: schema: type: array - items: *545 + items: *535 examples: - default: *550 + default: *540 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86771,9 +86970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -86879,7 +87078,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: example-for-a-multi-line-comment: value: @@ -86967,10 +87166,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *314 - - *315 - - *549 - - *84 + - *304 + - *305 + - *539 + - *81 requestBody: required: true content: @@ -86992,7 +87191,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *535 examples: default: value: @@ -87078,9 +87277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87090,11 +87289,11 @@ paths: application/json: schema: type: array - items: *443 + items: *433 examples: - default: *551 + default: *541 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87122,9 +87321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -87134,7 +87333,7 @@ paths: application/json: schema: type: array - items: *454 + items: *444 examples: default: value: @@ -87150,10 +87349,10 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" headers: - Link: *57 + Link: *52 '422': *15 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,9 +87371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 responses: '204': description: Response if pull request has been merged @@ -87197,9 +87396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87311,9 +87510,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 responses: '200': description: Response @@ -87329,7 +87528,7 @@ paths: items: *4 teams: type: array - items: *161 + items: *163 required: - users - teams @@ -87370,7 +87569,7 @@ paths: repositories_url: https://api.github.com/teams/1/repos parent: headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87388,9 +87587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -87427,7 +87626,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -87963,9 +88162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: true content: @@ -87999,7 +88198,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *437 examples: default: value: @@ -88504,9 +88703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 - *17 - *19 responses: @@ -88516,7 +88715,7 @@ paths: application/json: schema: type: array - items: &552 + items: &542 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88590,7 +88789,7 @@ paths: type: string body_text: type: string - author_association: *69 + author_association: *67 required: - id - node_id @@ -88639,7 +88838,7 @@ paths: commit_id: ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091 author_association: COLLABORATOR headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88672,9 +88871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -88764,9 +88963,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &554 + default: &544 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88829,10 +89028,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - &553 + - *304 + - *305 + - *539 + - &543 name: review_id description: The unique identifier of the review. in: path @@ -88844,9 +89043,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: &555 + default: &545 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88905,10 +89104,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -88931,7 +89130,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -88993,18 +89192,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 responses: '200': description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *554 + default: *544 '422': *7 '404': *6 x-github: @@ -89031,10 +89230,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 - *17 - *19 responses: @@ -89128,7 +89327,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *69 + author_association: *67 _links: type: object properties: @@ -89143,7 +89342,7 @@ paths: type: string body_html: type: string - reactions: *70 + reactions: *68 side: description: The side of the first line of the range for a multi-line comment. @@ -89263,7 +89462,7 @@ paths: pull_request: href: https://api.github.com/repos/octocat/Hello-World/pulls/1 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89292,10 +89491,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89324,7 +89523,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: default: value: @@ -89387,10 +89586,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *314 - - *315 - - *549 - - *553 + - *304 + - *305 + - *539 + - *543 requestBody: required: true content: @@ -89425,9 +89624,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *542 examples: - default: *555 + default: *545 '404': *6 '422': *7 '403': *27 @@ -89449,9 +89648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *314 - - *315 - - *549 + - *304 + - *305 + - *539 requestBody: required: false content: @@ -89515,8 +89714,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *314 - - *315 + - *304 + - *305 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -89529,9 +89728,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: &557 + default: &547 value: type: file encoding: base64 @@ -89573,8 +89772,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *314 - - *315 + - *304 + - *305 - name: dir description: The alternate path to look for a README file in: path @@ -89594,9 +89793,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *546 examples: - default: *557 + default: *547 '404': *6 '422': *15 x-github: @@ -89618,8 +89817,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -89629,7 +89828,7 @@ paths: application/json: schema: type: array - items: *558 + items: *548 examples: default: value: @@ -89703,7 +89902,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -89723,8 +89922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -89800,9 +89999,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: &562 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89907,9 +90106,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *314 - - *315 - - &560 + - *304 + - *305 + - &550 name: asset_id description: The unique identifier of the asset. in: path @@ -89921,9 +90120,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: &561 + default: &551 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -89958,7 +90157,7 @@ paths: type: User site_admin: false '404': *6 - '302': *456 + '302': *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89974,9 +90173,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 requestBody: required: false content: @@ -90005,9 +90204,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *549 examples: - default: *561 + default: *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90023,9 +90222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *314 - - *315 - - *560 + - *304 + - *305 + - *550 responses: '204': description: Response @@ -90049,8 +90248,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -90136,16 +90335,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90162,8 +90361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *314 - - *315 + - *304 + - *305 - name: tag description: tag parameter in: path @@ -90176,9 +90375,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': *6 x-github: githubCloudOnly: false @@ -90200,9 +90399,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *314 - - *315 - - &563 + - *304 + - *305 + - &553 name: release_id description: The unique identifier of the release. in: path @@ -90216,9 +90415,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '401': description: Unauthorized x-github: @@ -90236,9 +90435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: false content: @@ -90302,9 +90501,9 @@ paths: description: Response content: application/json: - schema: *558 + schema: *548 examples: - default: *562 + default: *552 '404': description: Not Found if the discussion category name is invalid content: @@ -90325,9 +90524,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 responses: '204': description: Response @@ -90347,9 +90546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - *17 - *19 responses: @@ -90359,7 +90558,7 @@ paths: application/json: schema: type: array - items: *559 + items: *549 examples: default: value: @@ -90396,7 +90595,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90440,9 +90639,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - name: name in: query required: true @@ -90468,7 +90667,7 @@ paths: description: Response for successful upload content: application/json: - schema: *559 + schema: *549 examples: response-for-successful-upload: value: @@ -90523,9 +90722,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90549,11 +90748,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -90572,9 +90771,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *314 - - *315 - - *563 + - *304 + - *305 + - *553 requestBody: required: true content: @@ -90604,16 +90803,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '201': description: Reaction created content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -90635,10 +90834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *314 - - *315 - - *563 - - *310 + - *304 + - *305 + - *553 + - *300 responses: '204': description: Response @@ -90662,9 +90861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *314 - - *315 - - *384 + - *304 + - *305 + - *374 - *17 - *19 responses: @@ -90681,7 +90880,7 @@ paths: oneOf: - allOf: - *256 - - &564 + - &554 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90702,67 +90901,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *257 - - *564 + - *554 - allOf: - *258 - - *564 + - *554 - allOf: - *259 - - *564 + - *554 - allOf: - - *565 - - *564 + - *555 + - *554 - allOf: - *260 - - *564 + - *554 - allOf: - *261 - - *564 + - *554 - allOf: - *262 - - *564 + - *554 - allOf: - *263 - - *564 + - *554 - allOf: - *264 - - *564 + - *554 - allOf: - *265 - - *564 + - *554 - allOf: - *266 - - *564 + - *554 - allOf: - *267 - - *564 + - *554 - allOf: - *268 - - *564 + - *554 - allOf: - *269 - - *564 + - *554 - allOf: - *270 - - *564 + - *554 - allOf: - *271 - - *564 + - *554 - allOf: - *272 - - *564 + - *554 - allOf: - *273 - - *564 + - *554 - allOf: - *274 - - *564 + - *554 - allOf: - *275 - - *564 + - *554 - allOf: - - *566 - - *564 + - *556 + - *554 examples: default: value: @@ -90801,8 +91000,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: includes_parents @@ -90813,7 +91012,7 @@ paths: schema: type: boolean default: true - - *567 + - *557 responses: '200': description: Response @@ -90852,7 +91051,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -90868,8 +91067,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 requestBody: description: Request body required: true @@ -90898,7 +91097,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *568 + items: *558 required: - name - enforcement @@ -90931,7 +91130,7 @@ paths: application/json: schema: *276 examples: - default: &578 + default: &568 value: id: 42 name: super cool ruleset @@ -90964,7 +91163,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -90978,12 +91177,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *314 - - *315 - - *569 - - *570 - - *571 - - *572 + - *304 + - *305 + - *559 + - *560 + - *561 + - *562 - *17 - *19 responses: @@ -90991,11 +91190,11 @@ paths: description: Response content: application/json: - schema: *573 + schema: *563 examples: - default: *574 + default: *564 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91014,19 +91213,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *314 - - *315 - - *575 + - *304 + - *305 + - *565 responses: '200': description: Response content: application/json: - schema: *576 + schema: *566 examples: - default: *577 + default: *567 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91052,8 +91251,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91075,9 +91274,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -91093,8 +91292,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91128,7 +91327,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *568 + items: *558 examples: default: value: @@ -91158,9 +91357,9 @@ paths: application/json: schema: *276 examples: - default: *578 + default: *568 '404': *6 - '500': *100 + '500': *97 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -91176,8 +91375,8 @@ paths: category: repos subcategory: rules parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91188,7 +91387,7 @@ paths: '204': description: Response '404': *6 - '500': *100 + '500': *97 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -91200,8 +91399,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 - name: ruleset_id @@ -91219,9 +91418,9 @@ paths: type: array items: *279 examples: - default: *579 + default: *569 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91238,8 +91437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *314 - - *315 + - *304 + - *305 - name: ruleset_id description: The ID of the ruleset. in: path @@ -91257,7 +91456,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *570 examples: default: value: @@ -91290,7 +91489,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91312,21 +91511,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *314 - - *315 - - *280 - - *281 - - *282 - - *283 + - *304 + - *305 + - *571 + - *572 + - *573 + - *574 - *46 - *19 - *17 - - *581 - - *582 - - *284 - - *285 - - *286 - - *287 + - *575 + - *576 + - *577 + - *578 + - *579 + - *580 responses: '200': description: Response @@ -91334,24 +91533,24 @@ paths: application/json: schema: type: array - items: &586 + items: &584 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri description: The REST API URL of the code locations for this alert. - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolved_at: type: - string @@ -91445,7 +91644,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *585 + - *583 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -91568,7 +91767,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91590,16 +91789,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 - - *287 + - *304 + - *305 + - *404 + - *580 responses: '200': description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91630,7 +91829,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91651,9 +91850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 requestBody: required: true content: @@ -91661,8 +91860,8 @@ paths: schema: type: object properties: - state: *583 - resolution: *584 + state: *581 + resolution: *582 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -91681,7 +91880,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *584 examples: default: value: @@ -91734,7 +91933,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91756,9 +91955,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *314 - - *315 - - *414 + - *304 + - *305 + - *404 - *19 - *17 responses: @@ -91769,7 +91968,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &739 + items: &736 type: object properties: type: @@ -91796,6 +91995,8 @@ paths: - commit details: oneOf: + - *585 + - *586 - *587 - *588 - *589 @@ -91807,8 +92008,6 @@ paths: - *595 - *596 - *597 - - *598 - - *599 examples: default: value: @@ -91868,11 +92067,11 @@ paths: details: pull_request_review_comment_url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/12 headers: - Link: *57 + Link: *52 '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91894,8 +92093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -91903,14 +92102,14 @@ paths: schema: type: object properties: - reason: &601 + reason: &599 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *600 + placeholder_id: *598 required: - reason - placeholder_id @@ -91927,7 +92126,7 @@ paths: schema: type: object properties: - reason: *601 + reason: *599 expire_at: type: - string @@ -91951,7 +92150,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *73 + '503': *98 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -91963,6 +92162,9 @@ paths: description: |- Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included. + > [!NOTE] + > This endpoint requires [GitHub Advanced Security](https://docs.github.com/get-started/learning-about-github/about-github-advanced-security)." + OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. tags: - secret-scanning @@ -91971,13 +92173,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *73 + '503': *98 '200': description: Response content: @@ -91987,7 +92189,7 @@ paths: properties: incremental_scans: type: array - items: &602 + items: &600 description: Information on a single scan performed by secret scanning on the repository type: object @@ -92015,15 +92217,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *602 + items: *600 backfill_scans: type: array - items: *602 + items: *600 custom_pattern_backfill_scans: type: array items: allOf: - - *602 + - *600 - type: object properties: pattern_name: @@ -92093,8 +92295,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *314 - - *315 + - *304 + - *305 - *46 - name: sort description: The property to sort the results by. @@ -92138,9 +92340,9 @@ paths: application/json: schema: type: array - items: *603 + items: *601 examples: - default: *604 + default: *602 '400': *14 '404': *6 x-github: @@ -92163,8 +92365,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92244,7 +92446,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -92334,9 +92536,9 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: &606 + default: &604 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92569,8 +92771,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -92683,7 +92885,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: default: value: @@ -92830,17 +93032,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '200': description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 + default: *604 '403': *27 '404': *6 x-github: @@ -92864,9 +93066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 requestBody: required: true content: @@ -92946,7 +93148,7 @@ paths: login: type: string description: The username of the user credited. - type: *292 + type: *282 required: - login - type @@ -93037,17 +93239,17 @@ paths: description: Response content: application/json: - schema: *603 + schema: *601 examples: - default: *606 - add_credit: *606 + default: *604 + add_credit: *604 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *105 + schema: *103 examples: invalid_state_transition: value: @@ -93078,9 +93280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '202': *37 '400': *14 @@ -93107,17 +93309,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *314 - - *315 - - *605 + - *304 + - *305 + - *603 responses: '202': description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 '400': *14 '422': *15 '403': *27 @@ -93143,8 +93345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93218,7 +93420,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -93240,8 +93442,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -93250,7 +93452,7 @@ paths: application/json: schema: type: array - items: &607 + items: &605 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -93263,7 +93465,7 @@ paths: - 1124 - -435 '202': *37 - '204': *156 + '204': *159 '422': description: Repository contains more than 10,000 commits x-github: @@ -93283,8 +93485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93335,7 +93537,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93362,8 +93564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -93435,7 +93637,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93457,8 +93659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93612,8 +93814,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93623,7 +93825,7 @@ paths: application/json: schema: type: array - items: *607 + items: *605 examples: default: value: @@ -93636,7 +93838,7 @@ paths: - - 0 - 2 - 21 - '204': *156 + '204': *159 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93656,8 +93858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *314 - - *315 + - *304 + - *305 - name: sha in: path required: true @@ -93713,7 +93915,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *606 examples: default: value: @@ -93767,8 +93969,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -93780,9 +93982,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93800,14 +94002,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &609 + schema: &607 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93880,8 +94082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: false content: @@ -93907,7 +94109,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *607 examples: default: value: @@ -93934,8 +94136,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -93955,8 +94157,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94015,7 +94217,7 @@ paths: tarball_url: https://github.com/octocat/Hello-World/tarball/v0.1 node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94038,8 +94240,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94047,7 +94249,7 @@ paths: application/json: schema: type: array - items: &610 + items: &608 title: Tag protection description: Tag protection type: object @@ -94104,8 +94306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94128,7 +94330,7 @@ paths: description: Response content: application/json: - schema: *610 + schema: *608 examples: default: value: @@ -94159,8 +94361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -94197,8 +94399,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -94234,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *314 - - *315 + - *304 + - *305 - *17 - *19 responses: @@ -94245,11 +94447,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: default: *215 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -94267,8 +94469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 - *19 - *17 responses: @@ -94276,7 +94478,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &609 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -94288,7 +94490,7 @@ paths: required: - names examples: - default: &612 + default: &610 value: names: - octocat @@ -94311,8 +94513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94343,9 +94545,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *609 examples: - default: *612 + default: *610 '404': *6 '422': *7 x-github: @@ -94366,9 +94568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *314 - - *315 - - &613 + - *304 + - *305 + - &611 name: per description: The time frame to display results for. in: query @@ -94399,7 +94601,7 @@ paths: - 128 clones: type: array - items: &614 + items: &612 title: Traffic type: object properties: @@ -94486,8 +94688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94581,8 +94783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *314 - - *315 + - *304 + - *305 responses: '200': description: Response @@ -94645,9 +94847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *314 - - *315 - - *613 + - *304 + - *305 + - *611 responses: '200': description: Response @@ -94668,7 +94870,7 @@ paths: - 3782 views: type: array - items: *614 + items: *612 required: - uniques - count @@ -94745,8 +94947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *314 - - *315 + - *304 + - *305 requestBody: required: true content: @@ -94782,7 +94984,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *129 examples: default: value: @@ -95020,8 +95222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -95044,8 +95246,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95067,8 +95269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -95094,8 +95296,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *314 - - *315 + - *304 + - *305 - name: ref in: path required: true @@ -95187,9 +95389,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95230,7 +95432,7 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: value: @@ -95419,7 +95621,7 @@ paths: html_url: type: string format: uri - repository: *131 + repository: *129 score: type: number file_size: @@ -95438,7 +95640,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &615 + text_matches: &613 title: Search Result Text Matches type: array items: @@ -95553,7 +95755,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *73 + '503': *98 '422': *15 '403': *27 x-github: @@ -95601,7 +95803,7 @@ paths: enum: - author-date - committer-date - - &616 + - &614 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -95670,7 +95872,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 comment_count: type: integer message: @@ -95689,7 +95891,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *482 required: - author - committer @@ -95704,7 +95906,7 @@ paths: committer: anyOf: - type: 'null' - - *382 + - *372 parents: type: array items: @@ -95716,12 +95918,12 @@ paths: type: string sha: type: string - repository: *131 + repository: *129 score: type: number node_id: type: string - text_matches: *615 + text_matches: *613 required: - sha - node_id @@ -95913,7 +96115,7 @@ paths: - interactions - created - updated - - *616 + - *614 - *17 - *19 - name: advanced_search @@ -96010,11 +96212,11 @@ paths: type: - string - 'null' - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: type: string state_reason: @@ -96042,7 +96244,7 @@ paths: - string - 'null' format: date-time - text_matches: *615 + text_matches: *613 pull_request: type: object properties: @@ -96080,10 +96282,10 @@ paths: type: string score: type: number - author_association: *69 + author_association: *67 draft: type: boolean - repository: *66 + repository: *64 body_html: type: string body_text: @@ -96096,7 +96298,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *70 + reactions: *68 required: - assignee - closed_at @@ -96212,7 +96414,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *73 + '503': *98 '422': *15 '304': *35 '403': *27 @@ -96265,7 +96467,7 @@ paths: enum: - created - updated - - *616 + - *614 - *17 - *19 responses: @@ -96310,7 +96512,7 @@ paths: - 'null' score: type: number - text_matches: *615 + text_matches: *613 required: - id - node_id @@ -96395,7 +96597,7 @@ paths: - forks - help-wanted-issues - updated - - *616 + - *614 - *17 - *19 responses: @@ -96614,7 +96816,7 @@ paths: license: anyOf: - type: 'null' - - *71 + - *69 permissions: type: object properties: @@ -96632,7 +96834,7 @@ paths: - admin - pull - push - text_matches: *615 + text_matches: *613 temp_clone_token: type: string allow_merge_commit: @@ -96835,7 +97037,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *73 + '503': *98 '422': *15 '304': *35 x-github: @@ -96940,7 +97142,7 @@ paths: - string - 'null' format: uri - text_matches: *615 + text_matches: *613 related: type: - array @@ -97133,7 +97335,7 @@ paths: - followers - repositories - joined - - *616 + - *614 - *17 - *19 responses: @@ -97243,7 +97445,7 @@ paths: type: - boolean - 'null' - text_matches: *615 + text_matches: *613 blog: type: - string @@ -97305,7 +97507,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *73 + '503': *98 '422': *15 x-github: githubCloudOnly: false @@ -97325,7 +97527,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &620 + - &618 name: team_id description: The unique identifier of the team. in: path @@ -97337,9 +97539,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 x-github: githubCloudOnly: false @@ -97366,7 +97568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97430,16 +97632,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '201': description: Response content: application/json: - schema: *299 + schema: *289 examples: - default: *300 + default: *290 '404': *6 '422': *15 '403': *27 @@ -97467,7 +97669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *620 + - *618 responses: '204': description: Response @@ -97498,7 +97700,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *620 + - *618 - *46 - *17 - *19 @@ -97509,11 +97711,11 @@ paths: application/json: schema: type: array - items: *301 + items: *291 examples: - default: *621 + default: *619 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97540,7 +97742,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *620 + - *618 requestBody: required: true content: @@ -97574,9 +97776,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: triggersNotification: true githubCloudOnly: false @@ -97603,16 +97805,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '200': description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *302 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97637,8 +97839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: false content: @@ -97661,9 +97863,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *291 examples: - default: *622 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97688,8 +97890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 responses: '204': description: Response @@ -97718,8 +97920,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *620 - - *303 + - *618 + - *293 - *46 - *17 - *19 @@ -97730,11 +97932,11 @@ paths: application/json: schema: type: array - items: *304 + items: *294 examples: - default: *623 + default: *621 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97761,8 +97963,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -97784,9 +97986,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -97813,17 +98015,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97848,9 +98050,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -97872,9 +98074,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *624 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97899,9 +98101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 responses: '204': description: Response @@ -97930,9 +98132,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -97958,11 +98160,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97989,9 +98191,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *620 - - *303 - - *306 + - *618 + - *293 + - *296 requestBody: required: true content: @@ -98023,9 +98225,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98051,8 +98253,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -98078,11 +98280,11 @@ paths: application/json: schema: type: array - items: *307 + items: *297 examples: - default: *309 + default: *299 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98109,8 +98311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *620 - - *303 + - *618 + - *293 requestBody: required: true content: @@ -98142,9 +98344,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *297 examples: - default: *308 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98168,7 +98370,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98182,7 +98384,7 @@ paths: examples: default: *197 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98206,7 +98408,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *620 + - *618 - name: role description: Filters members returned by their role in the team. in: query @@ -98229,9 +98431,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98257,8 +98459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: if user is a member @@ -98294,8 +98496,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98334,8 +98536,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98371,16 +98573,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '200': description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-user-is-a-team-maintainer: *625 + response-if-user-is-a-team-maintainer: *623 '404': *6 x-github: githubCloudOnly: false @@ -98413,8 +98615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 requestBody: required: false content: @@ -98439,9 +98641,9 @@ paths: description: Response content: application/json: - schema: *311 + schema: *301 examples: - response-if-users-membership-with-team-is-now-pending: *626 + response-if-users-membership-with-team-is-now-pending: *624 '403': description: Forbidden if team synchronization is set up '422': @@ -98475,8 +98677,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *620 - - *62 + - *618 + - *57 responses: '204': description: Response @@ -98504,7 +98706,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98514,11 +98716,11 @@ paths: application/json: schema: type: array - items: *312 + items: *302 examples: - default: *627 + default: *625 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98542,16 +98744,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '200': description: Response content: application/json: - schema: *312 + schema: *302 examples: - default: *628 + default: *626 '404': description: Not Found if project is not managed by this team x-github: @@ -98575,8 +98777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *620 - - *313 + - *618 + - *303 requestBody: required: false content: @@ -98643,8 +98845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *620 - - *313 + - *618 + - *303 responses: '204': description: Response @@ -98671,7 +98873,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98681,11 +98883,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -98713,15 +98915,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *629 + schema: *627 examples: alternative-response-with-extra-repository-information: value: @@ -98872,9 +99074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 requestBody: required: false content: @@ -98924,9 +99126,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *620 - - *314 - - *315 + - *618 + - *304 + - *305 responses: '204': description: Response @@ -98951,7 +99153,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *620 + - *618 - *17 - *19 responses: @@ -98961,11 +99163,11 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - response-if-child-teams-exist: *630 + response-if-child-teams-exist: *628 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '422': *15 @@ -98996,7 +99198,7 @@ paths: application/json: schema: oneOf: - - &632 + - &630 title: Private User description: Private User type: object @@ -99246,7 +99448,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *631 + - *629 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -99406,7 +99608,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *630 examples: default: value: @@ -99485,7 +99687,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 '304': *35 '404': *6 '403': *27 @@ -99508,7 +99710,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: If the user is blocked @@ -99536,7 +99738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#block-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99560,7 +99762,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/blocking#unblock-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -99613,7 +99815,7 @@ paths: examples: default: *205 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -99752,7 +99954,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '202': description: Response when the codespace creation partially failed but is being retried in the background @@ -99760,11 +99962,11 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 - '503': *73 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99804,7 +100006,7 @@ paths: type: integer secrets: type: array - items: &633 + items: &631 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -99846,9 +100048,9 @@ paths: - visibility - selected_repositories_url examples: - default: *436 + default: *426 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99918,13 +100120,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '200': description: Response content: application/json: - schema: *633 + schema: *631 examples: default: value: @@ -99954,7 +100156,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 requestBody: required: true content: @@ -99999,7 +100201,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -100027,7 +100229,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *139 + - *137 responses: '204': description: Response @@ -100052,7 +100254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 responses: '200': description: Response @@ -100068,13 +100270,13 @@ paths: type: integer repositories: type: array - items: *131 + items: *129 examples: - default: *634 + default: *632 '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100095,7 +100297,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *139 + - *137 requestBody: required: true content: @@ -100127,7 +100329,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100149,7 +100351,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100161,7 +100363,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100182,7 +100384,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *139 + - *137 - name: repository_id in: path required: true @@ -100194,7 +100396,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *100 + '500': *97 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100222,9 +100424,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100280,7 +100482,7 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '401': *23 '403': *27 '404': *6 @@ -100306,7 +100508,7 @@ paths: responses: '202': *37 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100337,7 +100539,7 @@ paths: description: Response content: application/json: - schema: &635 + schema: &633 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -100390,7 +100592,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &636 + default: &634 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -100398,7 +100600,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100435,9 +100637,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *633 examples: - default: *636 + default: *634 '404': *6 x-github: githubCloudOnly: false @@ -100474,11 +100676,11 @@ paths: type: integer machines: type: array - items: *435 + items: *425 examples: - default: *637 + default: *635 '304': *35 - '500': *100 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -100561,11 +100763,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *322 + repository: *312 machine: anyOf: - type: 'null' - - *435 + - *425 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -101370,9 +101572,9 @@ paths: application/json: schema: *204 examples: - default: *434 + default: *424 '304': *35 - '500': *100 + '500': *97 '400': *14 '401': *23 '402': @@ -101410,8 +101612,8 @@ paths: application/json: schema: *204 examples: - default: *434 - '500': *100 + default: *424 + '500': *97 '401': *23 '403': *27 '404': *6 @@ -101442,7 +101644,7 @@ paths: type: array items: *216 examples: - default: &649 + default: &646 value: - id: 197 name: hello_docker @@ -101543,7 +101745,7 @@ paths: application/json: schema: type: array - items: &638 + items: &636 title: Email description: Email type: object @@ -101613,16 +101815,16 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: &651 + default: &648 value: - email: octocat@github.com verified: true primary: true visibility: public headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -101692,7 +101894,7 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: default: value: @@ -101804,9 +102006,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101837,9 +102039,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -101859,7 +102061,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *62 + - *57 responses: '204': description: if the person is followed by the authenticated user @@ -101889,7 +102091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#follow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101914,7 +102116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#unfollow-a-user parameters: - - *62 + - *57 responses: '204': description: Response @@ -101950,7 +102152,7 @@ paths: application/json: schema: type: array - items: &639 + items: &637 title: GPG Key description: A unique encryption key type: object @@ -102095,7 +102297,7 @@ paths: - subkeys - revoked examples: - default: &665 + default: &662 value: - id: 3 name: Octocat's GPG Key @@ -102127,7 +102329,7 @@ paths: revoked: false raw_key: string headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102180,9 +102382,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: &640 + default: &638 value: id: 3 name: Octocat's GPG Key @@ -102239,7 +102441,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &641 + - &639 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -102251,9 +102453,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *637 examples: - default: *640 + default: *638 '404': *6 '304': *35 '403': *27 @@ -102276,7 +102478,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *641 + - *639 responses: '204': description: Response @@ -102419,7 +102621,7 @@ paths: suspended_at: suspended_by: headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -102465,11 +102667,11 @@ paths: type: string repositories: type: array - items: *66 + items: *64 examples: - default: *123 + default: *121 headers: - Link: *57 + Link: *52 '404': *6 '403': *27 '304': *35 @@ -102492,7 +102694,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102518,7 +102720,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *120 + - *118 responses: '204': description: Response @@ -102581,7 +102783,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *493 examples: default: value: @@ -102686,7 +102888,7 @@ paths: - comments default: created - *46 - - *75 + - *72 - *17 - *19 responses: @@ -102696,11 +102898,11 @@ paths: application/json: schema: type: array - items: *68 + items: *66 examples: default: *203 headers: - Link: *57 + Link: *52 '404': *6 '304': *35 x-github: @@ -102731,7 +102933,7 @@ paths: application/json: schema: type: array - items: &642 + items: &640 title: Key description: Key type: object @@ -102783,7 +102985,7 @@ paths: verified: false read_only: false headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -102834,9 +103036,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: &643 + default: &641 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -102869,15 +103071,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *519 responses: '200': description: Response content: application/json: - schema: *642 + schema: *640 examples: - default: *643 + default: *641 '404': *6 '304': *35 '403': *27 @@ -102900,7 +103102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *529 + - *519 responses: '204': description: Response @@ -102933,7 +103135,7 @@ paths: application/json: schema: type: array - items: &644 + items: &642 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -103001,7 +103203,7 @@ paths: - id - type - login - plan: *86 + plan: *83 required: - billing_cycle - next_billing_date @@ -103012,7 +103214,7 @@ paths: - account - plan examples: - default: &645 + default: &643 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -103045,7 +103247,7 @@ paths: - Up to 25 private repositories - 11 concurrent builds headers: - Link: *57 + Link: *52 '304': *35 '401': *23 '404': *6 @@ -103074,11 +103276,11 @@ paths: application/json: schema: type: array - items: *644 + items: *642 examples: - default: *645 + default: *643 headers: - Link: *57 + Link: *52 '304': *35 '401': *23 x-github: @@ -103193,7 +103395,7 @@ paths: type: User site_admin: false headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -103218,7 +103420,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 responses: '200': description: Response @@ -103282,7 +103484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *99 + - *61 requestBody: required: true content: @@ -103528,7 +103730,7 @@ paths: updated_at: '2015-07-06T15:33:38-07:00' node_id: MDQ6VXNlcjE= headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104080,7 +104282,7 @@ paths: url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - *211 - - *646 + - *644 responses: '204': description: Response @@ -104114,11 +104316,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '404': *6 x-github: githubCloudOnly: false @@ -104151,11 +104353,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -104195,7 +104397,7 @@ paths: - docker - nuget - container - - *648 + - *645 - *19 - *17 responses: @@ -104207,8 +104409,8 @@ paths: type: array items: *216 examples: - default: *649 - '400': *650 + default: *646 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104237,7 +104439,7 @@ paths: application/json: schema: *216 examples: - default: &666 + default: &663 value: id: 40201 name: octo-name @@ -104692,11 +104894,11 @@ paths: application/json: schema: type: array - items: *638 + items: *636 examples: - default: *651 + default: *648 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -104805,9 +105007,9 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default: &658 + default: &655 summary: Default response value: - id: 1296269 @@ -104928,7 +105130,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '422': *15 '304': *35 '403': *27 @@ -105125,9 +105327,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *312 examples: - default: *324 + default: *314 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105165,11 +105367,11 @@ paths: application/json: schema: type: array - items: *505 + items: *495 examples: - default: *652 + default: *649 headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105246,7 +105448,7 @@ paths: application/json: schema: type: array - items: &653 + items: &650 title: Social account description: Social media account type: object @@ -105263,12 +105465,12 @@ paths: - provider - url examples: - default: &654 + default: &651 value: - provider: twitter url: https://twitter.com/github headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105326,9 +105528,9 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 '422': *15 '304': *35 '404': *6 @@ -105416,7 +105618,7 @@ paths: application/json: schema: type: array - items: &655 + items: &652 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -105436,7 +105638,7 @@ paths: - title - created_at examples: - default: &680 + default: &677 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105449,7 +105651,7 @@ paths: title: ssh-rsa AAAAB3NzaC1yc2EAAB created_at: '2020-07-11T21:31:57Z' headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105503,9 +105705,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: &656 + default: &653 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -105536,7 +105738,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &657 + - &654 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -105548,9 +105750,9 @@ paths: description: Response content: application/json: - schema: *655 + schema: *652 examples: - default: *656 + default: *653 '404': *6 '304': *35 '403': *27 @@ -105573,7 +105775,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *657 + - *654 responses: '204': description: Response @@ -105602,7 +105804,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &681 + - &678 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -105625,13 +105827,13 @@ paths: application/json: schema: type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 application/vnd.github.v3.star+json: schema: type: array - items: &682 + items: &679 title: Starred Repository description: Starred Repository type: object @@ -105639,7 +105841,7 @@ paths: starred_at: type: string format: date-time - repo: *66 + repo: *64 required: - starred_at - repo @@ -105767,7 +105969,7 @@ paths: open_issues: 1 watchers: 1 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105787,8 +105989,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response if this repository is starred by you @@ -105816,8 +106018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105841,8 +106043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *314 - - *315 + - *304 + - *305 responses: '204': description: Response @@ -105875,11 +106077,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -105914,7 +106116,7 @@ paths: application/json: schema: type: array - items: *299 + items: *289 examples: default: value: @@ -105965,7 +106167,7 @@ paths: updated_at: '2017-08-17T12:37:15Z' type: Organization headers: - Link: *57 + Link: *52 '304': *35 '404': *6 '403': *27 @@ -105992,7 +106194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user-using-their-id parameters: - - *88 + - *85 responses: '200': description: Response @@ -106000,10 +106202,10 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: &660 + default-response: &657 summary: Default response value: login: octocat @@ -106038,7 +106240,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &661 + response-with-git-hub-plan-information: &658 summary: Response with GitHub plan information value: login: octocat @@ -106098,7 +106300,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *659 + - *656 - *17 responses: '200': @@ -106109,7 +106311,7 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: Link: example: ; rel="next" @@ -106139,7 +106341,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-a-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106147,11 +106349,11 @@ paths: application/json: schema: oneOf: - - *632 - - *631 + - *630 + - *629 examples: - default-response: *660 - response-with-git-hub-plan-information: *661 + default-response: *657 + response-with-git-hub-plan-information: *658 '404': *6 x-github: githubCloudOnly: false @@ -106177,7 +106379,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 requestBody: required: true content: @@ -106200,8 +106402,8 @@ paths: required: - subject_digests examples: - default: *662 - withPredicateType: *663 + default: *659 + withPredicateType: *660 responses: '200': description: Response @@ -106255,7 +106457,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *664 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106273,7 +106475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-in-bulk parameters: - - *62 + - *57 requestBody: required: true content: @@ -106338,7 +106540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106369,7 +106571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/attestations#delete-attestations-by-id parameters: - - *62 + - *57 - name: attestation_id description: Attestation ID in: path @@ -106407,7 +106609,7 @@ paths: - *17 - *38 - *39 - - *62 + - *57 - name: subject_digest description: Subject Digest in: path @@ -106459,12 +106661,12 @@ paths: initiator: type: string examples: - default: *378 + default: *368 '201': description: Response content: application/json: - schema: *140 + schema: *138 examples: default: value: @@ -106490,7 +106692,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *62 + - *57 responses: '200': description: Response @@ -106500,7 +106702,7 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 x-github: @@ -106523,7 +106725,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-for-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106533,7 +106735,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106595,8 +106797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *62 - - *99 + - *57 + - *61 - *17 - *19 responses: @@ -106606,7 +106808,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106683,7 +106885,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106693,7 +106895,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -106751,7 +106953,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-followers-of-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106763,9 +106965,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106782,7 +106984,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#list-the-people-a-user-follows parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106794,9 +106996,9 @@ paths: type: array items: *4 examples: - default: *61 + default: *56 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106813,7 +107015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/followers#check-if-a-user-follows-another-user parameters: - - *62 + - *57 - name: target_user in: path required: true @@ -106840,8 +107042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/gists/gists#list-gists-for-a-user parameters: - - *62 - - *75 + - *57 + - *72 - *17 - *19 responses: @@ -106851,11 +107053,11 @@ paths: application/json: schema: type: array - items: *76 + items: *73 examples: - default: *77 + default: *74 headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -106874,7 +107076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -106884,11 +107086,11 @@ paths: application/json: schema: type: array - items: *639 + items: *637 examples: - default: *665 + default: *662 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -106910,7 +107112,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#get-contextual-information-for-a-user parameters: - - *62 + - *57 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -106982,7 +107184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *62 + - *57 responses: '200': description: Response @@ -106990,7 +107192,7 @@ paths: application/json: schema: *20 examples: - default: *502 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107008,7 +107210,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#list-public-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107044,7 +107246,7 @@ paths: - id: 1 key: ssh-rsa AAA... headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107064,7 +107266,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#list-organizations-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107074,11 +107276,11 @@ paths: application/json: schema: type: array - items: *160 + items: *59 examples: - default: *647 + default: *96 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107115,8 +107317,8 @@ paths: - docker - nuget - container - - *648 - - *62 + - *645 + - *57 - *19 - *17 responses: @@ -107128,10 +107330,10 @@ paths: type: array items: *216 examples: - default: *649 + default: *646 '403': *27 '401': *23 - '400': *650 + '400': *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107153,7 +107355,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107161,7 +107363,7 @@ paths: application/json: schema: *216 examples: - default: *666 + default: *663 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107184,7 +107386,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '204': description: Response @@ -107218,7 +107420,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - name: token description: package token schema: @@ -107252,7 +107454,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 responses: '200': description: Response @@ -107321,7 +107523,7 @@ paths: - *218 - *219 - *221 - - *62 + - *57 responses: '200': description: Response @@ -107364,7 +107566,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107399,7 +107601,7 @@ paths: parameters: - *218 - *219 - - *62 + - *57 - *221 responses: '204': @@ -107426,7 +107628,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-user-projects parameters: - - *62 + - *57 - name: state description: Indicates the state of the projects to return. in: query @@ -107483,7 +107685,7 @@ paths: created_at: '2011-04-10T20:09:31Z' updated_at: '2014-03-03T18:58:10Z' headers: - Link: *57 + Link: *52 '422': *15 x-github: githubCloudOnly: false @@ -107505,7 +107707,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-projects-for-user parameters: - - *62 + - *57 - name: q description: Limit results to projects of the specified type. in: query @@ -107526,7 +107728,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107547,7 +107749,7 @@ paths: url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - *235 - - *62 + - *57 responses: '200': description: Response @@ -107557,7 +107759,7 @@ paths: examples: default: *234 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107578,7 +107780,7 @@ paths: url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - *235 - - *62 + - *57 - *17 - *38 - *39 @@ -107593,7 +107795,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107614,8 +107816,8 @@ paths: url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - *235 - - *667 - - *62 + - *664 + - *57 responses: '200': description: Response @@ -107625,7 +107827,7 @@ paths: examples: default: *237 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107647,7 +107849,7 @@ paths: url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *38 - *39 - *17 @@ -107659,8 +107861,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -107668,8 +107872,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -107681,7 +107883,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107700,7 +107902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - - *62 + - *57 - *235 requestBody: required: true @@ -107738,7 +107940,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *665 examples: issue: *241 pull_request: *241 @@ -107762,7 +107964,7 @@ paths: url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - *235 - - *62 + - *57 - *244 - name: fields description: Limit results to specific fields, by their IDs. If not specified, @@ -107785,7 +107987,7 @@ paths: examples: default: *243 headers: - Link: *57 + Link: *52 '304': *35 '403': *27 '401': *23 @@ -107805,7 +108007,7 @@ paths: url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 requestBody: required: true @@ -107906,7 +108108,7 @@ paths: url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - *235 - - *62 + - *57 - *244 responses: '204': @@ -107934,7 +108136,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -107944,7 +108146,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108009,7 +108211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-received-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108019,7 +108221,7 @@ paths: application/json: schema: type: array - items: *94 + items: *91 examples: default: value: @@ -108082,7 +108284,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repositories-for-a-user parameters: - - *62 + - *57 - name: type description: Limit results to repositories of the specified type. in: query @@ -108125,11 +108327,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108151,15 +108353,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *669 + schema: *666 examples: - default: *670 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108181,15 +108383,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *671 + schema: *668 examples: - default: *672 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108198,7 +108400,10 @@ paths: "/users/{username}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for a user - description: Gets a report of premium request usage for a user. + description: |- + Gets a report of premium request usage for a user. + + **Note:** Only data from the past 24 months is accessible via this endpoint. tags: - billing operationId: billing/get-github-billing-premium-request-usage-report-user @@ -108206,12 +108411,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user parameters: - - *62 - - *101 - - *673 - - *102 - - *674 - - *675 + - *57 + - *99 + - *670 + - *100 + - *671 + - *672 responses: '200': description: Response when getting a billing premium request usage report @@ -108264,19 +108469,19 @@ paths: type: number description: Price per unit of the usage line item. grossQuantity: - type: integer + type: number description: Gross quantity of the usage line item. grossAmount: type: number description: Gross amount of the usage line item. discountQuantity: - type: integer + type: number description: Discount quantity of the usage line item. discountAmount: type: number description: Discount amount of the usage line item. netQuantity: - type: integer + type: number description: Net quantity of the usage line item. netAmount: type: number @@ -108318,8 +108523,8 @@ paths: '400': *14 '403': *27 '404': *6 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108341,15 +108546,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *62 + - *57 responses: '200': description: Response content: application/json: - schema: *676 + schema: *673 examples: - default: *677 + default: *674 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108369,11 +108574,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *62 - - *101 - - *678 - - *102 - - *679 + - *57 + - *99 + - *675 + - *100 + - *676 responses: '200': description: Response when getting a billing usage report @@ -108443,8 +108648,8 @@ paths: repositoryName: user/example '400': *14 '403': *27 - '500': *100 - '503': *73 + '500': *97 + '503': *98 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108462,7 +108667,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108472,11 +108677,11 @@ paths: application/json: schema: type: array - items: *653 + items: *650 examples: - default: *654 + default: *651 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108494,7 +108699,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108504,11 +108709,11 @@ paths: application/json: schema: type: array - items: *655 + items: *652 examples: - default: *680 + default: *677 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108530,8 +108735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *62 - - *681 + - *57 + - *678 - *46 - *17 - *19 @@ -108543,13 +108748,13 @@ paths: schema: anyOf: - type: array - items: *682 + items: *679 - type: array - items: *66 + items: *64 examples: - default-response: *658 + default-response: *655 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108566,7 +108771,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *62 + - *57 - *17 - *19 responses: @@ -108576,11 +108781,11 @@ paths: application/json: schema: type: array - items: *131 + items: *129 examples: default: *222 headers: - Link: *57 + Link: *52 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -108707,7 +108912,7 @@ webhooks: type: string enum: - disabled - enterprise: &683 + enterprise: &680 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -108776,7 +108981,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &684 + installation: &681 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -108797,7 +109002,7 @@ webhooks: required: - id - node_id - organization: &685 + organization: &682 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -108870,7 +109075,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &686 + repository: &683 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108899,7 +109104,7 @@ webhooks: license: anyOf: - type: 'null' - - *71 + - *69 organization: anyOf: - type: 'null' @@ -109783,10 +109988,10 @@ webhooks: type: string enum: - enabled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -109862,11 +110067,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: &687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: &684 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -110089,11 +110294,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110281,11 +110486,11 @@ webhooks: - everyone required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - rule: *687 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + rule: *684 sender: *4 required: - action @@ -110369,7 +110574,7 @@ webhooks: type: string enum: - completed - check_run: &689 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110434,8 +110639,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *72 - repository: *131 + items: *70 + repository: *129 status: type: string enum: @@ -110479,7 +110684,7 @@ webhooks: - examples: - neutral - deployment: *688 + deployment: *685 details_url: type: string examples: @@ -110539,7 +110744,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *72 + items: *70 started_at: type: string format: date-time @@ -110577,10 +110782,10 @@ webhooks: - output - app - pull_requests - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -110973,11 +111178,11 @@ webhooks: type: string enum: - created - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -111373,11 +111578,11 @@ webhooks: type: string enum: - requested_action - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 requested_action: description: The action requested by the user. type: object @@ -111782,11 +111987,11 @@ webhooks: type: string enum: - rerequested - check_run: *689 - installation: *684 - enterprise: *683 - organization: *685 - repository: *686 + check_run: *686 + installation: *681 + enterprise: *680 + organization: *682 + repository: *683 sender: *4 required: - check_run @@ -112778,10 +112983,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -113466,10 +113671,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114148,10 +114353,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -114320,7 +114525,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114472,20 +114677,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &690 + commit_oid: &687 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *683 - installation: *684 - organization: *685 - ref: &691 + enterprise: *680 + installation: *681 + organization: *682 + ref: &688 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -114652,7 +114857,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -114893,12 +115098,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -114996,7 +115201,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115181,12 +115386,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115355,7 +115560,7 @@ webhooks: required: - login - id - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -115532,12 +115737,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -115640,7 +115845,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -115820,9 +116025,9 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -115830,7 +116035,7 @@ webhooks: type: - string - 'null' - repository: *686 + repository: *683 sender: *4 required: - action @@ -115929,7 +116134,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *409 + dismissed_comment: *399 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116076,12 +116281,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *690 - enterprise: *683 - installation: *684 - organization: *685 - ref: *691 - repository: *686 + commit_oid: *687 + enterprise: *680 + installation: *681 + organization: *682 + ref: *688 + repository: *683 sender: *4 required: - action @@ -116343,10 +116548,10 @@ webhooks: - updated_at - author_association - body - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -116427,18 +116632,18 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *685 - pusher_type: &692 + organization: *682 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &693 + ref: &690 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116448,7 +116653,7 @@ webhooks: enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -116531,9 +116736,9 @@ webhooks: enum: - created definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116618,9 +116823,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116698,9 +116903,9 @@ webhooks: enum: - promote_to_enterprise definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116778,9 +116983,9 @@ webhooks: enum: - updated definition: *245 - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -116857,10 +117062,10 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - repository: *686 - organization: *685 + enterprise: *680 + installation: *681 + repository: *683 + organization: *682 sender: *4 new_property_values: type: array @@ -116945,18 +117150,18 @@ webhooks: title: delete event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - pusher_type: *692 - ref: *693 + enterprise: *680 + installation: *681 + organization: *682 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *686 + repository: *683 sender: *4 required: - ref @@ -117040,11 +117245,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117128,11 +117333,11 @@ webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117216,11 +117421,11 @@ webhooks: type: string enum: - created - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117302,11 +117507,11 @@ webhooks: type: string enum: - dismissed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117388,11 +117593,11 @@ webhooks: type: string enum: - fixed - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117475,11 +117680,11 @@ webhooks: type: string enum: - reintroduced - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117561,11 +117766,11 @@ webhooks: type: string enum: - reopened - alert: *461 - installation: *684 - organization: *685 - enterprise: *683 - repository: *686 + alert: *451 + installation: *681 + organization: *682 + enterprise: *680 + repository: *683 sender: *4 required: - action @@ -117642,9 +117847,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - key: &694 + enterprise: *680 + installation: *681 + key: &691 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117682,8 +117887,8 @@ webhooks: - verified - created_at - read_only - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -117760,11 +117965,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - key: *694 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + key: *691 + organization: *682 + repository: *683 sender: *4 required: - action @@ -118336,12 +118541,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: &698 + workflow: &695 title: Workflow type: - object @@ -119079,13 +119284,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *457 pull_requests: type: array - items: *547 - repository: *686 - organization: *685 - installation: *684 + items: *537 + repository: *683 + organization: *682 + installation: *681 sender: *4 responses: '200': @@ -119156,7 +119361,7 @@ webhooks: type: string enum: - approved - approver: &695 + approver: &692 type: object properties: avatar_url: @@ -119199,11 +119404,11 @@ webhooks: type: string comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: &696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: &693 type: array items: type: object @@ -119284,7 +119489,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &697 + workflow_job_run: &694 type: object properties: conclusion: @@ -120030,18 +120235,18 @@ webhooks: type: string enum: - rejected - approver: *695 + approver: *692 comment: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - reviewers: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *697 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -120758,13 +120963,13 @@ webhooks: type: string enum: - requested - enterprise: *683 + enterprise: *680 environment: type: string - installation: *684 - organization: *685 - repository: *686 - requestor: &703 + installation: *681 + organization: *682 + repository: *683 + requestor: &700 title: User type: - object @@ -122707,12 +122912,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -123403,7 +123608,7 @@ webhooks: type: string enum: - answered - answer: &701 + answer: &698 type: object properties: author_association: @@ -123563,11 +123768,11 @@ webhooks: - created_at - updated_at - body - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123694,11 +123899,11 @@ webhooks: - from required: - category - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123781,11 +123986,11 @@ webhooks: type: string enum: - closed - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -123867,7 +124072,7 @@ webhooks: type: string enum: - created - comment: &700 + comment: &697 type: object properties: author_association: @@ -124027,11 +124232,11 @@ webhooks: - updated_at - body - reactions - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124114,12 +124319,12 @@ webhooks: type: string enum: - deleted - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124214,12 +124419,12 @@ webhooks: - from required: - body - comment: *700 - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + comment: *697 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124303,11 +124508,11 @@ webhooks: type: string enum: - created - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124389,11 +124594,11 @@ webhooks: type: string enum: - deleted - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124493,11 +124698,11 @@ webhooks: type: string required: - from - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124579,10 +124784,10 @@ webhooks: type: string enum: - labeled - discussion: *699 - enterprise: *683 - installation: *684 - label: &702 + discussion: *696 + enterprise: *680 + installation: *681 + label: &699 title: Label type: object properties: @@ -124615,8 +124820,8 @@ webhooks: - color - default - description - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124699,11 +124904,11 @@ webhooks: type: string enum: - locked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124785,11 +124990,11 @@ webhooks: type: string enum: - pinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124871,11 +125076,11 @@ webhooks: type: string enum: - reopened - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -124960,16 +125165,16 @@ webhooks: changes: type: object properties: - new_discussion: *699 - new_repository: *686 + new_discussion: *696 + new_repository: *683 required: - new_discussion - new_repository - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125052,10 +125257,10 @@ webhooks: type: string enum: - unanswered - discussion: *699 - old_answer: *701 - organization: *685 - repository: *686 + discussion: *696 + old_answer: *698 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125137,12 +125342,12 @@ webhooks: type: string enum: - unlabeled - discussion: *699 - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125225,11 +125430,11 @@ webhooks: type: string enum: - unlocked - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125311,11 +125516,11 @@ webhooks: type: string enum: - unpinned - discussion: *699 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + discussion: *696 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -125388,7 +125593,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *683 + enterprise: *680 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126066,9 +126271,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - forkee @@ -126214,9 +126419,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pages: description: The pages that were updated. type: array @@ -126254,7 +126459,7 @@ webhooks: - action - sha - html_url - repository: *686 + repository: *683 sender: *4 required: - pages @@ -126330,10 +126535,10 @@ webhooks: type: string enum: - created - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: &704 + organization: *682 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -126359,8 +126564,8 @@ webhooks: - name - full_name - private - repository: *686 - requester: *703 + repository: *683 + requester: *700 sender: *4 required: - action @@ -126435,11 +126640,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126516,11 +126721,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -126597,10 +126802,10 @@ webhooks: type: string enum: - added - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: &705 + organization: *682 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -126646,15 +126851,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *686 - repository_selection: &706 + repository: *683 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *703 + requester: *700 sender: *4 required: - action @@ -126733,10 +126938,10 @@ webhooks: type: string enum: - removed - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories_added: *705 + organization: *682 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -126763,9 +126968,9 @@ webhooks: - name - full_name - private - repository: *686 - repository_selection: *706 - requester: *703 + repository: *683 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -126844,11 +127049,11 @@ webhooks: type: string enum: - suspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127030,10 +127235,10 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 target_type: type: string @@ -127112,11 +127317,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *683 + enterprise: *680 installation: *20 - organization: *685 - repositories: *704 - repository: *686 + organization: *682 + repositories: *701 + repository: *683 requester: type: - 'null' @@ -127364,8 +127569,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128182,8 +128387,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128544,8 +128749,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -128625,7 +128830,7 @@ webhooks: type: string enum: - deleted - comment: &707 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -128792,8 +128997,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129606,8 +129811,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129970,8 +130175,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -130051,7 +130256,7 @@ webhooks: type: string enum: - edited - changes: &731 + changes: &728 description: The changes to the comment. type: object properties: @@ -130063,9 +130268,9 @@ webhooks: type: string required: - from - comment: *707 - enterprise: *683 - installation: *684 + comment: *704 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130881,8 +131086,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131243,8 +131448,8 @@ webhooks: - state - locked - assignee - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131328,15 +131533,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131424,15 +131629,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 + blocked_issue: *66 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - blocking_issue_repo: *66 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + blocking_issue_repo: *64 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131519,15 +131724,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131615,15 +131820,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *68 - blocked_issue_repo: *66 + blocked_issue: *66 + blocked_issue_repo: *64 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *68 - installation: *684 - organization: *685 - repository: *686 + blocking_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -131708,10 +131913,10 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - issue: &710 + assignee: *700 + enterprise: *680 + installation: *681 + issue: &707 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132523,11 +132728,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132647,8 +132852,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -132728,8 +132933,8 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133546,11 +133751,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133813,8 +134018,8 @@ webhooks: required: - state - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -133893,8 +134098,8 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134702,11 +134907,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134825,8 +135030,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -134905,8 +135110,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135737,11 +135942,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135839,7 +136044,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &708 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -135982,8 +136187,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -136082,8 +136287,8 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136895,11 +137100,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137019,9 +137224,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -137101,8 +137306,8 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137913,11 +138118,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138037,9 +138242,9 @@ webhooks: - active_lock_reason - body - reactions - label: *702 - organization: *685 - repository: *686 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -138119,8 +138324,8 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138956,11 +139161,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139057,8 +139262,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -139137,8 +139342,8 @@ webhooks: type: string enum: - milestoned - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139968,11 +140173,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140069,9 +140274,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *708 - organization: *685 - repository: *686 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -140963,11 +141168,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141544,8 +141749,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142357,11 +142562,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142480,8 +142685,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -142561,9 +142766,9 @@ webhooks: type: string enum: - pinned - enterprise: *683 - installation: *684 - issue: &709 + enterprise: *680 + installation: *681 + issue: &706 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -143369,11 +143574,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143492,8 +143697,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -143572,8 +143777,8 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144407,11 +144612,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144509,8 +144714,8 @@ webhooks: user_view_type: type: string type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -145399,11 +145604,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146002,11 +146207,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146086,12 +146291,12 @@ webhooks: type: string enum: - typed - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146172,7 +146377,7 @@ webhooks: type: string enum: - unassigned - assignee: &734 + assignee: &731 title: User type: - object @@ -146244,11 +146449,11 @@ webhooks: required: - login - id - enterprise: *683 - installation: *684 - issue: *710 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146327,12 +146532,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - issue: *710 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *707 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -146412,8 +146617,8 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147247,11 +147452,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *617 - issue_dependencies_summary: *618 + sub_issues_summary: *615 + issue_dependencies_summary: *616 issue_field_values: type: array - items: *619 + items: *617 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147348,8 +147553,8 @@ webhooks: format: uri user_view_type: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147429,11 +147634,11 @@ webhooks: type: string enum: - unpinned - enterprise: *683 - installation: *684 - issue: *709 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + issue: *706 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147512,12 +147717,12 @@ webhooks: type: string enum: - untyped - enterprise: *683 - installation: *684 - issue: *710 + enterprise: *680 + installation: *681 + issue: *707 type: *199 - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147597,11 +147802,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147679,11 +147884,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147793,11 +147998,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - label: *702 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + label: *699 + organization: *682 + repository: *683 sender: *4 required: - action @@ -147879,9 +148084,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: &711 + enterprise: *680 + installation: *681 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -147969,8 +148174,8 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: &712 + organization: *682 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -148054,7 +148259,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148134,10 +148339,10 @@ webhooks: - changed effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148225,7 +148430,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148307,10 +148512,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148396,7 +148601,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *686 + repository: *683 sender: *4 required: - action @@ -148477,8 +148682,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 marketplace_purchase: title: Marketplace Purchase type: object @@ -148564,9 +148769,9 @@ webhooks: type: integer unit_count: type: integer - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148646,12 +148851,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *683 - installation: *684 - marketplace_purchase: *711 - organization: *685 - previous_marketplace_purchase: *712 - repository: *686 + enterprise: *680 + installation: *681 + marketplace_purchase: *708 + organization: *682 + previous_marketplace_purchase: *709 + repository: *683 sender: *4 required: - action @@ -148753,11 +148958,11 @@ webhooks: type: string required: - to - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148859,11 +149064,11 @@ webhooks: type: - string - 'null' - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -148942,11 +149147,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149024,11 +149229,11 @@ webhooks: type: string enum: - added - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149106,7 +149311,7 @@ webhooks: required: - login - id - team: &713 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149336,11 +149541,11 @@ webhooks: type: string enum: - removed - enterprise: *683 - installation: *684 - member: *703 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + member: *700 + organization: *682 + repository: *683 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149419,7 +149624,7 @@ webhooks: required: - login - id - team: *713 + team: *710 required: - action - scope @@ -149501,8 +149706,8 @@ webhooks: type: string enum: - checks_requested - installation: *684 - merge_group: &714 + installation: *681 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -149521,15 +149726,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *398 + head_commit: *388 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149615,10 +149820,10 @@ webhooks: - merged - invalidated - dequeued - installation: *684 - merge_group: *714 - organization: *685 - repository: *686 + installation: *681 + merge_group: *711 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149691,7 +149896,7 @@ webhooks: type: string enum: - deleted - enterprise: *683 + enterprise: *680 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -149800,12 +150005,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *684 - organization: *685 + installation: *681 + organization: *682 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -149885,11 +150090,11 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -149968,9 +150173,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - milestone: &715 + enterprise: *680 + installation: *681 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150112,8 +150317,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150192,11 +150397,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150306,11 +150511,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - milestone: *708 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *705 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150390,11 +150595,11 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - milestone: *715 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + milestone: *712 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150473,11 +150678,11 @@ webhooks: type: string enum: - blocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150556,11 +150761,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *703 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + blocked_user: *700 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150639,9 +150844,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - membership: &716 + enterprise: *680 + installation: *681 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -150751,8 +150956,8 @@ webhooks: - role - organization_url - user - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150830,11 +151035,11 @@ webhooks: type: string enum: - member_added - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -150913,8 +151118,8 @@ webhooks: type: string enum: - member_invited - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151036,10 +151241,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 - user: *703 + user: *700 required: - action - invitation @@ -151117,11 +151322,11 @@ webhooks: type: string enum: - member_removed - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151208,11 +151413,11 @@ webhooks: properties: from: type: string - enterprise: *683 - installation: *684 - membership: *716 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + membership: *713 + organization: *682 + repository: *683 sender: *4 required: - action @@ -151288,9 +151493,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -151813,7 +152018,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &717 + items: &714 title: Ruby Gems metadata type: object properties: @@ -151910,7 +152115,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -151986,9 +152191,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 package: description: Information about the package. type: object @@ -152350,7 +152555,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 source_url: type: string format: uri @@ -152421,7 +152626,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -152602,12 +152807,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *683 + enterprise: *680 id: type: integer - installation: *684 - organization: *685 - repository: *686 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - id @@ -152684,7 +152889,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &718 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -152834,10 +153039,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *683 - organization: *685 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152914,11 +153119,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -152994,11 +153199,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *718 - enterprise: *683 - organization: *685 + personal_access_token_request: *715 + enterprise: *680 + organization: *682 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153073,11 +153278,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *718 - organization: *685 - enterprise: *683 + personal_access_token_request: *715 + organization: *682 + enterprise: *680 sender: *4 - installation: *684 + installation: *681 required: - action - personal_access_token_request @@ -153182,7 +153387,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *719 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153214,8 +153419,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 zen: description: Random string of GitHub zen. @@ -153460,10 +153665,10 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: &720 + enterprise: *680 + installation: *681 + organization: *682 + project_card: &717 title: Project Card type: object properties: @@ -153586,7 +153791,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -153667,11 +153872,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -153751,9 +153956,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: title: Project Card type: object @@ -153883,7 +154088,7 @@ webhooks: repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -153977,11 +154182,11 @@ webhooks: - from required: - note - enterprise: *683 - installation: *684 - organization: *685 - project_card: *720 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_card: *717 + repository: *683 sender: *4 required: - action @@ -154075,9 +154280,9 @@ webhooks: - from required: - column_id - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 project_card: allOf: - title: Project Card @@ -154274,7 +154479,7 @@ webhooks: type: string required: - after_id - repository: *686 + repository: *683 sender: *4 required: - action @@ -154354,10 +154559,10 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - organization: *685 - project: &722 + enterprise: *680 + installation: *681 + organization: *682 + project: &719 title: Project type: object properties: @@ -154484,7 +154689,7 @@ webhooks: - creator - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154564,10 +154769,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project_column: &721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: &718 title: Project Column type: object properties: @@ -154607,7 +154812,7 @@ webhooks: - name - created_at - updated_at - repository: *686 + repository: *683 sender: *4 required: - action @@ -154686,14 +154891,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -154782,11 +154987,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154866,11 +155071,11 @@ webhooks: type: string enum: - moved - enterprise: *683 - installation: *684 - organization: *685 - project_column: *721 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project_column: *718 + repository: *683 sender: *4 required: - action @@ -154950,11 +155155,11 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155034,14 +155239,14 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - project: *722 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 repository: anyOf: - type: 'null' - - *686 + - *683 sender: *4 required: - action @@ -155142,11 +155347,11 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155225,11 +155430,11 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - organization: *685 - project: *722 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + project: *719 + repository: *683 sender: *4 required: - action @@ -155310,8 +155515,8 @@ webhooks: type: string enum: - closed - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155393,8 +155598,8 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155476,8 +155681,8 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155599,8 +155804,8 @@ webhooks: type: string to: type: string - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -155684,7 +155889,7 @@ webhooks: type: string enum: - archived - changes: &726 + changes: &723 type: object properties: archived_at: @@ -155700,9 +155905,9 @@ webhooks: - string - 'null' format: date-time - installation: *684 - organization: *685 - projects_v2_item: &723 + installation: *681 + organization: *682 + projects_v2_item: &720 title: Projects v2 Item description: An item belonging to a project type: object @@ -155842,9 +156047,9 @@ webhooks: - 'null' to: type: string - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -155926,9 +156131,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156009,9 +156214,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156116,7 +156321,7 @@ webhooks: oneOf: - type: string - type: integer - - &724 + - &721 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156140,7 +156345,7 @@ webhooks: required: - id - name - - &725 + - &722 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156180,8 +156385,8 @@ webhooks: oneOf: - type: string - type: integer - - *724 - - *725 + - *721 + - *722 type: - 'null' - string @@ -156204,9 +156409,9 @@ webhooks: - 'null' required: - body - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156303,9 +156508,9 @@ webhooks: type: - string - 'null' - installation: *684 - organization: *685 - projects_v2_item: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156388,10 +156593,10 @@ webhooks: type: string enum: - restored - changes: *726 - installation: *684 - organization: *685 - projects_v2_item: *723 + changes: *723 + installation: *681 + organization: *682 + projects_v2_item: *720 sender: *4 required: - action @@ -156473,8 +156678,8 @@ webhooks: type: string enum: - reopened - installation: *684 - organization: *685 + installation: *681 + organization: *682 projects_v2: *233 sender: *4 required: @@ -156556,9 +156761,9 @@ webhooks: type: string enum: - created - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156639,9 +156844,9 @@ webhooks: type: string enum: - deleted - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156787,9 +156992,9 @@ webhooks: - string - 'null' format: date - installation: *684 - organization: *685 - projects_v2_status_update: *727 + installation: *681 + organization: *682 + projects_v2_status_update: *724 sender: *4 required: - action @@ -156860,10 +157065,10 @@ webhooks: title: public event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - repository @@ -156940,13 +157145,13 @@ webhooks: type: string enum: - assigned - assignee: *703 - enterprise: *683 - installation: *684 - number: &728 + assignee: *700 + enterprise: *680 + installation: *681 + number: &725 description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -159295,7 +159500,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -159377,11 +159582,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -161723,7 +161928,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -161805,11 +162010,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -164151,7 +164356,7 @@ webhooks: - draft reason: type: string - repository: *686 + repository: *683 sender: *4 required: - action @@ -164233,13 +164438,13 @@ webhooks: type: string enum: - closed - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: &729 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: &726 allOf: - - *547 + - *537 - type: object properties: allow_auto_merge: @@ -164301,7 +164506,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *686 + repository: *683 sender: *4 required: - action @@ -164382,12 +164587,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -164467,11 +164672,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: &730 + number: *725 + organization: *682 + pull_request: &727 title: Pull Request type: object properties: @@ -166798,7 +167003,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -166877,11 +167082,11 @@ webhooks: type: string enum: - dequeued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -169227,7 +169432,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *686 + repository: *683 sender: *4 required: - action @@ -169351,12 +169556,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -169436,11 +169641,11 @@ webhooks: type: string enum: - enqueued - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -171771,7 +171976,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -171851,11 +172056,11 @@ webhooks: type: string enum: - labeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -174203,7 +174408,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -174284,10 +174489,10 @@ webhooks: type: string enum: - locked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -176633,7 +176838,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -176713,12 +176918,12 @@ webhooks: type: string enum: - milestoned - enterprise: *683 + enterprise: *680 milestone: *238 - number: *728 - organization: *685 - pull_request: *730 - repository: *686 + number: *725 + organization: *682 + pull_request: *727 + repository: *683 sender: *4 required: - action @@ -176797,12 +177002,12 @@ webhooks: type: string enum: - opened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176883,12 +177088,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -176968,12 +177173,12 @@ webhooks: type: string enum: - reopened - enterprise: *683 - installation: *684 - number: *728 - organization: *685 - pull_request: *729 - repository: *686 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 + pull_request: *726 + repository: *683 sender: *4 required: - action @@ -177348,9 +177553,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -179580,7 +179785,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -179660,7 +179865,7 @@ webhooks: type: string enum: - deleted - comment: &732 + comment: &729 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -179953,9 +180158,9 @@ webhooks: - start_side - side - reactions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -182173,7 +182378,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -182253,11 +182458,11 @@ webhooks: type: string enum: - edited - changes: *731 - comment: *732 - enterprise: *683 - installation: *684 - organization: *685 + changes: *728 + comment: *729 + enterprise: *680 + installation: *681 + organization: *682 pull_request: type: object properties: @@ -184478,7 +184683,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *686 + repository: *683 sender: *4 required: - action @@ -184559,9 +184764,9 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -186794,7 +186999,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 review: description: The review that was affected. type: object @@ -187045,9 +187250,9 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -189161,8 +189366,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: &733 + repository: *683 + review: &730 description: The review that was affected. type: object properties: @@ -189400,12 +189605,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -191752,7 +191957,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -191838,12 +192043,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -194197,7 +194402,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194392,12 +194597,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -196746,7 +196951,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_reviewer: title: User type: @@ -196833,12 +197038,12 @@ webhooks: type: string enum: - review_requested - enterprise: *683 - installation: *684 + enterprise: *680 + installation: *681 number: description: The pull request number. type: integer - organization: *685 + organization: *682 pull_request: title: Pull Request type: object @@ -199178,7 +199383,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199362,9 +199567,9 @@ webhooks: type: string enum: - submitted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -201600,8 +201805,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 - review: *733 + repository: *683 + review: *730 sender: *4 required: - action @@ -201681,9 +201886,9 @@ webhooks: type: string enum: - resolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -203814,7 +204019,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -204211,9 +204416,9 @@ webhooks: type: string enum: - unresolved - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 pull_request: title: Simple Pull Request type: object @@ -206327,7 +206532,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *686 + repository: *683 sender: *4 thread: type: object @@ -206726,10 +206931,10 @@ webhooks: type: string before: type: string - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -209064,7 +209269,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -209146,11 +209351,11 @@ webhooks: type: string enum: - unassigned - assignee: *734 - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + assignee: *731 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -211500,7 +211705,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -211579,11 +211784,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *683 - installation: *684 - label: *702 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + label: *699 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -213922,7 +214127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -214003,10 +214208,10 @@ webhooks: type: string enum: - unlocked - enterprise: *683 - installation: *684 - number: *728 - organization: *685 + enterprise: *680 + installation: *681 + number: *725 + organization: *682 pull_request: title: Pull Request type: object @@ -216335,7 +216540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *686 + repository: *683 sender: *4 required: - action @@ -216538,7 +216743,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *683 + enterprise: *680 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216633,8 +216838,8 @@ webhooks: - url - author - committer - installation: *684 - organization: *685 + installation: *681 + organization: *682 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217222,9 +217427,9 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -217701,7 +217906,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -217757,7 +217962,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -217835,9 +218040,9 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 registry_package: type: object properties: @@ -218149,7 +218354,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *717 + items: *714 summary: type: string tag_name: @@ -218199,7 +218404,7 @@ webhooks: - owner - package_version - registry - repository: *686 + repository: *683 sender: *4 required: - action @@ -218276,10 +218481,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - release: &735 + enterprise: *680 + installation: *681 + organization: *682 + release: &732 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218610,7 +218815,7 @@ webhooks: - updated_at - zipball_url - body - repository: *686 + repository: *683 sender: *4 required: - action @@ -218687,11 +218892,11 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218808,11 +219013,11 @@ webhooks: type: boolean required: - to - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -218890,9 +219095,9 @@ webhooks: type: string enum: - prereleased - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219228,7 +219433,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219304,10 +219509,10 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - release: &736 + enterprise: *680 + installation: *681 + organization: *682 + release: &733 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219640,7 +219845,7 @@ webhooks: - string - 'null' format: uri - repository: *686 + repository: *683 sender: *4 required: - action @@ -219716,11 +219921,11 @@ webhooks: type: string enum: - released - enterprise: *683 - installation: *684 - organization: *685 - release: *735 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *732 + repository: *683 sender: *4 required: - action @@ -219796,11 +220001,11 @@ webhooks: type: string enum: - unpublished - enterprise: *683 - installation: *684 - organization: *685 - release: *736 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + release: *733 + repository: *683 sender: *4 required: - action @@ -219876,11 +220081,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -219956,11 +220161,11 @@ webhooks: type: string enum: - reported - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - repository_advisory: *603 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + repository_advisory: *601 sender: *4 required: - action @@ -220036,10 +220241,10 @@ webhooks: type: string enum: - archived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220116,10 +220321,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220197,10 +220402,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220285,10 +220490,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220403,10 +220608,10 @@ webhooks: - 'null' items: type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220478,10 +220683,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 status: type: string @@ -220562,10 +220767,10 @@ webhooks: type: string enum: - privatized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220642,10 +220847,10 @@ webhooks: type: string enum: - publicized - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220739,10 +220944,10 @@ webhooks: - name required: - repository - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -220822,10 +221027,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220904,10 +221109,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 sender: *4 required: @@ -220986,10 +221191,10 @@ webhooks: type: string enum: - edited - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 repository_ruleset: *276 changes: type: object @@ -221051,16 +221256,16 @@ webhooks: properties: added: type: array - items: *568 + items: *558 deleted: type: array - items: *568 + items: *558 updated: type: array items: type: object properties: - rule: *568 + rule: *558 changes: type: object properties: @@ -221297,10 +221502,10 @@ webhooks: - from required: - owner - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221378,10 +221583,10 @@ webhooks: type: string enum: - unarchived - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221459,7 +221664,7 @@ webhooks: type: string enum: - create - alert: &737 + alert: &734 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221583,10 +221788,10 @@ webhooks: type: string enum: - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221796,10 +222001,10 @@ webhooks: type: string enum: - dismissed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -221877,11 +222082,11 @@ webhooks: type: string enum: - reopen - alert: *737 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *734 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222083,10 +222288,10 @@ webhooks: enum: - fixed - open - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222164,17 +222369,17 @@ webhooks: type: string enum: - created - alert: &738 + alert: &735 type: object properties: - number: *52 - created_at: *53 + number: *145 + created_at: *146 updated_at: anyOf: - type: 'null' - - *54 - url: *55 - html_url: *56 + - *147 + url: *148 + html_url: *149 locations_url: type: string format: uri @@ -222278,10 +222483,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222362,11 +222567,11 @@ webhooks: type: string enum: - created - alert: *738 - installation: *684 - location: *739 - organization: *685 - repository: *686 + alert: *735 + installation: *681 + location: *736 + organization: *682 + repository: *683 sender: *4 required: - location @@ -222604,11 +222809,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222686,11 +222891,11 @@ webhooks: type: string enum: - reopened - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222768,11 +222973,11 @@ webhooks: type: string enum: - resolved - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222850,11 +223055,11 @@ webhooks: type: string enum: - validated - alert: *738 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + alert: *735 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -222984,10 +223189,10 @@ webhooks: - organization - enterprise - - repository: *686 - enterprise: *683 - installation: *684 - organization: *685 + repository: *683 + enterprise: *680 + installation: *681 + organization: *682 sender: *4 required: - action @@ -223065,11 +223270,11 @@ webhooks: type: string enum: - published - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: &740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: &737 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223255,11 +223460,11 @@ webhooks: type: string enum: - updated - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 - security_advisory: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 + security_advisory: *737 sender: *4 required: - action @@ -223332,10 +223537,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223522,10 +223727,10 @@ webhooks: type: object properties: security_and_analysis: *250 - enterprise: *683 - installation: *684 - organization: *685 - repository: *322 + enterprise: *680 + installation: *681 + organization: *682 + repository: *312 sender: *4 required: - changes @@ -223603,12 +223808,12 @@ webhooks: type: string enum: - cancelled - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: &741 + sponsorship: &738 type: object properties: created_at: @@ -223913,12 +224118,12 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224006,12 +224211,12 @@ webhooks: type: string required: - from - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224088,17 +224293,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &742 + effective_date: &739 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - sponsorship @@ -224172,7 +224377,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &743 + changes: &740 type: object properties: tier: @@ -224216,13 +224421,13 @@ webhooks: - from required: - tier - effective_date: *742 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + effective_date: *739 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224299,13 +224504,13 @@ webhooks: type: string enum: - tier_changed - changes: *743 - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + changes: *740 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - sponsorship: *741 + sponsorship: *738 required: - action - changes @@ -224379,10 +224584,10 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224466,10 +224671,10 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224903,15 +225108,15 @@ webhooks: type: - string - 'null' - enterprise: *683 + enterprise: *680 id: description: The unique identifier of the status. type: integer - installation: *684 + installation: *681 name: type: string - organization: *685 - repository: *686 + organization: *682 + repository: *683 sender: *4 sha: description: The Commit SHA. @@ -225021,15 +225226,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225113,15 +225318,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - parent_issue_repo: *66 + parent_issue: *66 + parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - installation: *684 - organization: *685 - repository: *686 + sub_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225205,15 +225410,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225297,15 +225502,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *68 - sub_issue_repo: *66 + sub_issue: *66 + sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *68 - installation: *684 - organization: *685 - repository: *686 + parent_issue: *66 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -225382,12 +225587,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - team: &744 + team: &741 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225617,9 +225822,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226089,7 +226294,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226165,9 +226370,9 @@ webhooks: type: string enum: - created - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -226637,7 +226842,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -226714,9 +226919,9 @@ webhooks: type: string enum: - deleted - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227186,7 +227391,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -227330,9 +227535,9 @@ webhooks: - from required: - permissions - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -227802,7 +228007,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - changes @@ -227880,9 +228085,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *683 - installation: *684 - organization: *685 + enterprise: *680 + installation: *681 + organization: *682 repository: title: Repository description: A git repository @@ -228352,7 +228557,7 @@ webhooks: - topics - visibility sender: *4 - team: *744 + team: *741 required: - action - team @@ -228428,10 +228633,10 @@ webhooks: type: string enum: - started - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 required: - action @@ -228504,17 +228709,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *683 + enterprise: *680 inputs: type: - object - 'null' additionalProperties: true - installation: *684 - organization: *685 + installation: *681 + organization: *682 ref: type: string - repository: *686 + repository: *683 sender: *4 workflow: type: string @@ -228596,10 +228801,10 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -228855,7 +229060,7 @@ webhooks: type: string required: - conclusion - deployment: *467 + deployment: *457 required: - action - repository @@ -228934,10 +229139,10 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: allOf: @@ -229219,7 +229424,7 @@ webhooks: required: - status - steps - deployment: *467 + deployment: *457 required: - action - repository @@ -229298,10 +229503,10 @@ webhooks: type: string enum: - queued - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229447,7 +229652,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229526,10 +229731,10 @@ webhooks: type: string enum: - waiting - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 workflow_job: type: object @@ -229676,7 +229881,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *457 required: - action - repository @@ -229756,12 +229961,12 @@ webhooks: type: string enum: - completed - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -230780,12 +230985,12 @@ webhooks: type: string enum: - in_progress - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -231789,12 +231994,12 @@ webhooks: type: string enum: - requested - enterprise: *683 - installation: *684 - organization: *685 - repository: *686 + enterprise: *680 + installation: *681 + organization: *682 + repository: *683 sender: *4 - workflow: *698 + workflow: *695 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 8d97d0fbd..f46cb9b4f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -45251,29 +45255,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -59938,7 +59919,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +60949,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -62886,7 +62880,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -63069,7 +63063,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -63077,7 +63071,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -63085,7 +63079,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -64617,6 +64611,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -66119,8 +66123,731 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -66129,29 +66856,124 @@ } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "201": { + "description": "Successfully assigned the enterprise team to the organization.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "examples": [ + "github" + ] }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" } } } @@ -66163,7 +66985,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +67287,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +115424,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +115568,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -114692,7 +115576,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -114700,7 +115584,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -135677,6 +136561,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +159151,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -217689,7 +218654,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -217697,10 +218662,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -405202,16 +406164,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -405239,29 +406191,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +632292,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,7 +806561,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -805640,10 +806569,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -843270,7 +844196,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -843401,7 +844327,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -843409,7 +844335,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -843417,7 +844343,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index f0616924a..0c96599aa 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -1046,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &224 + schema: &226 title: Validation Error Simple description: Validation Error Simple type: object @@ -1839,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &223 + schema: &225 title: Validation Error description: Validation Error type: object @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &190 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &187 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &227 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &228 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8005,7 +8007,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &229 value: total_count: 2 runners: @@ -8295,7 +8297,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &230 type: object properties: public_ips: @@ -8322,7 +8324,7 @@ paths: required: - public_ips examples: - default: &229 + default: &231 value: public_ips: current_usage: 17 @@ -8362,7 +8364,7 @@ paths: type: array items: *45 examples: - default: &230 + default: &232 value: id: 4-core cpu_cores: 4 @@ -8620,7 +8622,7 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &235 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8700,7 +8702,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &237 type: object properties: days: @@ -8746,7 +8748,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &238 type: object properties: days: @@ -8795,7 +8797,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &239 value: approval_policy: first_time_contributors '404': *6 @@ -8853,7 +8855,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &240 type: object required: - run_workflows_from_fork_pull_requests @@ -8907,7 +8909,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &241 type: object required: - run_workflows_from_fork_pull_requests @@ -9343,7 +9345,7 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &244 type: object properties: default_workflow_permissions: &56 @@ -9391,7 +9393,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &245 type: object properties: default_workflow_permissions: *56 @@ -10236,7 +10238,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Runner Application description: Runner Application type: object @@ -10261,7 +10263,7 @@ paths: - download_url - filename examples: - default: &248 + default: &250 value: - os: osx architecture: x64 @@ -10345,7 +10347,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &251 description: Response content: application/json: @@ -10464,7 +10466,7 @@ paths: - token - expires_at examples: - default: &250 + default: &252 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10504,7 +10506,7 @@ paths: application/json: schema: *68 examples: - default: &251 + default: &253 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10536,7 +10538,7 @@ paths: application/json: schema: *65 examples: - default: &252 + default: &254 value: id: 23 name: MBP @@ -10752,7 +10754,7 @@ paths: - *39 - *64 responses: - '200': &253 + '200': &255 description: Response content: application/json: @@ -10808,7 +10810,7 @@ paths: parameters: - *39 - *64 - - &254 + - &256 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10905,7 +10907,7 @@ paths: required: true content: application/json: - schema: &261 + schema: &263 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11556,7 +11558,7 @@ paths: required: false schema: type: string - - &262 + - &264 name: include description: |- The event types to include: @@ -11574,7 +11576,7 @@ paths: - web - git - all - - &263 + - &265 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11582,7 +11584,7 @@ paths: required: false schema: type: string - - &264 + - &266 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11590,7 +11592,7 @@ paths: required: false schema: type: string - - &265 + - &267 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11612,7 +11614,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 type: object properties: "@timestamp": @@ -11734,7 +11736,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &269 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12402,7 +12404,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12574,7 +12576,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &271 value: - id: 21 number: 42 @@ -12679,7 +12681,7 @@ paths: application/json: schema: type: array - items: &271 + items: &273 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12810,7 +12812,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &274 value: - id: 21 number: 42 @@ -12895,7 +12897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &279 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -12905,7 +12907,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &280 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -12929,7 +12931,7 @@ paths: be returned. in: query required: false - schema: &279 + schema: &281 type: string description: State of a code scanning alert. enum: @@ -12954,7 +12956,7 @@ paths: application/json: schema: type: array - items: &280 + items: &282 type: object properties: number: &109 @@ -13519,7 +13521,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &283 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14178,7 +14180,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &284 type: - object - 'null' @@ -14376,7 +14378,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 type: array description: A list of default code security configurations items: @@ -14392,7 +14394,7 @@ paths: default configuration: *103 examples: - default: &285 + default: &287 value: - default_for_new_repos: public configuration: @@ -14846,7 +14848,7 @@ paths: default: value: default_for_new_repos: all - configuration: &283 + configuration: &285 value: id: 1325 target_type: organization @@ -14931,7 +14933,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 type: object description: Repositories associated with a code security configuration and attachment status @@ -14955,7 +14957,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &289 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15456,7 +15458,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -16673,7 +16675,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &296 name: state in: query description: |- @@ -16682,7 +16684,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &297 name: severity in: query description: |- @@ -16691,7 +16693,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &298 name: ecosystem in: query description: |- @@ -16700,14 +16702,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &299 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &298 + - &300 name: epss_percentage in: query description: |- @@ -16733,7 +16735,7 @@ paths: type: string enum: - patch - - &299 + - &301 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +16745,7 @@ paths: enum: - development - runtime - - &300 + - &302 name: sort in: query description: |- @@ -16761,31 +16763,6 @@ paths: - *99 - *97 - *98 - - &301 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &302 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -20523,7 +20500,7 @@ paths: '404': *6 '503': *163 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -21006,6 +20983,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *39 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -21612,8 +21599,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 @@ -21631,7 +21620,7 @@ paths: required: false schema: type: integer - - &213 + - &215 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 @@ -21656,21 +21645,21 @@ paths: required: false schema: type: string - - &214 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +21743,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 @@ -21884,7 +21873,7 @@ paths: parameters: - *39 - *169 - - &217 + - &219 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 @@ -21894,7 +21883,7 @@ paths: schema: type: integer - *170 - - &218 + - &220 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21915,7 +21904,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &221 type: object properties: usageItems: @@ -21968,7 +21957,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &222 value: usageItems: - date: '2023-08-01' @@ -22148,6 +22137,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22426,6 +22427,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *39 + - *176 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &180 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *39 + - *176 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &214 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *39 + - *176 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *62 + examples: + default: *180 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *62 + examples: + default: *180 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -22441,7 +22663,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &181 name: team_slug description: The slug of the team name. in: path @@ -22475,7 +22697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *181 requestBody: required: true content: @@ -22503,6 +22725,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22546,7 +22780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *181 responses: '204': description: Response @@ -22645,7 +22879,7 @@ paths: application/json: schema: type: array - items: &208 + items: &209 title: Event description: Event type: object @@ -22656,7 +22890,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &182 title: Actor description: Actor type: object @@ -22697,7 +22931,7 @@ paths: - id - name - url - org: *181 + org: *182 payload: oneOf: - title: CreateEvent @@ -22744,7 +22978,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &828 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23275,7 @@ paths: - id labels: type: array - items: &182 + items: &183 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23358,7 @@ paths: properties: action: type: string - issue: &183 + issue: &184 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23478,7 +23712,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &185 title: author_association type: string description: How the author is associated with the @@ -23494,7 +23728,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &186 title: Reaction Rollup type: object properties: @@ -23670,10 +23904,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *183 labels: type: array - items: *182 + items: *183 required: - action - issue @@ -23682,7 +23916,7 @@ paths: properties: action: type: string - issue: *183 + issue: *184 comment: &617 title: Issue Comment description: Comments provide a way for people to collaborate @@ -23733,12 +23967,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *185 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - id - node_id @@ -23917,7 +24151,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 allow_forking: type: boolean is_template: @@ -24008,7 +24242,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &188 title: Pull Request Minimal type: object properties: @@ -24079,10 +24313,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *183 labels: type: array - items: *182 + items: *183 required: - action - number @@ -24092,7 +24326,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *188 comment: type: object properties: @@ -24346,7 +24580,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *188 required: - action - review @@ -24395,7 +24629,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *186 required: - action - comment @@ -24563,7 +24797,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *186 required: - assets_url - upload_url @@ -24746,7 +24980,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &189 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +24992,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *189 + security_advisories: *189 + current_user: *189 + current_user_public: *189 + current_user_actor: *189 + current_user_organization: *189 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *189 + repository_discussions: *189 + repository_discussions_category: *189 required: - timeline - user @@ -24830,7 +25064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *190 - *17 - *19 responses: @@ -24840,7 +25074,7 @@ paths: application/json: schema: type: array - items: &190 + items: &191 title: Base Gist description: Base Gist type: object @@ -24937,7 +25171,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &192 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25295,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &193 title: Gist Simple description: Gist Simple type: object @@ -25453,7 +25687,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &194 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +25791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *190 - *17 - *19 responses: @@ -25567,9 +25801,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '422': *15 @@ -25591,7 +25825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *190 - *17 - *19 responses: @@ -25601,9 +25835,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '401': *23 @@ -25631,7 +25865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &195 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +25877,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - default: *193 - '403': &197 + default: *194 + '403': &198 description: Forbidden Gist content: application/json: @@ -25695,7 +25929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *195 requestBody: required: true content: @@ -25759,9 +25993,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - updateGist: *193 + updateGist: *194 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -25948,7 +26182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *195 - *17 - *19 responses: @@ -25958,7 +26192,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26230,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *185 required: - url - id @@ -26061,7 +26295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *195 requestBody: required: true content: @@ -26087,9 +26321,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &196 + default: &197 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *195 + - &199 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26395,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '304': *35 '404': *6 - '403': *197 + '403': *198 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *195 + - *199 requestBody: required: true content: @@ -26215,9 +26449,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +26468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *195 + - *199 responses: '204': description: Response @@ -26258,7 +26492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *195 - *17 - *19 responses: @@ -26359,7 +26593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *195 - *17 - *19 responses: @@ -26369,7 +26603,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -26434,13 +26668,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *195 responses: '201': description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -26511,7 +26745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *195 responses: '204': description: Response if gist is starred @@ -26541,7 +26775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -26563,7 +26797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -26592,7 +26826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *195 - name: sha in: path required: true @@ -26603,9 +26837,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - default: *193 + default: *194 '422': *15 '404': *6 '403': *27 @@ -26993,7 +27227,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - name: collab in: query required: false @@ -27023,7 +27257,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: &335 value: @@ -27305,7 +27539,7 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: default: value: @@ -27603,7 +27837,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &200 example: 0.17.4 schema: type: string @@ -27658,7 +27892,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *200 content: text/html: schema: @@ -27687,7 +27921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &202 + - &203 name: account_id description: account_id parameter in: path @@ -27699,7 +27933,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &202 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +27967,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &201 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28070,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *201 required: - url - id @@ -27844,7 +28078,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &204 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28163,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &204 + default: &205 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28205,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &206 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &207 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28242,9 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: &207 + default: &208 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28318,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *202 + - *203 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *203 + default: *204 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28358,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *204 + default: *205 headers: Link: *41 '401': *23 @@ -28149,8 +28383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *205 - *206 + - *207 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28404,9 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *207 + default: *208 headers: Link: *41 '401': *23 @@ -28461,7 +28695,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -28545,7 +28779,7 @@ paths: schema: type: boolean default: false - - *189 + - *190 - &647 name: before description: 'Only show notifications updated before the given time. This @@ -28571,14 +28805,14 @@ paths: application/json: schema: type: array - items: &209 + items: &210 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &248 title: Minimal Repository description: Minimal Repository type: object @@ -29256,7 +29490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &211 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -29270,7 +29504,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -29373,7 +29607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *211 responses: '205': description: Reset Content @@ -29396,7 +29630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *211 responses: '204': description: No content @@ -29419,13 +29653,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *210 + - *211 responses: '200': description: Response content: application/json: - schema: &211 + schema: &212 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +29703,7 @@ paths: - url - subscribed examples: - default: &212 + default: &213 value: subscribed: true ignored: false @@ -29500,7 +29734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *211 requestBody: required: false content: @@ -29521,9 +29755,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '304': *35 '403': *27 '401': *23 @@ -29546,7 +29780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *211 responses: '204': description: Response @@ -29643,20 +29877,7 @@ paths: type: array items: *62 examples: - default: &781 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *214 headers: Link: example: ; rel="next" @@ -29708,7 +29929,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &291 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +29978,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &292 value: id: 8030 name: Security Engineer @@ -30058,9 +30279,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 @@ -30070,11 +30292,11 @@ paths: parameters: - *76 - *169 - - *213 - - *170 - - *214 - *215 + - *170 - *216 + - *217 + - *218 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30352,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 @@ -30207,17 +30429,17 @@ paths: parameters: - *76 - *169 - - *217 + - *219 - *170 - - *218 + - *220 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *221 examples: - default: *220 + default: *222 '400': *14 '403': *27 '500': *38 @@ -30253,7 +30475,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &223 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30663,7 +30885,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &224 value: login: github id: 1 @@ -30989,17 +31211,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *223 examples: - default: *222 + default: *224 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 + - *225 + - *226 '409': *107 x-github: githubCloudOnly: false @@ -31054,9 +31276,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *226 + default: *228 headers: Link: *41 x-github: @@ -31175,7 +31397,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *229 headers: Link: *41 x-github: @@ -31359,9 +31581,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31397,7 +31619,7 @@ paths: type: array items: *45 examples: - default: *230 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31580,7 +31802,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &233 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +31816,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &234 value: include_claim_keys: - repo @@ -31621,15 +31843,15 @@ paths: required: true content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &259 title: Empty Object description: An object without any properties. type: object @@ -31668,7 +31890,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &236 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31682,7 +31904,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *235 sha_pinning_required: *50 required: - enabled_repositories @@ -31724,7 +31946,7 @@ paths: schema: type: object properties: - enabled_repositories: *234 + enabled_repositories: *236 allowed_actions: *49 sha_pinning_required: *50 required: @@ -31760,7 +31982,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: response: summary: Example response @@ -31791,7 +32013,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *238 examples: application/json: value: @@ -31829,7 +32051,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *239 '404': *6 x-github: enabledForGitHubApps: true @@ -31886,7 +32108,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: *52 '403': *27 @@ -31911,7 +32133,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *241 examples: default: *52 responses: @@ -31963,7 +32185,7 @@ paths: type: array items: *67 examples: - default: &241 + default: &243 value: total_count: 1 repositories: @@ -32148,7 +32370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &240 + - &242 name: repository_id description: The unique identifier of the repository. in: path @@ -32177,7 +32399,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -32373,7 +32595,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *243 '403': *27 '404': *6 x-github: @@ -32442,7 +32664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: No content @@ -32469,7 +32691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: No content @@ -32503,7 +32725,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: default: *58 x-github: @@ -32537,7 +32759,7 @@ paths: required: false content: application/json: - schema: *243 + schema: *245 examples: default: *58 x-github: @@ -32584,7 +32806,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &246 type: object properties: id: @@ -32774,9 +32996,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &245 + default: &247 value: id: 2 name: octo-runner-group @@ -32818,7 +33040,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -32911,9 +33133,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32977,7 +33199,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *229 headers: Link: *41 x-github: @@ -33018,7 +33240,7 @@ paths: type: number repositories: type: array - items: *246 + items: *248 examples: default: &768 value: @@ -33319,7 +33541,7 @@ paths: parameters: - *76 - *61 - - *240 + - *242 responses: '204': description: Response @@ -33343,7 +33565,7 @@ paths: parameters: - *76 - *61 - - *240 + - *242 responses: '204': description: Response @@ -33561,9 +33783,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33628,7 +33850,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *251 '404': *6 '422': *7 '409': *107 @@ -33667,7 +33889,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33703,7 +33925,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33734,7 +33956,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33909,7 +34131,7 @@ paths: - *76 - *64 responses: - '200': *253 + '200': *255 '404': *6 x-github: githubCloudOnly: false @@ -33938,7 +34160,7 @@ paths: parameters: - *76 - *64 - - *254 + - *256 responses: '200': *70 '404': *6 @@ -33983,7 +34205,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &257 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34125,7 +34347,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &256 + - &258 name: secret_name description: The name of the secret. in: path @@ -34137,7 +34359,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -34168,7 +34390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -34225,7 +34447,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -34252,7 +34474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -34279,7 +34501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -34297,9 +34519,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: &260 + default: &262 value: total_count: 1 repositories: @@ -34392,7 +34614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -34445,7 +34667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -34479,7 +34701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -34536,7 +34758,7 @@ paths: type: integer variables: type: array - items: &258 + items: &260 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34674,7 +34896,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -34700,7 +34922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &259 + - &261 name: name description: The name of the variable. in: path @@ -34712,7 +34934,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *260 examples: default: value: @@ -34743,7 +34965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *259 + - *261 requestBody: required: true content: @@ -34806,7 +35028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *259 + - *261 responses: '204': description: Response @@ -34833,7 +35055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *261 - *19 - *17 responses: @@ -34851,9 +35073,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34880,7 +35102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *261 requestBody: required: true content: @@ -34930,7 +35152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *259 + - *261 - name: repository_id in: path required: true @@ -34965,7 +35187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *259 + - *261 - name: repository_id in: path required: true @@ -35023,7 +35245,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *263 examples: default: *74 parameters: @@ -35325,12 +35547,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &795 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &796 value: subject_digests: - sha256:abc123 @@ -35389,7 +35611,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &797 value: attestations_subject_digests: - sha256:abc: @@ -35582,6 +35804,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *97 + - *98 + - *76 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35811,10 +36084,10 @@ paths: required: false schema: type: string - - *262 - - *263 - *264 - *265 + - *266 + - *267 - *17 responses: '200': @@ -35823,9 +36096,9 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: - default: *267 + default: *269 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35948,7 +36221,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &270 + - &272 name: repository_name description: The name of the repository to filter on. in: query @@ -35967,9 +36240,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35993,7 +36266,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *270 + - *272 - *92 - *93 - *94 @@ -36007,9 +36280,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36036,7 +36309,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &276 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +36335,7 @@ paths: application/json: schema: type: array - items: &275 + items: &277 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +36366,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *275 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +36385,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *276 contact_link: description: The contact link of the campaign. type: @@ -36329,9 +36602,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &276 + default: &278 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36414,9 +36687,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 '422': description: Unprocessable Entity @@ -36494,7 +36767,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *276 examples: default: value: @@ -36504,9 +36777,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '400': description: Bad Request content: @@ -36573,8 +36846,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *277 - - *278 + - *279 + - *280 - *97 - *98 - *19 @@ -36585,7 +36858,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *281 - name: sort description: The property by which to sort the results. in: query @@ -36619,9 +36892,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 headers: Link: *41 '404': *6 @@ -36836,7 +37109,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *284 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36979,7 +37252,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,9 +37280,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *35 '403': *27 '404': *6 @@ -37096,7 +37369,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *285 '304': *35 '403': *27 '404': *6 @@ -37518,7 +37791,7 @@ paths: default: value: default_for_new_repos: all - configuration: *283 + configuration: *285 '403': *27 '404': *6 x-github: @@ -37571,13 +37844,13 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *289 '403': *27 '404': *6 x-github: @@ -37648,7 +37921,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *248 machine: anyOf: - type: 'null' @@ -38563,7 +38836,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &290 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38701,13 +38974,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '200': description: Response content: application/json: - schema: *288 + schema: *290 examples: default: &542 value: @@ -38737,7 +39010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -38792,7 +39065,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -38819,7 +39092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -38845,7 +39118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -38863,9 +39136,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -38888,7 +39161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -38939,7 +39212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -38973,7 +39246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -39796,7 +40069,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *291 examples: default: value: @@ -39888,7 +40161,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &294 type: object properties: name: @@ -39930,9 +40203,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -39957,7 +40230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &291 + - &293 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40242,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 x-github: githubCloudOnly: true @@ -39994,12 +40267,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: application/json: - schema: &293 + schema: &295 type: object properties: name: @@ -40038,9 +40311,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40065,7 +40338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -40098,7 +40371,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -40112,9 +40385,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40145,15 +40418,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *291 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 x-github: githubCloudOnly: true @@ -40182,12 +40455,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -40202,9 +40475,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40235,7 +40508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -40264,11 +40537,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *294 - - *295 - *296 - *297 - *298 + - *299 + - *300 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +40579,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 + - *301 + - *302 - *99 - *97 - *98 - - *301 - - *302 - *17 responses: '200': @@ -40489,7 +40760,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '200': description: Response @@ -40524,7 +40795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -40583,7 +40854,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -40608,7 +40879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -40633,7 +40904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -40651,9 +40922,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40675,7 +40946,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -40726,7 +40997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -40758,7 +41029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -40842,7 +41113,7 @@ paths: - denied - all default: all - - *270 + - *272 - *17 - *19 responses: @@ -41102,7 +41373,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *270 + - *272 - *92 - *93 - *94 @@ -41400,7 +41671,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *248 created_at: type: string format: date-time @@ -41506,7 +41777,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: 200-response: value: @@ -43639,7 +43910,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: &345 value: @@ -43972,7 +44243,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -43982,7 +44253,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *335 headers: @@ -45511,7 +45782,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: &352 value: @@ -45983,7 +46254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -46009,8 +46280,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *180 - - *291 + - *181 + - *293 responses: '204': description: Response @@ -46040,8 +46311,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *180 - - *291 + - *181 + - *293 responses: '204': description: Response @@ -46094,7 +46365,7 @@ paths: parameters: - *76 - *178 - - *291 + - *293 responses: '204': description: Response @@ -46126,7 +46397,7 @@ paths: parameters: - *76 - *178 - - *291 + - *293 responses: '204': description: Response @@ -46155,7 +46426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *291 + - *293 responses: '200': description: Response @@ -46219,7 +46490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: @@ -46312,7 +46583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -46338,7 +46609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *293 - *17 - *19 responses: @@ -46480,7 +46751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *293 - *17 - *19 responses: @@ -46819,7 +47090,7 @@ paths: - nuget - container - *76 - - &782 + - &781 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46860,7 +47131,7 @@ paths: default: *347 '403': *27 '401': *23 - '400': &784 + '400': &783 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47687,7 +47958,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -48004,7 +48275,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -48399,7 +48670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 responses: '200': description: The specified private registry configuration for the organization @@ -48429,7 +48700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -48526,7 +48797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -48909,7 +49180,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &856 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -49340,7 +49611,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *365 - - &801 + - &800 name: field_id description: The unique identifier of the field. in: path @@ -49388,8 +49659,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -49397,8 +49670,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *97 - *98 - *17 @@ -50215,7 +50486,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &801 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,7 +50499,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 + - *184 - &549 title: Pull Request Simple description: Pull Request Simple @@ -50404,7 +50675,7 @@ paths: type: - array - 'null' - items: *273 + items: *275 head: type: object properties: @@ -50473,7 +50744,7 @@ paths: - review_comments - review_comment - self - author_association: *184 + author_association: *185 auto_merge: &655 title: Auto merge description: The status of auto merging a pull request. @@ -51390,7 +51661,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -52042,7 +52313,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 organization: anyOf: - type: 'null' @@ -52953,7 +53224,7 @@ paths: schema: type: string x-multi-segment: true - - *270 + - *272 - *94 - &681 name: actor_name @@ -54040,7 +54311,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -54491,7 +54762,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -54517,7 +54788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -54795,9 +55066,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54866,7 +55137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -54889,7 +55160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -55277,7 +55548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *180 + - *181 - 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`). @@ -55343,7 +55614,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 headers: @@ -55909,7 +56180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *180 + - *181 responses: '200': description: Response @@ -55939,7 +56210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *180 + - *181 requestBody: required: false content: @@ -56037,7 +56308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -56064,7 +56335,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *180 + - *181 - *99 - *17 - *19 @@ -56172,7 +56443,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *186 required: - author - body @@ -56267,7 +56538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -56376,7 +56647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *180 + - *181 - &415 name: discussion_number description: The number that identifies the discussion. @@ -56414,7 +56685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *180 + - *181 - *415 requestBody: required: false @@ -56511,7 +56782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *180 + - *181 - *415 responses: '204': @@ -56539,7 +56810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *180 + - *181 - *415 - *99 - *17 @@ -56616,7 +56887,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *186 required: - author - body @@ -56700,7 +56971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 requestBody: required: true @@ -56792,7 +57063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - &418 name: comment_number @@ -56831,7 +57102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 requestBody: @@ -56922,7 +57193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 responses: @@ -56951,7 +57222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 - name: content @@ -57074,7 +57345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 requestBody: @@ -57166,7 +57437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *180 + - *181 - *415 - *418 - &422 @@ -57202,7 +57473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *180 + - *181 - *415 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -57258,7 +57529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *180 + - *181 - *415 requestBody: required: true @@ -57324,7 +57595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *180 + - *181 - *415 - *422 responses: @@ -57350,7 +57621,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: - *76 - - *180 + - *181 responses: '200': description: Response @@ -57378,7 +57649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -57424,7 +57695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -57449,7 +57720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -57484,7 +57755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *180 + - *181 - name: role description: Filters members returned by their role in the team. in: query @@ -57538,7 +57809,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 responses: '200': @@ -57610,7 +57881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 requestBody: required: false @@ -57674,7 +57945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 responses: '204': @@ -57701,7 +57972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -57844,7 +58115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *180 + - *181 - &429 name: project_id description: The unique identifier of the project. @@ -57922,7 +58193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *180 + - *181 - *429 requestBody: required: false @@ -57991,7 +58262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *180 + - *181 - *429 responses: '204': @@ -58020,7 +58291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -58030,7 +58301,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -58062,7 +58333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *180 + - *181 - *430 - *431 responses: @@ -58096,7 +58367,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 forks: type: integer permissions: @@ -58712,7 +58983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *180 + - *181 - *430 - *431 requestBody: @@ -58760,7 +59031,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *180 + - *181 - *430 - *431 responses: @@ -58789,7 +59060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *180 + - *181 responses: '200': description: Response @@ -58820,7 +59091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -58896,7 +59167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -58906,7 +59177,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: response-if-child-teams-exist: &764 value: @@ -59712,8 +59983,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *225 + - *226 '503': description: Response content: @@ -62316,7 +62587,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -62426,7 +62697,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -62628,7 +62899,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *235 sha_pinning_required: *50 required: - enabled @@ -62793,7 +63064,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: default: value: @@ -62828,7 +63099,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *238 examples: default: summary: Set retention days @@ -62861,7 +63132,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *239 '404': *6 x-github: enabledForGitHubApps: true @@ -62922,7 +63193,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: *52 '403': *27 @@ -62950,7 +63221,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *241 examples: default: *52 responses: @@ -63048,7 +63319,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: default: *58 x-github: @@ -63083,7 +63354,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *245 examples: default: *58 x-github: @@ -63166,9 +63437,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63234,7 +63505,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *251 '404': *6 '422': *7 '409': *107 @@ -63274,7 +63545,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63311,7 +63582,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63343,7 +63614,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63523,7 +63794,7 @@ paths: - *431 - *64 responses: - '200': *253 + '200': *255 '404': *6 x-github: githubCloudOnly: false @@ -63553,7 +63824,7 @@ paths: - *430 - *431 - *64 - - *254 + - *256 responses: '200': *70 '404': *6 @@ -63799,7 +64070,7 @@ paths: type: - array - 'null' - items: *187 + items: *188 created_at: type: string format: date-time @@ -63934,8 +64205,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *248 + head_repository: *248 head_repository_id: type: integer examples: @@ -64632,7 +64903,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -64922,7 +65193,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65026,7 +65297,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65252,7 +65523,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *275 required: - environment - wait_timer @@ -65571,7 +65842,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65618,7 +65889,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65869,7 +66140,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -65905,7 +66176,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -65936,7 +66207,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65964,7 +66235,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -66061,7 +66332,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -66088,7 +66359,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 responses: '200': description: Response @@ -66124,7 +66395,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 requestBody: required: true content: @@ -66168,7 +66439,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 responses: '204': description: Response @@ -67467,7 +67738,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *275 apps: description: The list of apps with review dismissal access. @@ -67499,7 +67770,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67592,7 +67863,7 @@ paths: type: string teams: type: array - items: *273 + items: *275 apps: type: array items: @@ -67965,14 +68236,14 @@ paths: author: oneOf: - *4 - - *257 + - *259 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *259 type: - 'null' - object @@ -68781,7 +69052,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 apps: type: array items: *5 @@ -68799,7 +69070,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 apps: type: array items: *5 @@ -70188,7 +70459,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '404': *6 @@ -70248,7 +70519,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70309,7 +70580,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70369,7 +70640,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70764,9 +71035,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70801,7 +71072,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: default: value: @@ -70875,9 +71146,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 '404': *6 '403': *27 '500': *38 @@ -70914,7 +71185,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *273 examples: default: value: @@ -71493,8 +71764,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *188 + deployment: &817 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72281,7 +72552,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -72424,12 +72695,12 @@ paths: type: - array - 'null' - items: *187 + items: *188 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *248 created_at: type: - string @@ -72842,7 +73113,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *248 examples: default: value: @@ -73290,7 +73561,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -73319,8 +73590,8 @@ paths: parameters: - *430 - *431 - - *277 - - *278 + - *279 + - *280 - *19 - *17 - &522 @@ -73356,7 +73627,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *281 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -74185,8 +74456,8 @@ paths: parameters: - *430 - *431 - - *277 - - *278 + - *279 + - *280 - *19 - *17 - *523 @@ -75697,7 +75968,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -77000,7 +77271,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -77030,7 +77301,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -77058,7 +77329,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -77084,7 +77355,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -77432,7 +77703,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *248 invitee: anyOf: - type: 'null' @@ -77608,7 +77879,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *223 + schema: *225 '403': *27 x-github: triggersNotification: true @@ -77809,8 +78080,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *185 + reactions: *186 required: - url - html_url @@ -77887,7 +78158,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -77954,7 +78225,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -78029,7 +78300,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -78052,7 +78323,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -78103,7 +78374,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -78168,7 +78439,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -79605,7 +79876,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *248 commit_url: type: string format: uri @@ -79911,7 +80182,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 contributing: anyOf: - type: 'null' @@ -81623,29 +81894,21 @@ paths: parameters: - *430 - *431 - - *294 - - *295 - *296 - *297 + - *298 + - *299 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *298 - - *560 - - *299 - *300 + - *560 + - *301 + - *302 - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -81656,8 +81919,6 @@ paths: default: 30 - *97 - *98 - - *301 - - *302 responses: '200': description: Response @@ -82386,7 +82647,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -82420,7 +82681,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -82448,7 +82709,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -82474,7 +82735,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -84462,7 +84723,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *275 required: - id - node_id @@ -85517,7 +85778,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 responses: '200': description: Response @@ -85550,7 +85811,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 requestBody: required: true content: @@ -85581,7 +85842,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -85610,7 +85871,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 responses: '204': description: Default response @@ -85709,7 +85970,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -85737,7 +85998,7 @@ paths: - *430 - *431 - *585 - - *259 + - *261 responses: '200': description: Response @@ -85768,7 +86029,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 - *585 requestBody: required: true @@ -85813,7 +86074,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 - *585 responses: '204': @@ -85847,7 +86108,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: 200-response: value: @@ -85928,7 +86189,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -86182,7 +86443,7 @@ paths: application/json: schema: oneOf: - - *223 + - *225 - *598 x-github: githubCloudOnly: false @@ -87589,7 +87850,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &848 title: Hook Response type: object properties: @@ -88657,7 +88918,7 @@ paths: parameters: - *430 - *431 - - &793 + - &792 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89091,7 +89352,7 @@ paths: type: array items: *616 examples: - default: &786 + default: &785 value: - id: 1 repository: @@ -89479,7 +89740,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -89489,7 +89750,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: &623 value: @@ -89759,7 +90020,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: &620 value: @@ -89947,7 +90208,7 @@ paths: parameters: - *430 - *431 - - *206 + - *207 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90218,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -90029,7 +90290,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -90093,7 +90354,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -90137,7 +90398,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -90159,7 +90420,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -90210,7 +90471,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -90275,7 +90536,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -90354,7 +90615,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *184 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +90648,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +90715,7 @@ paths: required: - from - to - author_association: *184 + author_association: *185 lock_reason: type: - string @@ -90899,7 +91160,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -91050,7 +91311,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '422': *15 @@ -91104,7 +91365,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 x-github: @@ -91149,7 +91410,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 x-github: @@ -91218,7 +91479,7 @@ paths: - *430 - *431 - *621 - - *189 + - *190 - *17 - *19 responses: @@ -91336,7 +91597,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -91395,7 +91656,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -91450,7 +91711,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -91496,7 +91757,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -91883,7 +92144,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -91925,7 +92186,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -92344,7 +92605,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: &624 value: @@ -92444,7 +92705,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 '301': *444 @@ -92528,7 +92789,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 '301': *444 @@ -92592,7 +92853,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: value: @@ -92714,7 +92975,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -92909,7 +93170,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -92956,7 +93217,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -93019,7 +93280,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -93081,7 +93342,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '403': *27 @@ -93182,12 +93443,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *185 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - event - actor @@ -93218,7 +93479,7 @@ paths: properties: type: type: string - issue: *183 + issue: *184 required: - event - created_at @@ -93440,7 +93701,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *185 required: - event - id @@ -93568,7 +93829,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *185 _links: type: object properties: @@ -93663,7 +93924,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *186 body_html: type: string examples: @@ -94212,7 +94473,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 headers: @@ -94272,7 +94533,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: &641 value: @@ -94318,7 +94579,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: *641 '404': *6 @@ -94377,7 +94638,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: value: @@ -94591,7 +94852,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 required: - _links - git_url @@ -95126,7 +95387,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 headers: @@ -95151,7 +95412,7 @@ paths: - *431 - *645 - *646 - - *189 + - *190 - *647 - *17 - *19 @@ -95162,7 +95423,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: *648 headers: @@ -96365,7 +96626,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -97122,7 +97383,7 @@ paths: - review_comments - review_comment - self - author_association: *184 + author_association: *185 auto_merge: *655 draft: description: Indicates whether or not the pull request is a draft. @@ -97772,7 +98033,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -97863,7 +98124,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -97948,7 +98209,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -97990,7 +98251,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -98013,7 +98274,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -98064,7 +98325,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -98129,7 +98390,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -98399,7 +98660,7 @@ paths: - *430 - *431 - *660 - - *206 + - *207 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +98670,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -98653,7 +98914,7 @@ paths: - *430 - *431 - *660 - - *198 + - *199 requestBody: required: true content: @@ -99012,7 +99273,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 required: - users - teams @@ -100273,7 +100534,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *185 required: - id - node_id @@ -100811,7 +101072,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *185 _links: type: object properties: @@ -100826,7 +101087,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *186 side: description: The side of the first line of the range for a multi-line comment. @@ -103453,7 +103714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &868 type: object properties: type: @@ -103647,6 +103908,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 @@ -104731,7 +104995,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *225 examples: invalid_state_transition: value: @@ -105929,7 +106193,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 headers: @@ -106466,7 +106730,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: default: value: @@ -106914,7 +107178,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -109173,7 +109437,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *248 score: type: number file_size: @@ -109471,7 +109735,7 @@ paths: type: string sha: type: string - repository: *246 + repository: *248 score: type: number node_id: @@ -109836,7 +110100,7 @@ paths: type: string score: type: number - author_association: *184 + author_association: *185 draft: type: boolean repository: *67 @@ -109852,7 +110116,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - assignee - closed_at @@ -110371,7 +110635,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 permissions: type: object properties: @@ -112441,7 +112705,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -112852,7 +113116,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: response-if-child-teams-exist: *764 headers: @@ -113809,7 +114073,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: - - *256 + - *258 responses: '200': description: Response @@ -113845,7 +114109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *256 + - *258 requestBody: required: true content: @@ -113890,7 +114154,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -113918,7 +114182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *256 + - *258 responses: '204': description: Response @@ -113943,7 +114207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *256 + - *258 responses: '200': description: Response @@ -113959,7 +114223,7 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: default: *768 '401': *23 @@ -113986,7 +114250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *256 + - *258 requestBody: required: true content: @@ -114040,7 +114304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *256 + - *258 - name: repository_id in: path required: true @@ -114073,7 +114337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *256 + - *258 - name: repository_id in: path required: true @@ -115333,7 +115597,7 @@ paths: type: array items: *346 examples: - default: &783 + default: &782 value: - id: 197 name: hello_docker @@ -115506,7 +115770,7 @@ paths: type: array items: *772 examples: - default: &785 + default: &784 value: - email: octocat@github.com verified: true @@ -115986,7 +116250,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &798 value: - id: 3 name: Octocat's GPG Key @@ -116358,7 +116622,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *243 headers: Link: *41 '404': *6 @@ -116383,7 +116647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *242 responses: '204': description: Response @@ -116409,7 +116673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *242 responses: '204': description: Response @@ -116577,7 +116841,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -116587,7 +116851,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *335 headers: @@ -116892,7 +117156,7 @@ paths: - id - type - login - plan: *200 + plan: *201 required: - billing_cycle - next_billing_date @@ -118005,7 +118269,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -118044,7 +118308,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *214 headers: Link: *41 '304': *35 @@ -118086,7 +118350,7 @@ paths: - docker - nuget - container - - *782 + - *781 - *19 - *17 responses: @@ -118098,8 +118362,8 @@ paths: type: array items: *346 examples: - default: *783 - '400': *784 + default: *782 + '400': *783 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118128,7 +118392,7 @@ paths: application/json: schema: *346 examples: - default: &800 + default: &799 value: id: 40201 name: octo-name @@ -118585,7 +118849,7 @@ paths: type: array items: *772 examples: - default: *785 + default: *784 headers: Link: *41 '304': *35 @@ -118698,7 +118962,7 @@ paths: type: array items: *67 examples: - default: &792 + default: &791 summary: Default response value: - id: 1296269 @@ -119058,7 +119322,7 @@ paths: type: array items: *616 examples: - default: *786 + default: *785 headers: Link: *41 '304': *35 @@ -119137,7 +119401,7 @@ paths: application/json: schema: type: array - items: &787 + items: &786 title: Social account description: Social media account type: object @@ -119154,7 +119418,7 @@ paths: - provider - url examples: - default: &788 + default: &787 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +119481,9 @@ paths: application/json: schema: type: array - items: *787 + items: *786 examples: - default: *788 + default: *787 '422': *15 '304': *35 '404': *6 @@ -119307,7 +119571,7 @@ paths: application/json: schema: type: array - items: &789 + items: &788 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +119591,7 @@ paths: - title - created_at examples: - default: &803 + default: &802 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +119658,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *788 examples: - default: &790 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +119691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &791 + - &790 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +119703,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *788 examples: - default: *790 + default: *789 '404': *6 '304': *35 '403': *27 @@ -119464,7 +119728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *791 + - *790 responses: '204': description: Response @@ -119493,7 +119757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &804 + - &803 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -119518,11 +119782,11 @@ paths: type: array items: *67 examples: - default-response: *792 + default-response: *791 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &804 title: Starred Repository description: Starred Repository type: object @@ -119766,7 +120030,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -119883,7 +120147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *202 + - *203 responses: '200': description: Response @@ -119894,7 +120158,7 @@ paths: - *766 - *765 examples: - default-response: &794 + default-response: &793 summary: Default response value: login: octocat @@ -119929,7 +120193,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &795 + response-with-git-hub-plan-information: &794 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +120253,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *792 - *17 responses: '200': @@ -120041,8 +120305,8 @@ paths: - *766 - *765 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *793 + response-with-git-hub-plan-information: *794 '404': *6 x-github: githubCloudOnly: false @@ -120091,8 +120355,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *795 + withPredicateType: *796 responses: '200': description: Response @@ -120146,7 +120410,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *797 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120355,7 +120619,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -120391,7 +120655,7 @@ paths: type: array items: *346 examples: - default: *783 + default: *782 '403': *27 '401': *23 x-github: @@ -120424,7 +120688,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120497,7 +120761,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120584,7 +120848,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120732,7 +120996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *178 - - *189 + - *190 - *17 - *19 responses: @@ -120742,9 +121006,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '422': *15 @@ -120777,7 +121041,7 @@ paths: type: array items: *773 examples: - default: *799 + default: *798 headers: Link: *41 x-github: @@ -120967,7 +121231,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *214 headers: Link: *41 x-github: @@ -121006,7 +121270,7 @@ paths: - docker - nuget - container - - *782 + - *781 - *178 - *19 - *17 @@ -121019,10 +121283,10 @@ paths: type: array items: *346 examples: - default: *783 + default: *782 '403': *27 '401': *23 - '400': *784 + '400': *783 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121052,7 +121316,7 @@ paths: application/json: schema: *346 examples: - default: *800 + default: *799 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121505,7 +121769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *365 - - *801 + - *800 - *178 responses: '200': @@ -121550,8 +121814,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -121559,8 +121825,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -121629,7 +121893,7 @@ paths: description: Response content: application/json: - schema: *802 + schema: *801 examples: issue: *371 pull_request: *371 @@ -121835,7 +122099,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -121910,7 +122174,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -122016,7 +122280,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -122089,7 +122353,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 @@ -122099,10 +122366,10 @@ paths: parameters: - *178 - *169 - - *213 - - *170 - *215 - - *216 + - *170 + - *217 + - *218 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +122422,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 @@ -122262,9 +122529,9 @@ paths: parameters: - *178 - *169 - - *217 + - *219 - *170 - - *218 + - *220 responses: '200': description: Response when getting a billing usage report @@ -122363,9 +122630,9 @@ paths: application/json: schema: type: array - items: *787 + items: *786 examples: - default: *788 + default: *787 headers: Link: *41 x-github: @@ -122395,9 +122662,9 @@ paths: application/json: schema: type: array - items: *789 + items: *788 examples: - default: *803 + default: *802 headers: Link: *41 x-github: @@ -122422,7 +122689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *178 - - *804 + - *803 - *99 - *17 - *19 @@ -122434,11 +122701,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *804 - type: array items: *67 examples: - default-response: *792 + default-response: *791 headers: Link: *41 x-github: @@ -122467,7 +122734,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -122598,7 +122865,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &805 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +122934,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &806 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +122955,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &807 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123028,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &808 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123057,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *187 organization: anyOf: - type: 'null' @@ -123674,10 +123941,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -123753,11 +124020,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: &809 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -123980,11 +124247,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: *809 sender: *4 required: - action @@ -124172,11 +124439,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: *809 sender: *4 required: - action @@ -124247,7 +124514,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &812 title: Exemption request cancellation event type: object properties: @@ -124255,11 +124522,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: &810 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +124764,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &811 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +124874,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &813 title: Exemption request completed event type: object properties: @@ -124615,11 +124882,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 sender: *4 required: - action @@ -124689,7 +124956,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &814 title: Exemption request created event type: object properties: @@ -124697,11 +124964,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 sender: *4 required: - action @@ -124771,7 +125038,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &815 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125046,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 + exemption_response: *811 sender: *4 required: - action @@ -124856,7 +125123,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &816 title: Exemption response submitted event type: object properties: @@ -124864,12 +125131,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 + exemption_response: *811 sender: *4 required: - action @@ -124942,7 +125209,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +125276,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +125343,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +125410,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +125478,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +125556,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &818 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +125621,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *188 + repository: *248 status: type: string enum: @@ -125399,7 +125666,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *817 details_url: type: string examples: @@ -125459,7 +125726,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *188 started_at: type: string format: date-time @@ -125497,10 +125764,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -125893,11 +126160,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -126293,11 +126560,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 requested_action: description: The action requested by the user. type: object @@ -126702,11 +126969,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -127698,10 +127965,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -128386,10 +128653,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -129068,10 +129335,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -129392,20 +129659,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &819 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *806 - installation: *807 - organization: *808 - ref: &821 + enterprise: *805 + installation: *806 + organization: *807 + ref: &820 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -129813,12 +130080,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130101,12 +130368,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130452,12 +130719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130740,9 +131007,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130750,7 +131017,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *808 sender: *4 required: - action @@ -130996,12 +131263,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -131263,10 +131530,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -131347,18 +131614,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *807 + pusher_type: &821 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &822 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +131635,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *808 sender: *4 required: - ref @@ -131451,9 +131718,9 @@ webhooks: enum: - created definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131538,9 +131805,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131618,9 +131885,9 @@ webhooks: enum: - promote_to_enterprise definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131698,9 +131965,9 @@ webhooks: enum: - updated definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131777,10 +132044,10 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *805 + installation: *806 + repository: *808 + organization: *807 sender: *4 new_property_values: type: array @@ -131865,18 +132132,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *805 + installation: *806 + organization: *807 + pusher_type: *821 + ref: *822 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *808 sender: *4 required: - ref @@ -131961,10 +132228,10 @@ webhooks: enum: - auto_dismissed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132049,10 +132316,10 @@ webhooks: enum: - auto_reopened alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132137,10 +132404,10 @@ webhooks: enum: - created alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132223,10 +132490,10 @@ webhooks: enum: - dismissed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132309,10 +132576,10 @@ webhooks: enum: - fixed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132396,10 +132663,10 @@ webhooks: enum: - reintroduced alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132482,10 +132749,10 @@ webhooks: enum: - reopened alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132562,9 +132829,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *805 + installation: *806 + key: &823 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132602,8 +132869,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -132680,11 +132947,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + key: *823 + organization: *807 + repository: *808 sender: *4 required: - action @@ -133256,12 +133523,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: &828 + workflow: &827 title: Workflow type: - object @@ -134003,9 +134270,9 @@ webhooks: pull_requests: type: array items: *658 - repository: *809 - organization: *808 - installation: *807 + repository: *808 + organization: *807 + installation: *806 sender: *4 responses: '200': @@ -134076,7 +134343,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &824 type: object properties: avatar_url: @@ -134119,11 +134386,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + reviewers: &825 type: array items: type: object @@ -134204,7 +134471,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &826 type: object properties: conclusion: @@ -134950,18 +135217,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *824 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + reviewers: *825 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *826 workflow_job_runs: type: array items: @@ -135678,13 +135945,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *805 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *806 + organization: *807 + repository: *808 + requestor: &832 title: User type: - object @@ -137627,12 +137894,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +138590,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &830 type: object properties: author_association: @@ -138483,11 +138750,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138614,11 +138881,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138701,11 +138968,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138787,7 +139054,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &829 type: object properties: author_association: @@ -138947,11 +139214,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139034,12 +139301,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *829 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139134,12 +139401,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *829 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139223,11 +139490,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139309,11 +139576,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139413,11 +139680,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139499,10 +139766,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *828 + enterprise: *805 + installation: *806 + label: &831 title: Label type: object properties: @@ -139535,8 +139802,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139619,11 +139886,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139705,11 +139972,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139791,11 +140058,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139880,16 +140147,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *828 + new_repository: *808 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139972,10 +140239,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *828 + old_answer: *830 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140057,12 +140324,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140145,11 +140412,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140231,11 +140498,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140304,7 +140571,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +140634,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +140700,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +140766,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +140832,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +140898,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +140964,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141031,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *805 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +141709,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - forkee @@ -141590,9 +141857,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pages: description: The pages that were updated. type: array @@ -141630,7 +141897,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *808 sender: *4 required: - pages @@ -141706,10 +141973,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: &834 + organization: *807 + repositories: &833 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142002,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *808 + requester: *832 sender: *4 required: - action @@ -141811,11 +142078,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -141892,11 +142159,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -141973,10 +142240,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories_added: &835 + organization: *807 + repositories_added: &834 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +142289,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *808 + repository_selection: &835 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *832 sender: *4 required: - action @@ -142109,10 +142376,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories_added: *835 + organization: *807 + repositories_added: *834 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +142406,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *808 + repository_selection: *835 + requester: *832 sender: *4 required: - action @@ -142220,11 +142487,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -142407,10 +142674,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 target_type: type: string @@ -142489,11 +142756,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -142741,8 +143008,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143921,8 +144188,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -144002,7 +144269,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &836 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +144436,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145347,8 +145614,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -145428,7 +145695,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &860 description: The changes to the comment. type: object properties: @@ -145440,9 +145707,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *836 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146620,8 +146887,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146705,15 +146972,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *184 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146801,15 +147068,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *184 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146896,15 +147163,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146992,15 +147259,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -147085,10 +147352,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *832 + enterprise: *805 + installation: *806 + issue: &839 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148024,8 +148291,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -148105,8 +148372,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149190,8 +149457,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -149270,8 +149537,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150202,8 +150469,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -150282,8 +150549,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151216,7 +151483,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &837 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +151626,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -151459,8 +151726,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152396,9 +152663,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -152478,8 +152745,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153414,9 +153681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -153496,8 +153763,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154434,8 +154701,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -154514,8 +154781,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155446,9 +155713,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -156921,8 +157188,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157857,8 +158124,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -157938,9 +158205,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *805 + installation: *806 + issue: &838 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158869,8 +159136,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -158949,8 +159216,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159886,8 +160153,8 @@ webhooks: user_view_type: type: string type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161379,11 +161646,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *838 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161463,12 +161730,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 + enterprise: *805 + installation: *806 + issue: *839 type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161549,7 +161816,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &863 title: User type: - object @@ -161621,11 +161888,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *839 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161704,12 +161971,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *839 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161789,8 +162056,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162725,8 +162992,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162806,11 +163073,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *838 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162889,12 +163156,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 + enterprise: *805 + installation: *806 + issue: *839 type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162974,11 +163241,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163056,11 +163323,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163170,11 +163437,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163256,9 +163523,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *805 + installation: *806 + marketplace_purchase: &840 title: Marketplace Purchase type: object required: @@ -163346,8 +163613,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *807 + previous_marketplace_purchase: &841 title: Marketplace Purchase type: object properties: @@ -163431,7 +163698,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163511,10 +163778,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +163869,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163684,10 +163951,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164040,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163854,8 +164121,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164208,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *807 + previous_marketplace_purchase: *841 + repository: *808 sender: *4 required: - action @@ -164023,12 +164290,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 + previous_marketplace_purchase: *841 + repository: *808 sender: *4 required: - action @@ -164130,11 +164397,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164236,11 +164503,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164319,11 +164586,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164401,11 +164668,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +164750,7 @@ webhooks: required: - login - id - team: &843 + team: &842 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +164980,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165063,7 @@ webhooks: required: - login - id - team: *843 + team: *842 required: - action - scope @@ -164878,8 +165145,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *806 + merge_group: &843 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164905,8 +165172,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164992,10 +165259,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *806 + merge_group: *843 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165068,7 +165335,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *805 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +165444,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *806 + organization: *807 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -165262,11 +165529,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165345,9 +165612,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *805 + installation: *806 + milestone: &844 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +165756,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165569,11 +165836,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165683,11 +165950,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165767,11 +166034,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *844 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165850,11 +166117,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *832 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165933,11 +166200,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *832 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166016,9 +166283,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *805 + installation: *806 + membership: &845 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +166395,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166207,11 +166474,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166290,8 +166557,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +166680,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 - user: *833 + user: *832 required: - action - invitation @@ -166494,11 +166761,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166585,11 +166852,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166665,9 +166932,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 package: description: Information about the package. type: object @@ -167190,7 +167457,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &846 title: Ruby Gems metadata type: object properties: @@ -167287,7 +167554,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -167363,9 +167630,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 package: description: Information about the package. type: object @@ -167727,7 +167994,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *846 source_url: type: string format: uri @@ -167798,7 +168065,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -167979,12 +168246,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *805 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - id @@ -168061,7 +168328,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &847 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +168478,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168291,11 +168558,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *847 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168371,11 +168638,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *847 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168450,11 +168717,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *847 + organization: *807 + enterprise: *805 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168559,7 +168826,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *848 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +168858,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169104,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *805 + installation: *806 + organization: *807 + project_card: &849 title: Project Card type: object properties: @@ -168963,7 +169230,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -169044,11 +169311,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_card: *849 + repository: *808 sender: *4 required: - action @@ -169128,9 +169395,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 project_card: title: Project Card type: object @@ -169260,7 +169527,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -169354,11 +169621,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_card: *849 + repository: *808 sender: *4 required: - action @@ -169452,9 +169719,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 project_card: allOf: - title: Project Card @@ -169651,7 +169918,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *808 sender: *4 required: - action @@ -169731,10 +169998,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *805 + installation: *806 + organization: *807 + project: &851 title: Project type: object properties: @@ -169861,7 +170128,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -169941,10 +170208,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *805 + installation: *806 + organization: *807 + project_column: &850 title: Project Column type: object properties: @@ -169984,7 +170251,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -170063,14 +170330,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -170159,11 +170426,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 + repository: *808 sender: *4 required: - action @@ -170243,11 +170510,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 + repository: *808 sender: *4 required: - action @@ -170327,11 +170594,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170411,14 +170678,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -170519,11 +170786,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170602,11 +170869,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170687,8 +170954,8 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170770,8 +171037,8 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170853,8 +171120,8 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170976,8 +171243,8 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -171061,7 +171328,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &855 type: object properties: archived_at: @@ -171077,9 +171344,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *806 + organization: *807 + projects_v2_item: &852 title: Projects v2 Item description: An item belonging to a project type: object @@ -171219,9 +171486,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171303,9 +171570,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171386,9 +171653,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171493,7 +171760,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &853 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +171784,7 @@ webhooks: required: - id - name - - &855 + - &854 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +171824,8 @@ webhooks: oneOf: - type: string - type: integer + - *853 - *854 - - *855 type: - 'null' - string @@ -171581,9 +171848,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171680,9 +171947,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171765,10 +172032,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *855 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171850,8 +172117,8 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -171933,9 +172200,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172016,9 +172283,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172164,9 +172431,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172237,10 +172504,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - repository @@ -172317,13 +172584,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *832 + enterprise: *805 + installation: *806 + number: &857 description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -174672,7 +174939,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -174754,11 +175021,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -177100,7 +177367,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -177182,11 +177449,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -179528,7 +179795,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -179610,11 +179877,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: &858 allOf: - *658 - type: object @@ -179678,7 +179945,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *808 sender: *4 required: - action @@ -179759,12 +180026,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -179844,11 +180111,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 + enterprise: *805 milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + number: *857 + organization: *807 + pull_request: &859 title: Pull Request type: object properties: @@ -182175,7 +182442,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -182254,11 +182521,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -184604,7 +184871,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *808 sender: *4 required: - action @@ -184728,12 +184995,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -184813,11 +185080,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -187148,7 +187415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -187228,11 +187495,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + label: *831 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -189580,7 +189847,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -189661,10 +189928,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -192010,7 +192277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -192090,12 +192357,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 + enterprise: *805 milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + number: *857 + organization: *807 + pull_request: *859 + repository: *808 sender: *4 required: - action @@ -192174,12 +192441,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192260,12 +192527,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192345,12 +192612,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192725,9 +192992,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -194957,7 +195224,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -195037,7 +195304,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &861 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195330,9 +195597,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -197550,7 +197817,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -197630,11 +197897,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *860 + comment: *861 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -199855,7 +200122,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -199936,9 +200203,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -202171,7 +202438,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 review: description: The review that was affected. type: object @@ -202422,9 +202689,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -204538,8 +204805,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *808 + review: &862 description: The review that was affected. type: object properties: @@ -204777,12 +205044,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -207129,7 +207396,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_reviewer: title: User type: @@ -207215,12 +207482,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -209574,7 +209841,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210036,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -212123,7 +212390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_reviewer: title: User type: @@ -212210,12 +212477,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -214555,7 +214822,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215006,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -216977,8 +217244,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *808 + review: *862 sender: *4 required: - action @@ -217058,9 +217325,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -219191,7 +219458,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 sender: *4 thread: type: object @@ -219588,9 +219855,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -221704,7 +221971,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 sender: *4 thread: type: object @@ -222103,10 +222370,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -224441,7 +224708,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -224523,11 +224790,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *863 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -226877,7 +227144,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -226956,11 +227223,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + label: *831 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -229299,7 +229566,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -229380,10 +229647,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -231712,7 +231979,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -231915,7 +232182,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *805 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +232277,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *806 + organization: *807 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +232866,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 registry_package: type: object properties: @@ -233078,7 +233345,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *846 summary: type: string tag_name: @@ -233134,7 +233401,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -233212,9 +233479,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 registry_package: type: object properties: @@ -233526,7 +233793,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *846 summary: type: string tag_name: @@ -233576,7 +233843,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -233653,10 +233920,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *805 + installation: *806 + organization: *807 + release: &864 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +234254,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *808 sender: *4 required: - action @@ -234064,11 +234331,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -234185,11 +234452,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -234267,9 +234534,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +234872,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *808 sender: *4 required: - action @@ -234681,10 +234948,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *805 + installation: *806 + organization: *807 + release: &865 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +235284,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *808 sender: *4 required: - action @@ -235093,11 +235360,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -235173,11 +235440,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *865 + repository: *808 sender: *4 required: - action @@ -235253,10 +235520,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_advisory: *711 sender: *4 required: @@ -235333,10 +235600,10 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_advisory: *711 sender: *4 required: @@ -235413,10 +235680,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235493,10 +235760,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235574,10 +235841,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235662,10 +235929,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235780,10 +236047,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235855,10 +236122,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 status: type: string @@ -235939,10 +236206,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236019,10 +236286,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236116,10 +236383,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236199,10 +236466,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 sender: *4 required: @@ -236281,10 +236548,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 sender: *4 required: @@ -236363,10 +236630,10 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 changes: type: object @@ -236674,10 +236941,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236755,10 +237022,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236836,7 +237103,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &866 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237227,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237173,10 +237440,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237254,11 +237521,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237460,10 +237727,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237541,7 +237808,7 @@ webhooks: type: string enum: - created - alert: &868 + alert: &867 type: object properties: number: *109 @@ -237655,10 +237922,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237739,11 +238006,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *867 + installation: *806 + location: *868 + organization: *807 + repository: *808 sender: *4 required: - location @@ -237981,11 +238248,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238063,11 +238330,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238145,11 +238412,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238227,11 +238494,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238361,10 +238628,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -238442,11 +238709,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + security_advisory: &869 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238632,11 +238899,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + security_advisory: *869 sender: *4 required: - action @@ -238709,10 +238976,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238899,9 +239166,9 @@ webhooks: type: object properties: security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: *443 sender: *4 required: @@ -238980,12 +239247,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: &871 + sponsorship: &870 type: object properties: created_at: @@ -239290,12 +239557,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - sponsorship @@ -239383,12 +239650,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239465,17 +239732,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &871 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - sponsorship @@ -239549,7 +239816,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &872 type: object properties: tier: @@ -239593,13 +239860,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *871 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239676,13 +239943,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *872 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239756,10 +240023,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240110,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +240547,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *805 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *806 name: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +240665,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *184 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240490,15 +240757,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *184 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240582,15 +240849,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *184 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240674,15 +240941,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *184 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240759,12 +241026,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - team: &874 + team: &873 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +241261,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -241466,7 +241733,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -241542,9 +241809,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -242014,7 +242281,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -242091,9 +242358,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -242563,7 +242830,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -242707,9 +242974,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -243179,7 +243446,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - changes @@ -243257,9 +243524,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -243729,7 +243996,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -243805,10 +244072,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -243881,17 +244148,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *805 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *806 + organization: *807 ref: type: string - repository: *809 + repository: *808 sender: *4 workflow: type: string @@ -243973,10 +244240,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: allOf: @@ -244311,10 +244578,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: allOf: @@ -244675,10 +244942,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: type: object @@ -244903,10 +245170,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: type: object @@ -245133,12 +245400,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object @@ -246157,12 +246424,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object @@ -247166,12 +247433,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 8d97d0fbd..f46cb9b4f 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -188,6 +188,10 @@ "name": "enterprise-team-memberships", "description": "Endpoints to manage GitHub Enterprise Team memberships." }, + { + "name": "enterprise-team-organizations", + "description": "Endpoints to manage GitHub Enterprise Team organization assignments." + }, { "name": "code-security", "description": "Endpoints to manage Code security using the REST API." @@ -45251,29 +45255,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -59938,7 +59919,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -60968,6 +60949,19 @@ "schema": { "type": "string" } + }, + { + "name": "state", + "in": "query", + "description": "Set to `active` or `deleted` to only list cost centers in a specific state.", + "required": false, + "schema": { + "type": "string", + "enum": [ + "active", + "deleted" + ] + } } ], "responses": { @@ -62886,7 +62880,7 @@ "/enterprises/{enterprise}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an enterprise", - "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -63069,7 +63063,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -63077,7 +63071,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -63085,7 +63079,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -64617,6 +64611,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -66119,8 +66123,731 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-members" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": { + "get": { + "summary": "Get organization assignments", + "description": "Get all organizations assigned to an enterprise team", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignments", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "page", + "description": "The page number of the results to fetch. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 1 + } + } + ], + "responses": { + "200": { + "description": "An array of organizations the team is assigned to", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": { + "post": { + "summary": "Add organization assignments", + "description": "Assign an enterprise team to multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to assign the team to.", + "items": { + "type": "string", + "description": "Organization slug to assign the team to" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successfully assigned the enterprise team to organizations.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": { + "post": { + "summary": "Remove organization assignments", + "description": "Unassign an enterprise team from multiple organizations.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/bulk-remove", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "organization_slugs" + ], + "properties": { + "organization_slugs": { + "type": "array", + "description": "Organization slug to unassign the team from.", + "items": { + "type": "string", + "description": "Organization slug to unassign the team from" + } + } + } + }, + "examples": { + "default": { + "value": { + "organization_slugs": [ + "github" + ] + } + } + } + } + } + }, + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from organizations." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + } + }, + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": { + "get": { + "summary": "Get organization assignment", + "description": "Check if an enterprise team is assigned to an organization", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/get-assignment", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "The team is assigned to the organization", + "content": { + "application/json": { + "schema": { + "title": "Organization Simple", + "description": "A GitHub organization.", + "type": "object", + "properties": { + "login": { + "type": "string", + "examples": [ + "github" + ] + }, + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" + } + } + } + } + } + }, + "404": { + "description": "The team is not assigned to the organization" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" + } + }, + "put": { + "summary": "Add an organization assignment", + "description": "Assign an enterprise team to an organization.", + "tags": [ + "enterprise-team-organizations" + ], + "operationId": "enterprise-team-organizations/add", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "enterprise-team", + "description": "The slug version of the enterprise team name. You can also substitute this value with the enterprise team id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", "in": "path", "required": true, "schema": { @@ -66129,29 +66856,124 @@ } ], "responses": { - "204": { - "description": "Response" - }, - "403": { - "description": "Forbidden", + "201": { + "description": "Successfully assigned the enterprise team to the organization.", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", + "title": "Organization Simple", + "description": "A GitHub organization.", "type": "object", "properties": { - "message": { - "type": "string" + "login": { + "type": "string", + "examples": [ + "github" + ] }, - "documentation_url": { - "type": "string" + "id": { + "type": "integer", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDEyOk9yZ2FuaXphdGlvbjE=" + ] }, "url": { - "type": "string" + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github" + ] }, - "status": { - "type": "string" + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/repos" + ] + }, + "events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/orgs/github/events" + ] + }, + "hooks_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/hooks" + ] + }, + "issues_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/issues" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/members{/member}" + ] + }, + "public_members_url": { + "type": "string", + "examples": [ + "https://api.github.com/orgs/github/public_members{/member}" + ] + }, + "avatar_url": { + "type": "string", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "examples": [ + "A great organization" + ] + } + }, + "required": [ + "login", + "url", + "id", + "node_id", + "repos_url", + "events_url", + "hooks_url", + "issues_url", + "members_url", + "public_members_url", + "avatar_url", + "description" + ] + }, + "examples": { + "default": { + "value": { + "login": "github", + "id": 1, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjE=", + "url": "https://api.github.com/orgs/github", + "repos_url": "https://api.github.com/orgs/github/repos", + "events_url": "https://api.github.com/orgs/github/events", + "hooks_url": "https://api.github.com/orgs/github/hooks", + "issues_url": "https://api.github.com/orgs/github/issues", + "members_url": "https://api.github.com/orgs/github/members{/member}", + "public_members_url": "https://api.github.com/orgs/github/public_members{/member}", + "avatar_url": "https://github.com/images/error/octocat_happy.gif", + "description": "A great organization" } } } @@ -66163,7 +66985,59 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-teams", - "subcategory": "enterprise-team-members" + "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": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Successfully unassigned the enterprise team from the organization." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "category": "enterprise-teams", + "subcategory": "enterprise-team-organizations" } } }, @@ -66413,6 +67287,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -114540,7 +115424,7 @@ "/organizations/{org}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for an organization", - "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -114684,7 +115568,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -114692,7 +115576,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -114700,7 +115584,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -135677,6 +136561,110 @@ } } }, + "/orgs/{org}/attestations/repositories": { + "get": { + "summary": "List attestation repositories", + "description": "List repositories owned by the provided organization that have created at least one attested artifact\nResults will be sorted in ascending order by repository ID", + "tags": [ + "orgs" + ], + "operationId": "orgs/list-attestation-repositories", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories" + }, + "parameters": [ + { + "name": "per_page", + "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "schema": { + "type": "integer", + "default": 30 + } + }, + { + "name": "before", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "after", + "description": "A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "predicate_type", + "description": "Optional filter for fetching attestations with a given predicate type.\nThis option accepts `provenance`, `sbom`, or freeform text for custom predicate types.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "name": { + "type": "string" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "attestations" + } + } + }, "/orgs/{org}/attestations/{attestation_id}": { "delete": { "summary": "Delete attestations by ID", @@ -158163,29 +159151,6 @@ "type": "string" } }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -217689,7 +218654,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -217697,10 +218662,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -405202,16 +406164,6 @@ "default": "desc" } }, - { - "name": "page", - "description": "**Closing down notice**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead.", - "deprecated": true, - "in": "query", - "schema": { - "type": "integer", - "default": 1 - } - }, { "name": "per_page", "description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -405239,29 +406191,6 @@ "schema": { "type": "string" } - }, - { - "name": "first", - "description": "**Deprecated**. The number of results per page (max 100), starting from the first matching result.\nThis parameter must not be used in combination with `last`.\nInstead, use `per_page` in combination with `after` to fetch the first page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 30 - } - }, - { - "name": "last", - "description": "**Deprecated**. The number of results per page (max 100), starting from the last matching result.\nThis parameter must not be used in combination with `first`.\nInstead, use `per_page` in combination with `before` to fetch the last page of results.", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100 - } } ], "responses": { @@ -631363,7 +632292,7 @@ "/repos/{owner}/{repo}/secret-scanning/scan-history": { "get": { "summary": "Get secret scanning scan history for a repository", - "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", + "description": "Lists the latest default incremental and backfill scans by type for a repository. Scans from Copilot Secret Scanning are not included.\n\n> [!NOTE]\n> This endpoint requires [GitHub Advanced Security](https://docs.github.com/enterprise-cloud@latest//get-started/learning-about-github/about-github-advanced-security).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.", "tags": [ "secret-scanning" ], @@ -805632,7 +806561,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -805640,10 +806569,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -843270,7 +844196,7 @@ "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", - "description": "Gets a report of premium request usage for a user.", + "description": "Gets a report of premium request usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], @@ -843401,7 +844327,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -843409,7 +844335,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -843417,7 +844343,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index f0616924a..0c96599aa 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -99,6 +99,8 @@ tags: description: Endpoints to manage GitHub Enterprise Teams. - name: enterprise-team-memberships description: Endpoints to manage GitHub Enterprise Team memberships. +- name: enterprise-team-organizations + description: Endpoints to manage GitHub Enterprise Team organization assignments. - name: code-security description: Endpoints to manage Code security using the REST API. - name: private-registries @@ -1046,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &224 + schema: &226 title: Validation Error Simple description: Validation Error Simple type: object @@ -1839,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &223 + schema: &225 title: Validation Error description: Validation Error type: object @@ -2250,7 +2252,7 @@ paths: parameters: - *17 - *19 - - &189 + - &190 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3036,7 +3038,7 @@ paths: license: anyOf: - type: 'null' - - &186 + - &187 title: License Simple description: License Simple type: object @@ -7785,7 +7787,7 @@ paths: description: Response content: application/json: - schema: &225 + schema: &227 type: object properties: total_active_caches_count: @@ -7800,7 +7802,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &226 + default: &228 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8005,7 +8007,7 @@ paths: - public_ip_enabled - platform examples: - default: &227 + default: &229 value: total_count: 2 runners: @@ -8295,7 +8297,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &230 type: object properties: public_ips: @@ -8322,7 +8324,7 @@ paths: required: - public_ips examples: - default: &229 + default: &231 value: public_ips: current_usage: 17 @@ -8362,7 +8364,7 @@ paths: type: array items: *45 examples: - default: &230 + default: &232 value: id: 4-core cpu_cores: 4 @@ -8620,7 +8622,7 @@ paths: - all - local_only - selected - selected_actions_url: &233 + selected_actions_url: &235 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8700,7 +8702,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &235 + schema: &237 type: object properties: days: @@ -8746,7 +8748,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &238 type: object properties: days: @@ -8795,7 +8797,7 @@ paths: required: - approval_policy examples: - default: &237 + default: &239 value: approval_policy: first_time_contributors '404': *6 @@ -8853,7 +8855,7 @@ paths: description: Response content: application/json: - schema: &238 + schema: &240 type: object required: - run_workflows_from_fork_pull_requests @@ -8907,7 +8909,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &241 type: object required: - run_workflows_from_fork_pull_requests @@ -9343,7 +9345,7 @@ paths: description: Success response content: application/json: - schema: &242 + schema: &244 type: object properties: default_workflow_permissions: &56 @@ -9391,7 +9393,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &245 type: object properties: default_workflow_permissions: *56 @@ -10236,7 +10238,7 @@ paths: application/json: schema: type: array - items: &247 + items: &249 title: Runner Application description: Runner Application type: object @@ -10261,7 +10263,7 @@ paths: - download_url - filename examples: - default: &248 + default: &250 value: - os: osx architecture: x64 @@ -10345,7 +10347,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &249 + '201': &251 description: Response content: application/json: @@ -10464,7 +10466,7 @@ paths: - token - expires_at examples: - default: &250 + default: &252 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10504,7 +10506,7 @@ paths: application/json: schema: *68 examples: - default: &251 + default: &253 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10536,7 +10538,7 @@ paths: application/json: schema: *65 examples: - default: &252 + default: &254 value: id: 23 name: MBP @@ -10752,7 +10754,7 @@ paths: - *39 - *64 responses: - '200': &253 + '200': &255 description: Response content: application/json: @@ -10808,7 +10810,7 @@ paths: parameters: - *39 - *64 - - &254 + - &256 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10905,7 +10907,7 @@ paths: required: true content: application/json: - schema: &261 + schema: &263 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11556,7 +11558,7 @@ paths: required: false schema: type: string - - &262 + - &264 name: include description: |- The event types to include: @@ -11574,7 +11576,7 @@ paths: - web - git - all - - &263 + - &265 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -11582,7 +11584,7 @@ paths: required: false schema: type: string - - &264 + - &266 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -11590,7 +11592,7 @@ paths: required: false schema: type: string - - &265 + - &267 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11612,7 +11614,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 type: object properties: "@timestamp": @@ -11734,7 +11736,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &267 + default: &269 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12402,7 +12404,7 @@ paths: application/json: schema: type: array - items: &268 + items: &270 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12574,7 +12576,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &269 + default: &271 value: - id: 21 number: 42 @@ -12679,7 +12681,7 @@ paths: application/json: schema: type: array - items: &271 + items: &273 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12810,7 +12812,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &274 value: - id: 21 number: 42 @@ -12895,7 +12897,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &277 + - &279 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -12905,7 +12907,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &278 + - &280 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -12929,7 +12931,7 @@ paths: be returned. in: query required: false - schema: &279 + schema: &281 type: string description: State of a code scanning alert. enum: @@ -12954,7 +12956,7 @@ paths: application/json: schema: type: array - items: &280 + items: &282 type: object properties: number: &109 @@ -13519,7 +13521,7 @@ paths: - most_recent_instance - repository examples: - default: &281 + default: &283 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14178,7 +14180,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &282 + code_scanning_options: &284 type: - object - 'null' @@ -14376,7 +14378,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &286 type: array description: A list of default code security configurations items: @@ -14392,7 +14394,7 @@ paths: default configuration: *103 examples: - default: &285 + default: &287 value: - default_for_new_repos: public configuration: @@ -14846,7 +14848,7 @@ paths: default: value: default_for_new_repos: all - configuration: &283 + configuration: &285 value: id: 1325 target_type: organization @@ -14931,7 +14933,7 @@ paths: application/json: schema: type: array - items: &286 + items: &288 type: object description: Repositories associated with a code security configuration and attachment status @@ -14955,7 +14957,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &287 + repository: &289 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15456,7 +15458,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &273 + - &275 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -16673,7 +16675,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &294 + - &296 name: state in: query description: |- @@ -16682,7 +16684,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &295 + - &297 name: severity in: query description: |- @@ -16691,7 +16693,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &296 + - &298 name: ecosystem in: query description: |- @@ -16700,14 +16702,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &297 + - &299 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &298 + - &300 name: epss_percentage in: query description: |- @@ -16733,7 +16735,7 @@ paths: type: string enum: - patch - - &299 + - &301 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16743,7 +16745,7 @@ paths: enum: - development - runtime - - &300 + - &302 name: sort in: query description: |- @@ -16761,31 +16763,6 @@ paths: - *99 - *97 - *98 - - &301 - name: first - description: |- - **Deprecated**. The number of results per page (max 100), starting from the first matching result. - This parameter must not be used in combination with `last`. - Instead, use `per_page` in combination with `after` to fetch the first page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - default: 30 - - &302 - name: last - description: |- - **Deprecated**. The number of results per page (max 100), starting from the last matching result. - This parameter must not be used in combination with `first`. - Instead, use `per_page` in combination with `before` to fetch the last page of results. - in: query - required: false - schema: - type: integer - minimum: 1 - maximum: 100 - *17 responses: '200': @@ -20523,7 +20500,7 @@ paths: '404': *6 '503': *163 x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -21006,6 +20983,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - *39 + - name: state + in: query + description: Set to `active` or `deleted` to only list cost centers in a specific + state. + required: false + schema: + type: string + enum: + - active + - deleted responses: '200': description: Response when getting cost centers @@ -21612,8 +21599,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 @@ -21631,7 +21620,7 @@ paths: required: false schema: type: integer - - &213 + - &215 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 @@ -21656,21 +21645,21 @@ paths: required: false schema: type: string - - &214 + - &216 name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &215 + - &217 name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &216 + - &218 name: product description: The product name to query usage for. The name is not case sensitive. in: query @@ -21754,19 +21743,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 @@ -21884,7 +21873,7 @@ paths: parameters: - *39 - *169 - - &217 + - &219 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 @@ -21894,7 +21883,7 @@ paths: schema: type: integer - *170 - - &218 + - &220 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21915,7 +21904,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &219 + schema: &221 type: object properties: usageItems: @@ -21968,7 +21957,7 @@ paths: - netAmount - organizationName examples: - default: &220 + default: &222 value: usageItems: - date: '2023-08-01' @@ -22148,6 +22137,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22426,6 +22427,227 @@ paths: enabledForGitHubApps: false category: enterprise-teams subcategory: enterprise-team-members + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations": + get: + summary: Get organization assignments + description: Get all organizations assigned to an enterprise team + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignments + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignments + parameters: + - *39 + - *176 + - *17 + - *19 + responses: + '200': + description: An array of organizations the team is assigned to + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &180 + value: + login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/add": + post: + summary: Add organization assignments + description: Assign an enterprise team to multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments + parameters: + - *39 + - *176 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to assign the team to. + items: + type: string + description: Organization slug to assign the team to + examples: + default: + value: + organization_slugs: + - github + responses: + '200': + description: Successfully assigned the enterprise team to organizations. + content: + application/json: + schema: + type: array + items: *62 + examples: + default: &214 + value: + - login: github + id: 1 + node_id: MDEyOk9yZ2FuaXphdGlvbjE= + url: https://api.github.com/orgs/github + repos_url: https://api.github.com/orgs/github/repos + events_url: https://api.github.com/orgs/github/events + hooks_url: https://api.github.com/orgs/github/hooks + issues_url: https://api.github.com/orgs/github/issues + members_url: https://api.github.com/orgs/github/members{/member} + public_members_url: https://api.github.com/orgs/github/public_members{/member} + avatar_url: https://github.com/images/error/octocat_happy.gif + description: A great organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/remove": + post: + summary: Remove organization assignments + description: Unassign an enterprise team from multiple organizations. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/bulk-remove + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#remove-organization-assignments + parameters: + - *39 + - *176 + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - organization_slugs + properties: + organization_slugs: + type: array + description: Organization slug to unassign the team from. + items: + type: string + description: Organization slug to unassign the team from + examples: + default: + value: + organization_slugs: + - github + responses: + '204': + description: Successfully unassigned the enterprise team from organizations. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + "/enterprises/{enterprise}/teams/{enterprise-team}/organizations/{org}": + get: + summary: Get organization assignment + description: Check if an enterprise team is assigned to an organization + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/get-assignment + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#get-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '200': + description: The team is assigned to the organization + content: + application/json: + schema: *62 + examples: + default: *180 + '404': + description: The team is not assigned to the organization + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + put: + summary: Add an organization assignment + description: Assign an enterprise team to an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/add + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-an-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '201': + description: Successfully assigned the enterprise team to the organization. + content: + application/json: + schema: *62 + examples: + default: *180 + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations + delete: + summary: Delete an organization assignment + description: Unassign an enterprise team from an organization. + tags: + - enterprise-team-organizations + operationId: enterprise-team-organizations/delete + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#delete-an-organization-assignment + parameters: + - *39 + - *176 + - *76 + responses: + '204': + description: Successfully unassigned the enterprise team from the organization. + x-github: + githubCloudOnly: false + enabledForGitHubApps: false + category: enterprise-teams + subcategory: enterprise-team-organizations "/enterprises/{enterprise}/teams/{team_slug}": get: summary: Get an enterprise team @@ -22441,7 +22663,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &180 + - &181 name: team_slug description: The slug of the team name. in: path @@ -22475,7 +22697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *180 + - *181 requestBody: required: true content: @@ -22503,6 +22725,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -22546,7 +22780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *180 + - *181 responses: '204': description: Response @@ -22645,7 +22879,7 @@ paths: application/json: schema: type: array - items: &208 + items: &209 title: Event description: Event type: object @@ -22656,7 +22890,7 @@ paths: type: - string - 'null' - actor: &181 + actor: &182 title: Actor description: Actor type: object @@ -22697,7 +22931,7 @@ paths: - id - name - url - org: *181 + org: *182 payload: oneOf: - title: CreateEvent @@ -22744,7 +22978,7 @@ paths: properties: action: type: string - discussion: &829 + discussion: &828 title: Discussion description: A Discussion in a repository. type: object @@ -23041,7 +23275,7 @@ paths: - id labels: type: array - items: &182 + items: &183 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -23124,7 +23358,7 @@ paths: properties: action: type: string - issue: &183 + issue: &184 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -23478,7 +23712,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &184 + author_association: &185 title: author_association type: string description: How the author is associated with the @@ -23494,7 +23728,7 @@ paths: - OWNER examples: - OWNER - reactions: &185 + reactions: &186 title: Reaction Rollup type: object properties: @@ -23670,10 +23904,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *183 labels: type: array - items: *182 + items: *183 required: - action - issue @@ -23682,7 +23916,7 @@ paths: properties: action: type: string - issue: *183 + issue: *184 comment: &617 title: Issue Comment description: Comments provide a way for people to collaborate @@ -23733,12 +23967,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *185 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - id - node_id @@ -23917,7 +24151,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 allow_forking: type: boolean is_template: @@ -24008,7 +24242,7 @@ paths: type: string number: type: integer - pull_request: &187 + pull_request: &188 title: Pull Request Minimal type: object properties: @@ -24079,10 +24313,10 @@ paths: assignees: type: array items: *4 - label: *182 + label: *183 labels: type: array - items: *182 + items: *183 required: - action - number @@ -24092,7 +24326,7 @@ paths: properties: action: type: string - pull_request: *187 + pull_request: *188 comment: type: object properties: @@ -24346,7 +24580,7 @@ paths: - pull_request updated_at: type: string - pull_request: *187 + pull_request: *188 required: - action - review @@ -24395,7 +24629,7 @@ paths: updated_at: type: string format: date-time - reactions: *185 + reactions: *186 required: - action - comment @@ -24563,7 +24797,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *185 + reactions: *186 required: - assets_url - upload_url @@ -24746,7 +24980,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &189 title: Link With Type description: Hypermedia Link with Type type: object @@ -24758,17 +24992,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *189 + security_advisories: *189 + current_user: *189 + current_user_public: *189 + current_user_actor: *189 + current_user_organization: *189 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *189 + repository_discussions: *189 + repository_discussions_category: *189 required: - timeline - user @@ -24830,7 +25064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *190 - *17 - *19 responses: @@ -24840,7 +25074,7 @@ paths: application/json: schema: type: array - items: &190 + items: &191 title: Base Gist description: Base Gist type: object @@ -24937,7 +25171,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &192 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -25061,7 +25295,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &193 title: Gist Simple description: Gist Simple type: object @@ -25453,7 +25687,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &194 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -25557,7 +25791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *190 - *17 - *19 responses: @@ -25567,9 +25801,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '422': *15 @@ -25591,7 +25825,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *190 - *17 - *19 responses: @@ -25601,9 +25835,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '401': *23 @@ -25631,7 +25865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &195 name: gist_id description: The unique identifier of the gist. in: path @@ -25643,10 +25877,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - default: *193 - '403': &197 + default: *194 + '403': &198 description: Forbidden Gist content: application/json: @@ -25695,7 +25929,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *195 requestBody: required: true content: @@ -25759,9 +25993,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - updateGist: *193 + updateGist: *194 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -25919,7 +26153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -25948,7 +26182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *195 - *17 - *19 responses: @@ -25958,7 +26192,7 @@ paths: application/json: schema: type: array - items: &195 + items: &196 title: Gist Comment description: A comment made to a gist. type: object @@ -25996,7 +26230,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *184 + author_association: *185 required: - url - id @@ -26061,7 +26295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *195 requestBody: required: true content: @@ -26087,9 +26321,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: &196 + default: &197 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -26147,8 +26381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *195 + - &199 name: comment_id description: The unique identifier of the comment. in: path @@ -26161,12 +26395,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '304': *35 '404': *6 - '403': *197 + '403': *198 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -26188,8 +26422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *195 + - *199 requestBody: required: true content: @@ -26215,9 +26449,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *196 examples: - default: *196 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -26234,8 +26468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *195 + - *199 responses: '204': description: Response @@ -26258,7 +26492,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *195 - *17 - *19 responses: @@ -26359,7 +26593,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *195 - *17 - *19 responses: @@ -26369,7 +26603,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -26434,13 +26668,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *195 responses: '201': description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -26511,7 +26745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *195 responses: '204': description: Response if gist is starred @@ -26541,7 +26775,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -26563,7 +26797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *195 responses: '204': description: Response @@ -26592,7 +26826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *195 - name: sha in: path required: true @@ -26603,9 +26837,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: - default: *193 + default: *194 '422': *15 '404': *6 '403': *27 @@ -26993,7 +27227,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - name: collab in: query required: false @@ -27023,7 +27257,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: &335 value: @@ -27305,7 +27539,7 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: default: value: @@ -27603,7 +27837,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &199 + X-CommonMarker-Version: &200 example: 0.17.4 schema: type: string @@ -27658,7 +27892,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *199 + X-CommonMarker-Version: *200 content: text/html: schema: @@ -27687,7 +27921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &202 + - &203 name: account_id description: account_id parameter in: path @@ -27699,7 +27933,7 @@ paths: description: Response content: application/json: - schema: &201 + schema: &202 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -27733,7 +27967,7 @@ paths: - 'null' id: type: integer - plan: &200 + plan: &201 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -27836,7 +28070,7 @@ paths: - 'null' updated_at: type: string - plan: *200 + plan: *201 required: - url - id @@ -27844,7 +28078,7 @@ paths: - login - marketplace_purchase examples: - default: &203 + default: &204 value: url: https://api.github.com/orgs/github type: Organization @@ -27929,9 +28163,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: &204 + default: &205 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -27971,14 +28205,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &205 + - &206 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &206 + - &207 name: sort description: The property to sort the results by. in: query @@ -28008,9 +28242,9 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: &207 + default: &208 value: - url: https://api.github.com/orgs/github type: Organization @@ -28084,15 +28318,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *202 + - *203 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *203 + default: *204 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -28124,9 +28358,9 @@ paths: application/json: schema: type: array - items: *200 + items: *201 examples: - default: *204 + default: *205 headers: Link: *41 '401': *23 @@ -28149,8 +28383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *205 - *206 + - *207 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -28170,9 +28404,9 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: - default: *207 + default: *208 headers: Link: *41 '401': *23 @@ -28461,7 +28695,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -28545,7 +28779,7 @@ paths: schema: type: boolean default: false - - *189 + - *190 - &647 name: before description: 'Only show notifications updated before the given time. This @@ -28571,14 +28805,14 @@ paths: application/json: schema: type: array - items: &209 + items: &210 title: Thread description: Thread type: object properties: id: type: string - repository: &246 + repository: &248 title: Minimal Repository description: Minimal Repository type: object @@ -29256,7 +29490,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &210 + - &211 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -29270,7 +29504,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *210 examples: default: value: @@ -29373,7 +29607,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *210 + - *211 responses: '205': description: Reset Content @@ -29396,7 +29630,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *210 + - *211 responses: '204': description: No content @@ -29419,13 +29653,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *210 + - *211 responses: '200': description: Response content: application/json: - schema: &211 + schema: &212 title: Thread Subscription description: Thread Subscription type: object @@ -29469,7 +29703,7 @@ paths: - url - subscribed examples: - default: &212 + default: &213 value: subscribed: true ignored: false @@ -29500,7 +29734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *210 + - *211 requestBody: required: false content: @@ -29521,9 +29755,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *212 + default: *213 '304': *35 '403': *27 '401': *23 @@ -29546,7 +29780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *210 + - *211 responses: '204': description: Response @@ -29643,20 +29877,7 @@ paths: type: array items: *62 examples: - default: &781 - value: - - login: github - id: 1 - node_id: MDEyOk9yZ2FuaXphdGlvbjE= - url: https://api.github.com/orgs/github - repos_url: https://api.github.com/orgs/github/repos - events_url: https://api.github.com/orgs/github/events - hooks_url: https://api.github.com/orgs/github/hooks - issues_url: https://api.github.com/orgs/github/issues - members_url: https://api.github.com/orgs/github/members{/member} - public_members_url: https://api.github.com/orgs/github/public_members{/member} - avatar_url: https://github.com/images/error/octocat_happy.gif - description: A great organization + default: *214 headers: Link: example: ; rel="next" @@ -29708,7 +29929,7 @@ paths: - 3 custom_roles: type: array - items: &289 + items: &291 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -29757,7 +29978,7 @@ paths: - created_at - updated_at examples: - default: &290 + default: &292 value: id: 8030 name: Security Engineer @@ -30058,9 +30279,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 @@ -30070,11 +30292,11 @@ paths: parameters: - *76 - *169 - - *213 - - *170 - - *214 - *215 + - *170 - *216 + - *217 + - *218 responses: '200': description: Response when getting a billing premium request usage report @@ -30130,19 +30352,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 @@ -30207,17 +30429,17 @@ paths: parameters: - *76 - *169 - - *217 + - *219 - *170 - - *218 + - *220 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *219 + schema: *221 examples: - default: *220 + default: *222 '400': *14 '403': *27 '500': *38 @@ -30253,7 +30475,7 @@ paths: description: Response content: application/json: - schema: &221 + schema: &223 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -30663,7 +30885,7 @@ paths: - updated_at - archived_at examples: - default-response: &222 + default-response: &224 value: login: github id: 1 @@ -30989,17 +31211,17 @@ paths: description: Response content: application/json: - schema: *221 + schema: *223 examples: - default: *222 + default: *224 '422': description: Validation failed content: application/json: schema: oneOf: - - *223 - - *224 + - *225 + - *226 '409': *107 x-github: githubCloudOnly: false @@ -31054,9 +31276,9 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *226 + default: *228 headers: Link: *41 x-github: @@ -31175,7 +31397,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *229 headers: Link: *41 x-github: @@ -31359,9 +31581,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *230 examples: - default: *229 + default: *231 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31397,7 +31619,7 @@ paths: type: array items: *45 examples: - default: *230 + default: *232 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31580,7 +31802,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &231 + schema: &233 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -31594,7 +31816,7 @@ paths: required: - include_claim_keys examples: - default: &232 + default: &234 value: include_claim_keys: - repo @@ -31621,15 +31843,15 @@ paths: required: true content: application/json: - schema: *231 + schema: *233 examples: - default: *232 + default: *234 responses: '201': description: Empty response content: application/json: - schema: &257 + schema: &259 title: Empty Object description: An object without any properties. type: object @@ -31668,7 +31890,7 @@ paths: schema: type: object properties: - enabled_repositories: &234 + enabled_repositories: &236 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -31682,7 +31904,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *235 sha_pinning_required: *50 required: - enabled_repositories @@ -31724,7 +31946,7 @@ paths: schema: type: object properties: - enabled_repositories: *234 + enabled_repositories: *236 allowed_actions: *49 sha_pinning_required: *50 required: @@ -31760,7 +31982,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: response: summary: Example response @@ -31791,7 +32013,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *238 examples: application/json: value: @@ -31829,7 +32051,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *239 '404': *6 x-github: enabledForGitHubApps: true @@ -31886,7 +32108,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: *52 '403': *27 @@ -31911,7 +32133,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *241 examples: default: *52 responses: @@ -31963,7 +32185,7 @@ paths: type: array items: *67 examples: - default: &241 + default: &243 value: total_count: 1 repositories: @@ -32148,7 +32370,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &240 + - &242 name: repository_id description: The unique identifier of the repository. in: path @@ -32177,7 +32399,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -32373,7 +32595,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *243 '403': *27 '404': *6 x-github: @@ -32442,7 +32664,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: No content @@ -32469,7 +32691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: No content @@ -32503,7 +32725,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: default: *58 x-github: @@ -32537,7 +32759,7 @@ paths: required: false content: application/json: - schema: *243 + schema: *245 examples: default: *58 x-github: @@ -32584,7 +32806,7 @@ paths: type: number runner_groups: type: array - items: &244 + items: &246 type: object properties: id: @@ -32774,9 +32996,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: &245 + default: &247 value: id: 2 name: octo-runner-group @@ -32818,7 +33040,7 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: default: value: @@ -32911,9 +33133,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *246 examples: - default: *245 + default: *247 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -32977,7 +33199,7 @@ paths: type: array items: *42 examples: - default: *227 + default: *229 headers: Link: *41 x-github: @@ -33018,7 +33240,7 @@ paths: type: number repositories: type: array - items: *246 + items: *248 examples: default: &768 value: @@ -33319,7 +33541,7 @@ paths: parameters: - *76 - *61 - - *240 + - *242 responses: '204': description: Response @@ -33343,7 +33565,7 @@ paths: parameters: - *76 - *61 - - *240 + - *242 responses: '204': description: Response @@ -33561,9 +33783,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33628,7 +33850,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *251 '404': *6 '422': *7 '409': *107 @@ -33667,7 +33889,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33703,7 +33925,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33734,7 +33956,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33909,7 +34131,7 @@ paths: - *76 - *64 responses: - '200': *253 + '200': *255 '404': *6 x-github: githubCloudOnly: false @@ -33938,7 +34160,7 @@ paths: parameters: - *76 - *64 - - *254 + - *256 responses: '200': *70 '404': *6 @@ -33983,7 +34205,7 @@ paths: type: integer secrets: type: array - items: &255 + items: &257 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -34125,7 +34347,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &256 + - &258 name: secret_name description: The name of the secret. in: path @@ -34137,7 +34359,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -34168,7 +34390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -34225,7 +34447,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -34252,7 +34474,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -34279,7 +34501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -34297,9 +34519,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: &260 + default: &262 value: total_count: 1 repositories: @@ -34392,7 +34614,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -34445,7 +34667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -34479,7 +34701,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -34536,7 +34758,7 @@ paths: type: integer variables: type: array - items: &258 + items: &260 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -34674,7 +34896,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -34700,7 +34922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &259 + - &261 name: name description: The name of the variable. in: path @@ -34712,7 +34934,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *260 examples: default: value: @@ -34743,7 +34965,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *259 + - *261 requestBody: required: true content: @@ -34806,7 +35028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *259 + - *261 responses: '204': description: Response @@ -34833,7 +35055,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *261 - *19 - *17 responses: @@ -34851,9 +35073,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 '409': description: Response when the visibility of the variable is not set to `selected` @@ -34880,7 +35102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *259 + - *261 requestBody: required: true content: @@ -34930,7 +35152,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *259 + - *261 - name: repository_id in: path required: true @@ -34965,7 +35187,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *259 + - *261 - name: repository_id in: path required: true @@ -35023,7 +35245,7 @@ paths: required: true content: application/json: - schema: *261 + schema: *263 examples: default: *74 parameters: @@ -35325,12 +35547,12 @@ paths: required: - subject_digests examples: - default: &796 + default: &795 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &797 + withPredicateType: &796 value: subject_digests: - sha256:abc123 @@ -35389,7 +35611,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &798 + default: &797 value: attestations_subject_digests: - sha256:abc: @@ -35582,6 +35804,57 @@ paths: enabledForGitHubApps: true category: orgs subcategory: attestations + "/orgs/{org}/attestations/repositories": + get: + summary: List attestation repositories + description: |- + List repositories owned by the provided organization that have created at least one attested artifact + Results will be sorted in ascending order by repository ID + tags: + - orgs + operationId: orgs/list-attestation-repositories + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#list-attestation-repositories + parameters: + - *17 + - *97 + - *98 + - *76 + - name: predicate_type + description: |- + Optional filter for fetching attestations with a given predicate type. + This option accepts `provenance`, `sbom`, or freeform text for custom predicate types. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: integer + name: + type: string + examples: + default: + value: + - id: 123 + name: foo + - id: 456 + name: bar + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: orgs + subcategory: attestations "/orgs/{org}/attestations/{attestation_id}": delete: summary: Delete attestations by ID @@ -35811,10 +36084,10 @@ paths: required: false schema: type: string - - *262 - - *263 - *264 - *265 + - *266 + - *267 - *17 responses: '200': @@ -35823,9 +36096,9 @@ paths: application/json: schema: type: array - items: *266 + items: *268 examples: - default: *267 + default: *269 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -35948,7 +36221,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &270 + - &272 name: repository_name description: The name of the repository to filter on. in: query @@ -35967,9 +36240,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -35993,7 +36266,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *270 + - *272 - *92 - *93 - *94 @@ -36007,9 +36280,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -36036,7 +36309,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &274 + schema: &276 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -36062,7 +36335,7 @@ paths: application/json: schema: type: array - items: &275 + items: &277 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -36093,7 +36366,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *273 + items: *275 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -36112,7 +36385,7 @@ paths: - string - 'null' format: date-time - state: *274 + state: *276 contact_link: description: The contact link of the campaign. type: @@ -36329,9 +36602,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: &276 + default: &278 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -36414,9 +36687,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '404': *6 '422': description: Unprocessable Entity @@ -36494,7 +36767,7 @@ paths: - string - 'null' format: uri - state: *274 + state: *276 examples: default: value: @@ -36504,9 +36777,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '400': description: Bad Request content: @@ -36573,8 +36846,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *277 - - *278 + - *279 + - *280 - *97 - *98 - *19 @@ -36585,7 +36858,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *281 - name: sort description: The property by which to sort the results. in: query @@ -36619,9 +36892,9 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: - default: *281 + default: *283 headers: Link: *41 '404': *6 @@ -36836,7 +37109,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *282 + code_scanning_options: *284 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -36979,7 +37252,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37007,9 +37280,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *286 examples: - default: *285 + default: *287 '304': *35 '403': *27 '404': *6 @@ -37096,7 +37369,7 @@ paths: application/json: schema: *103 examples: - default: *283 + default: *285 '304': *35 '403': *27 '404': *6 @@ -37518,7 +37791,7 @@ paths: default: value: default_for_new_repos: all - configuration: *283 + configuration: *285 '403': *27 '404': *6 x-github: @@ -37571,13 +37844,13 @@ paths: application/json: schema: type: array - items: *286 + items: *288 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *287 + repository: *289 '403': *27 '404': *6 x-github: @@ -37648,7 +37921,7 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *246 + repository: *248 machine: anyOf: - type: 'null' @@ -38563,7 +38836,7 @@ paths: type: integer secrets: type: array - items: &288 + items: &290 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -38701,13 +38974,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '200': description: Response content: application/json: - schema: *288 + schema: *290 examples: default: &542 value: @@ -38737,7 +39010,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -38792,7 +39065,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -38819,7 +39092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -38845,7 +39118,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -38863,9 +39136,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 '404': *6 x-github: githubCloudOnly: false @@ -38888,7 +39161,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -38939,7 +39212,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -38973,7 +39246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -39796,7 +40069,7 @@ paths: - 3 custom_roles: type: array - items: *289 + items: *291 examples: default: value: @@ -39888,7 +40161,7 @@ paths: required: true content: application/json: - schema: &292 + schema: &294 type: object properties: name: @@ -39930,9 +40203,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -39957,7 +40230,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &291 + - &293 name: role_id description: The unique identifier of the role. in: path @@ -39969,9 +40242,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 x-github: githubCloudOnly: true @@ -39994,12 +40267,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: application/json: - schema: &293 + schema: &295 type: object properties: name: @@ -40038,9 +40311,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40065,7 +40338,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -40098,7 +40371,7 @@ paths: required: true content: application/json: - schema: *292 + schema: *294 examples: default: value: @@ -40112,9 +40385,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40145,15 +40418,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *291 + - *293 responses: '200': description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '404': *6 x-github: githubCloudOnly: true @@ -40182,12 +40455,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -40202,9 +40475,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - default: *290 + default: *292 '422': *15 '404': *6 x-github: @@ -40235,7 +40508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -40264,11 +40537,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *294 - - *295 - *296 - *297 - *298 + - *299 + - *300 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -40306,13 +40579,11 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *299 - - *300 + - *301 + - *302 - *99 - *97 - *98 - - *301 - - *302 - *17 responses: '200': @@ -40489,7 +40760,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '200': description: Response @@ -40524,7 +40795,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -40583,7 +40854,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -40608,7 +40879,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -40633,7 +40904,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 - *19 - *17 responses: @@ -40651,9 +40922,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40675,7 +40946,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -40726,7 +40997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -40758,7 +41029,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *256 + - *258 - name: repository_id in: path required: true @@ -40842,7 +41113,7 @@ paths: - denied - all default: all - - *270 + - *272 - *17 - *19 responses: @@ -41102,7 +41373,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *270 + - *272 - *92 - *93 - *94 @@ -41400,7 +41671,7 @@ paths: repository: anyOf: - type: 'null' - - *246 + - *248 created_at: type: string format: date-time @@ -41506,7 +41777,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: 200-response: value: @@ -43639,7 +43910,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: &345 value: @@ -43972,7 +44243,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -43982,7 +44253,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *335 headers: @@ -45511,7 +45782,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: &352 value: @@ -45983,7 +46254,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -46009,8 +46280,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *180 - - *291 + - *181 + - *293 responses: '204': description: Response @@ -46040,8 +46311,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *180 - - *291 + - *181 + - *293 responses: '204': description: Response @@ -46094,7 +46365,7 @@ paths: parameters: - *76 - *178 - - *291 + - *293 responses: '204': description: Response @@ -46126,7 +46397,7 @@ paths: parameters: - *76 - *178 - - *291 + - *293 responses: '204': description: Response @@ -46155,7 +46426,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *291 + - *293 responses: '200': description: Response @@ -46219,7 +46490,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *291 + - *293 requestBody: required: true content: @@ -46312,7 +46583,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *291 + - *293 responses: '204': description: Response @@ -46338,7 +46609,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *293 - *17 - *19 responses: @@ -46480,7 +46751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *291 + - *293 - *17 - *19 responses: @@ -46819,7 +47090,7 @@ paths: - nuget - container - *76 - - &782 + - &781 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -46860,7 +47131,7 @@ paths: default: *347 '403': *27 '401': *23 - '400': &784 + '400': &783 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -47687,7 +47958,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -48004,7 +48275,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -48399,7 +48670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 responses: '200': description: The specified private registry configuration for the organization @@ -48429,7 +48700,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 requestBody: required: true content: @@ -48526,7 +48797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *256 + - *258 responses: '204': description: Response @@ -48909,7 +49180,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &857 + - &856 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -49340,7 +49611,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - *365 - - &801 + - &800 name: field_id description: The unique identifier of the field. in: path @@ -49388,8 +49659,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -49397,8 +49670,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - *97 - *98 - *17 @@ -50215,7 +50486,7 @@ paths: description: Response content: application/json: - schema: &802 + schema: &801 title: Projects v2 Item description: An item belonging to a project type: object @@ -50228,7 +50499,7 @@ paths: description: The node ID of the project item. content: oneOf: - - *183 + - *184 - &549 title: Pull Request Simple description: Pull Request Simple @@ -50404,7 +50675,7 @@ paths: type: - array - 'null' - items: *273 + items: *275 head: type: object properties: @@ -50473,7 +50744,7 @@ paths: - review_comments - review_comment - self - author_association: *184 + author_association: *185 auto_merge: &655 title: Auto merge description: The status of auto merging a pull request. @@ -51390,7 +51661,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -52042,7 +52313,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 organization: anyOf: - type: 'null' @@ -52953,7 +53224,7 @@ paths: schema: type: string x-multi-segment: true - - *270 + - *272 - *94 - &681 name: actor_name @@ -54040,7 +54311,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *273 + items: *275 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -54491,7 +54762,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -54517,7 +54788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -54795,9 +55066,9 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: - default: *260 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54866,7 +55137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -54889,7 +55160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *76 - - *240 + - *242 responses: '204': description: Response @@ -55277,7 +55548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *180 + - *181 - 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`). @@ -55343,7 +55614,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 headers: @@ -55909,7 +56180,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *180 + - *181 responses: '200': description: Response @@ -55939,7 +56210,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *180 + - *181 requestBody: required: false content: @@ -56037,7 +56308,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -56064,7 +56335,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *180 + - *181 - *99 - *17 - *19 @@ -56172,7 +56443,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *185 + reactions: *186 required: - author - body @@ -56267,7 +56538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -56376,7 +56647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *180 + - *181 - &415 name: discussion_number description: The number that identifies the discussion. @@ -56414,7 +56685,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *180 + - *181 - *415 requestBody: required: false @@ -56511,7 +56782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *180 + - *181 - *415 responses: '204': @@ -56539,7 +56810,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *180 + - *181 - *415 - *99 - *17 @@ -56616,7 +56887,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *185 + reactions: *186 required: - author - body @@ -56700,7 +56971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 requestBody: required: true @@ -56792,7 +57063,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - &418 name: comment_number @@ -56831,7 +57102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 requestBody: @@ -56922,7 +57193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 responses: @@ -56951,7 +57222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 - name: content @@ -57074,7 +57345,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *180 + - *181 - *415 - *418 requestBody: @@ -57166,7 +57437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *180 + - *181 - *415 - *418 - &422 @@ -57202,7 +57473,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *180 + - *181 - *415 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -57258,7 +57529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *180 + - *181 - *415 requestBody: required: true @@ -57324,7 +57595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *180 + - *181 - *415 - *422 responses: @@ -57350,7 +57621,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: - *76 - - *180 + - *181 responses: '200': description: Response @@ -57378,7 +57649,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -57424,7 +57695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *180 + - *181 responses: '204': description: Response @@ -57449,7 +57720,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -57484,7 +57755,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *180 + - *181 - name: role description: Filters members returned by their role in the team. in: query @@ -57538,7 +57809,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 responses: '200': @@ -57610,7 +57881,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 requestBody: required: false @@ -57674,7 +57945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 - - *180 + - *181 - *178 responses: '204': @@ -57701,7 +57972,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -57844,7 +58115,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *180 + - *181 - &429 name: project_id description: The unique identifier of the project. @@ -57922,7 +58193,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *180 + - *181 - *429 requestBody: required: false @@ -57991,7 +58262,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *180 + - *181 - *429 responses: '204': @@ -58020,7 +58291,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -58030,7 +58301,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -58062,7 +58333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *180 + - *181 - *430 - *431 responses: @@ -58096,7 +58367,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 forks: type: integer permissions: @@ -58712,7 +58983,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *180 + - *181 - *430 - *431 requestBody: @@ -58760,7 +59031,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *180 + - *181 - *430 - *431 responses: @@ -58789,7 +59060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *180 + - *181 responses: '200': description: Response @@ -58820,7 +59091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *180 + - *181 requestBody: required: true content: @@ -58896,7 +59167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *180 + - *181 - *17 - *19 responses: @@ -58906,7 +59177,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: response-if-child-teams-exist: &764 value: @@ -59712,8 +59983,8 @@ paths: application/json: schema: oneOf: - - *223 - - *224 + - *225 + - *226 '503': description: Response content: @@ -62316,7 +62587,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -62426,7 +62697,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -62628,7 +62899,7 @@ paths: type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *233 + selected_actions_url: *235 sha_pinning_required: *50 required: - enabled @@ -62793,7 +63064,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: default: value: @@ -62828,7 +63099,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *238 examples: default: summary: Set retention days @@ -62861,7 +63132,7 @@ paths: application/json: schema: *51 examples: - default: *237 + default: *239 '404': *6 x-github: enabledForGitHubApps: true @@ -62922,7 +63193,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *240 examples: default: *52 '403': *27 @@ -62950,7 +63221,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *241 examples: default: *52 responses: @@ -63048,7 +63319,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: default: *58 x-github: @@ -63083,7 +63354,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *245 examples: default: *58 x-github: @@ -63166,9 +63437,9 @@ paths: application/json: schema: type: array - items: *247 + items: *249 examples: - default: *248 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63234,7 +63505,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *249 + '201': *251 '404': *6 '422': *7 '409': *107 @@ -63274,7 +63545,7 @@ paths: application/json: schema: *68 examples: - default: *250 + default: *252 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63311,7 +63582,7 @@ paths: application/json: schema: *68 examples: - default: *251 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63343,7 +63614,7 @@ paths: application/json: schema: *65 examples: - default: *252 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63523,7 +63794,7 @@ paths: - *431 - *64 responses: - '200': *253 + '200': *255 '404': *6 x-github: githubCloudOnly: false @@ -63553,7 +63824,7 @@ paths: - *430 - *431 - *64 - - *254 + - *256 responses: '200': *70 '404': *6 @@ -63799,7 +64070,7 @@ paths: type: - array - 'null' - items: *187 + items: *188 created_at: type: string format: date-time @@ -63934,8 +64205,8 @@ paths: - timestamp - author - committer - repository: *246 - head_repository: *246 + repository: *248 + head_repository: *248 head_repository_id: type: integer examples: @@ -64632,7 +64903,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -64922,7 +65193,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65026,7 +65297,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65252,7 +65523,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *275 required: - environment - wait_timer @@ -65571,7 +65842,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65618,7 +65889,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65869,7 +66140,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -65905,7 +66176,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -65936,7 +66207,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -65964,7 +66235,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -66061,7 +66332,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -66088,7 +66359,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 responses: '200': description: Response @@ -66124,7 +66395,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 requestBody: required: true content: @@ -66168,7 +66439,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 responses: '204': description: Response @@ -67467,7 +67738,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *273 + items: *275 apps: description: The list of apps with review dismissal access. @@ -67499,7 +67770,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *273 + items: *275 apps: description: The list of apps allowed to bypass pull request requirements. @@ -67592,7 +67863,7 @@ paths: type: string teams: type: array - items: *273 + items: *275 apps: type: array items: @@ -67965,14 +68236,14 @@ paths: author: oneOf: - *4 - - *257 + - *259 type: - 'null' - object committer: oneOf: - *4 - - *257 + - *259 type: - 'null' - object @@ -68781,7 +69052,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 apps: type: array items: *5 @@ -68799,7 +69070,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 apps: type: array items: *5 @@ -70188,7 +70459,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '404': *6 @@ -70248,7 +70519,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70309,7 +70580,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70369,7 +70640,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 '422': *15 @@ -70764,9 +71035,9 @@ paths: application/json: schema: type: array - items: *268 + items: *270 examples: - default: *269 + default: *271 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -70801,7 +71072,7 @@ paths: description: Response content: application/json: - schema: *268 + schema: *270 examples: default: value: @@ -70875,9 +71146,9 @@ paths: application/json: schema: type: array - items: *271 + items: *273 examples: - default: *272 + default: *274 '404': *6 '403': *27 '500': *38 @@ -70914,7 +71185,7 @@ paths: description: A single bypass request. content: application/json: - schema: *271 + schema: *273 examples: default: value: @@ -71493,8 +71764,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *187 - deployment: &818 + items: *188 + deployment: &817 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72281,7 +72552,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -72424,12 +72695,12 @@ paths: type: - array - 'null' - items: *187 + items: *188 app: anyOf: - type: 'null' - *5 - repository: *246 + repository: *248 created_at: type: - string @@ -72842,7 +73113,7 @@ paths: required: - app_id - setting - repository: *246 + repository: *248 examples: default: value: @@ -73290,7 +73561,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -73319,8 +73590,8 @@ paths: parameters: - *430 - *431 - - *277 - - *278 + - *279 + - *280 - *19 - *17 - &522 @@ -73356,7 +73627,7 @@ paths: be returned. in: query required: false - schema: *279 + schema: *281 - name: severity description: If specified, only code scanning alerts with this severity will be returned. @@ -74185,8 +74456,8 @@ paths: parameters: - *430 - *431 - - *277 - - *278 + - *279 + - *280 - *19 - *17 - *523 @@ -75697,7 +75968,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -77000,7 +77271,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -77030,7 +77301,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -77058,7 +77329,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -77084,7 +77355,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -77432,7 +77703,7 @@ paths: format: int64 examples: - 42 - repository: *246 + repository: *248 invitee: anyOf: - type: 'null' @@ -77608,7 +77879,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *223 + schema: *225 '403': *27 x-github: triggersNotification: true @@ -77809,8 +78080,8 @@ paths: updated_at: type: string format: date-time - author_association: *184 - reactions: *185 + author_association: *185 + reactions: *186 required: - url - html_url @@ -77887,7 +78158,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -77954,7 +78225,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -78029,7 +78300,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -78052,7 +78323,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -78103,7 +78374,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -78168,7 +78439,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -79605,7 +79876,7 @@ paths: type: string total_count: type: integer - repository: *246 + repository: *248 commit_url: type: string format: uri @@ -79911,7 +80182,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 contributing: anyOf: - type: 'null' @@ -81623,29 +81894,21 @@ paths: parameters: - *430 - *431 - - *294 - - *295 - *296 - *297 + - *298 + - *299 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *298 - - *560 - - *299 - *300 + - *560 + - *301 + - *302 - *99 - - name: page - description: "**Closing down notice**. Page number of the results to fetch. - Use cursor-based pagination with `before` or `after` instead." - deprecated: true - in: query - schema: - type: integer - default: 1 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -81656,8 +81919,6 @@ paths: default: 30 - *97 - *98 - - *301 - - *302 responses: '200': description: Response @@ -82386,7 +82647,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '200': description: Response @@ -82420,7 +82681,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 requestBody: required: true content: @@ -82448,7 +82709,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -82474,7 +82735,7 @@ paths: parameters: - *430 - *431 - - *256 + - *258 responses: '204': description: Response @@ -84462,7 +84723,7 @@ paths: reviewer: anyOf: - *4 - - *273 + - *275 required: - id - node_id @@ -85517,7 +85778,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 responses: '200': description: Response @@ -85550,7 +85811,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 requestBody: required: true content: @@ -85581,7 +85842,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -85610,7 +85871,7 @@ paths: - *430 - *431 - *585 - - *256 + - *258 responses: '204': description: Default response @@ -85709,7 +85970,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -85737,7 +85998,7 @@ paths: - *430 - *431 - *585 - - *259 + - *261 responses: '200': description: Response @@ -85768,7 +86029,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 - *585 requestBody: required: true @@ -85813,7 +86074,7 @@ paths: parameters: - *430 - *431 - - *259 + - *261 - *585 responses: '204': @@ -85847,7 +86108,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: 200-response: value: @@ -85928,7 +86189,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -86182,7 +86443,7 @@ paths: application/json: schema: oneOf: - - *223 + - *225 - *598 x-github: githubCloudOnly: false @@ -87589,7 +87850,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &849 + last_response: &848 title: Hook Response type: object properties: @@ -88657,7 +88918,7 @@ paths: parameters: - *430 - *431 - - &793 + - &792 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -89091,7 +89352,7 @@ paths: type: array items: *616 examples: - default: &786 + default: &785 value: - id: 1 repository: @@ -89479,7 +89740,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -89489,7 +89750,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: &623 value: @@ -89759,7 +90020,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: &620 value: @@ -89947,7 +90208,7 @@ paths: parameters: - *430 - *431 - - *206 + - *207 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -89957,7 +90218,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -90029,7 +90290,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -90093,7 +90354,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -90137,7 +90398,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -90159,7 +90420,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -90210,7 +90471,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -90275,7 +90536,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -90354,7 +90615,7 @@ paths: issue: anyOf: - type: 'null' - - *183 + - *184 label: title: Issue Event Label description: Issue Event Label @@ -90387,7 +90648,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *273 + requested_team: *275 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90454,7 +90715,7 @@ paths: required: - from - to - author_association: *184 + author_association: *185 lock_reason: type: - string @@ -90899,7 +91160,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -91050,7 +91311,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '422': *15 @@ -91104,7 +91365,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 x-github: @@ -91149,7 +91410,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 x-github: @@ -91218,7 +91479,7 @@ paths: - *430 - *431 - *621 - - *189 + - *190 - *17 - *19 responses: @@ -91336,7 +91597,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -91395,7 +91656,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -91450,7 +91711,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -91496,7 +91757,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -91883,7 +92144,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -91925,7 +92186,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *273 + requested_team: *275 requested_reviewer: *4 required: - review_requester @@ -92344,7 +92605,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: &624 value: @@ -92444,7 +92705,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 '301': *444 @@ -92528,7 +92789,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 '301': *444 @@ -92592,7 +92853,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: value: @@ -92714,7 +92975,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '301': *444 @@ -92909,7 +93170,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -92956,7 +93217,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *623 headers: @@ -93019,7 +93280,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 headers: @@ -93081,7 +93342,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *184 examples: default: *620 '403': *27 @@ -93182,12 +93443,12 @@ paths: issue_url: type: string format: uri - author_association: *184 + author_association: *185 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - event - actor @@ -93218,7 +93479,7 @@ paths: properties: type: type: string - issue: *183 + issue: *184 required: - event - created_at @@ -93440,7 +93701,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *185 required: - event - id @@ -93568,7 +93829,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *185 _links: type: object properties: @@ -93663,7 +93924,7 @@ paths: enum: - line - file - reactions: *185 + reactions: *186 body_html: type: string examples: @@ -94212,7 +94473,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 headers: @@ -94272,7 +94533,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: &641 value: @@ -94318,7 +94579,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: *641 '404': *6 @@ -94377,7 +94638,7 @@ paths: description: Response content: application/json: - schema: *182 + schema: *183 examples: default: value: @@ -94591,7 +94852,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 required: - _links - git_url @@ -95126,7 +95387,7 @@ paths: application/json: schema: type: array - items: *182 + items: *183 examples: default: *624 headers: @@ -95151,7 +95412,7 @@ paths: - *431 - *645 - *646 - - *189 + - *190 - *647 - *17 - *19 @@ -95162,7 +95423,7 @@ paths: application/json: schema: type: array - items: *209 + items: *210 examples: default: *648 headers: @@ -96365,7 +96626,7 @@ paths: description: Empty response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -97122,7 +97383,7 @@ paths: - review_comments - review_comment - self - author_association: *184 + author_association: *185 auto_merge: *655 draft: description: Indicates whether or not the pull request is a draft. @@ -97772,7 +98033,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -97863,7 +98124,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '200': description: Response @@ -97948,7 +98209,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -97990,7 +98251,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 responses: '204': description: Response @@ -98013,7 +98274,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - 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. @@ -98064,7 +98325,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 requestBody: required: true content: @@ -98129,7 +98390,7 @@ paths: parameters: - *430 - *431 - - *198 + - *199 - *422 responses: '204': @@ -98399,7 +98660,7 @@ paths: - *430 - *431 - *660 - - *206 + - *207 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -98409,7 +98670,7 @@ paths: enum: - asc - desc - - *189 + - *190 - *17 - *19 responses: @@ -98653,7 +98914,7 @@ paths: - *430 - *431 - *660 - - *198 + - *199 requestBody: required: true content: @@ -99012,7 +99273,7 @@ paths: items: *4 teams: type: array - items: *273 + items: *275 required: - users - teams @@ -100273,7 +100534,7 @@ paths: type: string body_text: type: string - author_association: *184 + author_association: *185 required: - id - node_id @@ -100811,7 +101072,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *184 + author_association: *185 _links: type: object properties: @@ -100826,7 +101087,7 @@ paths: type: string body_html: type: string - reactions: *185 + reactions: *186 side: description: The side of the first line of the range for a multi-line comment. @@ -103453,7 +103714,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &869 + items: &868 type: object properties: type: @@ -103647,6 +103908,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 @@ -104731,7 +104995,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *223 + schema: *225 examples: invalid_state_transition: value: @@ -105929,7 +106193,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: *345 headers: @@ -106466,7 +106730,7 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: default: value: @@ -106914,7 +107178,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -109173,7 +109437,7 @@ paths: html_url: type: string format: uri - repository: *246 + repository: *248 score: type: number file_size: @@ -109471,7 +109735,7 @@ paths: type: string sha: type: string - repository: *246 + repository: *248 score: type: number node_id: @@ -109836,7 +110100,7 @@ paths: type: string score: type: number - author_association: *184 + author_association: *185 draft: type: boolean repository: *67 @@ -109852,7 +110116,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *185 + reactions: *186 required: - assignee - closed_at @@ -110371,7 +110635,7 @@ paths: license: anyOf: - type: 'null' - - *186 + - *187 permissions: type: object properties: @@ -112441,7 +112705,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -112852,7 +113116,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: response-if-child-teams-exist: *764 headers: @@ -113809,7 +114073,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: - - *256 + - *258 responses: '200': description: Response @@ -113845,7 +114109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *256 + - *258 requestBody: required: true content: @@ -113890,7 +114154,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -113918,7 +114182,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *256 + - *258 responses: '204': description: Response @@ -113943,7 +114207,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *256 + - *258 responses: '200': description: Response @@ -113959,7 +114223,7 @@ paths: type: integer repositories: type: array - items: *246 + items: *248 examples: default: *768 '401': *23 @@ -113986,7 +114250,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *256 + - *258 requestBody: required: true content: @@ -114040,7 +114304,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *256 + - *258 - name: repository_id in: path required: true @@ -114073,7 +114337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *256 + - *258 - name: repository_id in: path required: true @@ -115333,7 +115597,7 @@ paths: type: array items: *346 examples: - default: &783 + default: &782 value: - id: 197 name: hello_docker @@ -115506,7 +115770,7 @@ paths: type: array items: *772 examples: - default: &785 + default: &784 value: - email: octocat@github.com verified: true @@ -115986,7 +116250,7 @@ paths: - subkeys - revoked examples: - default: &799 + default: &798 value: - id: 3 name: Octocat's GPG Key @@ -116358,7 +116622,7 @@ paths: type: array items: *67 examples: - default: *241 + default: *243 headers: Link: *41 '404': *6 @@ -116383,7 +116647,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *240 + - *242 responses: '204': description: Response @@ -116409,7 +116673,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *240 + - *242 responses: '204': description: Response @@ -116577,7 +116841,7 @@ paths: - comments default: created - *99 - - *189 + - *190 - *17 - *19 responses: @@ -116587,7 +116851,7 @@ paths: application/json: schema: type: array - items: *183 + items: *184 examples: default: *335 headers: @@ -116892,7 +117156,7 @@ paths: - id - type - login - plan: *200 + plan: *201 required: - billing_cycle - next_billing_date @@ -118005,7 +118269,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -118044,7 +118308,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *214 headers: Link: *41 '304': *35 @@ -118086,7 +118350,7 @@ paths: - docker - nuget - container - - *782 + - *781 - *19 - *17 responses: @@ -118098,8 +118362,8 @@ paths: type: array items: *346 examples: - default: *783 - '400': *784 + default: *782 + '400': *783 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118128,7 +118392,7 @@ paths: application/json: schema: *346 examples: - default: &800 + default: &799 value: id: 40201 name: octo-name @@ -118585,7 +118849,7 @@ paths: type: array items: *772 examples: - default: *785 + default: *784 headers: Link: *41 '304': *35 @@ -118698,7 +118962,7 @@ paths: type: array items: *67 examples: - default: &792 + default: &791 summary: Default response value: - id: 1296269 @@ -119058,7 +119322,7 @@ paths: type: array items: *616 examples: - default: *786 + default: *785 headers: Link: *41 '304': *35 @@ -119137,7 +119401,7 @@ paths: application/json: schema: type: array - items: &787 + items: &786 title: Social account description: Social media account type: object @@ -119154,7 +119418,7 @@ paths: - provider - url examples: - default: &788 + default: &787 value: - provider: twitter url: https://twitter.com/github @@ -119217,9 +119481,9 @@ paths: application/json: schema: type: array - items: *787 + items: *786 examples: - default: *788 + default: *787 '422': *15 '304': *35 '404': *6 @@ -119307,7 +119571,7 @@ paths: application/json: schema: type: array - items: &789 + items: &788 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119327,7 +119591,7 @@ paths: - title - created_at examples: - default: &803 + default: &802 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119394,9 +119658,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *788 examples: - default: &790 + default: &789 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119427,7 +119691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &791 + - &790 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119439,9 +119703,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *788 examples: - default: *790 + default: *789 '404': *6 '304': *35 '403': *27 @@ -119464,7 +119728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *791 + - *790 responses: '204': description: Response @@ -119493,7 +119757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &804 + - &803 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -119518,11 +119782,11 @@ paths: type: array items: *67 examples: - default-response: *792 + default-response: *791 application/vnd.github.v3.star+json: schema: type: array - items: &805 + items: &804 title: Starred Repository description: Starred Repository type: object @@ -119766,7 +120030,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -119883,7 +120147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *202 + - *203 responses: '200': description: Response @@ -119894,7 +120158,7 @@ paths: - *766 - *765 examples: - default-response: &794 + default-response: &793 summary: Default response value: login: octocat @@ -119929,7 +120193,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &795 + response-with-git-hub-plan-information: &794 summary: Response with GitHub plan information value: login: octocat @@ -119989,7 +120253,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *793 + - *792 - *17 responses: '200': @@ -120041,8 +120305,8 @@ paths: - *766 - *765 examples: - default-response: *794 - response-with-git-hub-plan-information: *795 + default-response: *793 + response-with-git-hub-plan-information: *794 '404': *6 x-github: githubCloudOnly: false @@ -120091,8 +120355,8 @@ paths: required: - subject_digests examples: - default: *796 - withPredicateType: *797 + default: *795 + withPredicateType: *796 responses: '200': description: Response @@ -120146,7 +120410,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *798 + default: *797 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120355,7 +120619,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *259 examples: default: value: @@ -120391,7 +120655,7 @@ paths: type: array items: *346 examples: - default: *783 + default: *782 '403': *27 '401': *23 x-github: @@ -120424,7 +120688,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120497,7 +120761,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120584,7 +120848,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -120732,7 +120996,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - *178 - - *189 + - *190 - *17 - *19 responses: @@ -120742,9 +121006,9 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: - default: *191 + default: *192 headers: Link: *41 '422': *15 @@ -120777,7 +121041,7 @@ paths: type: array items: *773 examples: - default: *799 + default: *798 headers: Link: *41 x-github: @@ -120967,7 +121231,7 @@ paths: type: array items: *62 examples: - default: *781 + default: *214 headers: Link: *41 x-github: @@ -121006,7 +121270,7 @@ paths: - docker - nuget - container - - *782 + - *781 - *178 - *19 - *17 @@ -121019,10 +121283,10 @@ paths: type: array items: *346 examples: - default: *783 + default: *782 '403': *27 '401': *23 - '400': *784 + '400': *783 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121052,7 +121316,7 @@ paths: application/json: schema: *346 examples: - default: *800 + default: *799 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -121505,7 +121769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - *365 - - *801 + - *800 - *178 responses: '200': @@ -121550,8 +121814,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -121559,8 +121825,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -121629,7 +121893,7 @@ paths: description: Response content: application/json: - schema: *802 + schema: *801 examples: issue: *371 pull_request: *371 @@ -121835,7 +122099,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -121910,7 +122174,7 @@ paths: application/json: schema: type: array - items: *208 + items: *209 examples: default: value: @@ -122016,7 +122280,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -122089,7 +122353,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 @@ -122099,10 +122366,10 @@ paths: parameters: - *178 - *169 - - *213 - - *170 - *215 - - *216 + - *170 + - *217 + - *218 responses: '200': description: Response when getting a billing premium request usage report @@ -122155,19 +122422,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 @@ -122262,9 +122529,9 @@ paths: parameters: - *178 - *169 - - *217 + - *219 - *170 - - *218 + - *220 responses: '200': description: Response when getting a billing usage report @@ -122363,9 +122630,9 @@ paths: application/json: schema: type: array - items: *787 + items: *786 examples: - default: *788 + default: *787 headers: Link: *41 x-github: @@ -122395,9 +122662,9 @@ paths: application/json: schema: type: array - items: *789 + items: *788 examples: - default: *803 + default: *802 headers: Link: *41 x-github: @@ -122422,7 +122689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *178 - - *804 + - *803 - *99 - *17 - *19 @@ -122434,11 +122701,11 @@ paths: schema: anyOf: - type: array - items: *805 + items: *804 - type: array items: *67 examples: - default-response: *792 + default-response: *791 headers: Link: *41 x-github: @@ -122467,7 +122734,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: *352 headers: @@ -122598,7 +122865,7 @@ webhooks: type: string enum: - disabled - enterprise: &806 + enterprise: &805 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122667,7 +122934,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &807 + installation: &806 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122688,7 +122955,7 @@ webhooks: required: - id - node_id - organization: &808 + organization: &807 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122761,7 +123028,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &809 + repository: &808 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -122790,7 +123057,7 @@ webhooks: license: anyOf: - type: 'null' - - *186 + - *187 organization: anyOf: - type: 'null' @@ -123674,10 +123941,10 @@ webhooks: type: string enum: - enabled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -123753,11 +124020,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: &810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: &809 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -123980,11 +124247,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: *809 sender: *4 required: - action @@ -124172,11 +124439,11 @@ webhooks: - everyone required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - rule: *810 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + rule: *809 sender: *4 required: - action @@ -124247,7 +124514,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &812 title: Exemption request cancellation event type: object properties: @@ -124255,11 +124522,11 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: &811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: &810 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124497,7 +124764,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &812 + items: &811 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124607,7 +124874,7 @@ webhooks: required: true content: application/json: - schema: &814 + schema: &813 title: Exemption request completed event type: object properties: @@ -124615,11 +124882,11 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 sender: *4 required: - action @@ -124689,7 +124956,7 @@ webhooks: required: true content: application/json: - schema: &815 + schema: &814 title: Exemption request created event type: object properties: @@ -124697,11 +124964,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 sender: *4 required: - action @@ -124771,7 +125038,7 @@ webhooks: required: true content: application/json: - schema: &816 + schema: &815 title: Exemption response dismissed event type: object properties: @@ -124779,12 +125046,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 + exemption_response: *811 sender: *4 required: - action @@ -124856,7 +125123,7 @@ webhooks: required: true content: application/json: - schema: &817 + schema: &816 title: Exemption response submitted event type: object properties: @@ -124864,12 +125131,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - exemption_request: *811 - exemption_response: *812 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + exemption_request: *810 + exemption_response: *811 sender: *4 required: - action @@ -124942,7 +125209,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125009,7 +125276,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125076,7 +125343,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125143,7 +125410,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125211,7 +125478,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -125289,7 +125556,7 @@ webhooks: type: string enum: - completed - check_run: &819 + check_run: &818 title: CheckRun description: A check performed on the code of a given code change type: object @@ -125354,8 +125621,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *187 - repository: *246 + items: *188 + repository: *248 status: type: string enum: @@ -125399,7 +125666,7 @@ webhooks: - examples: - neutral - deployment: *818 + deployment: *817 details_url: type: string examples: @@ -125459,7 +125726,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *187 + items: *188 started_at: type: string format: date-time @@ -125497,10 +125764,10 @@ webhooks: - output - app - pull_requests - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -125893,11 +126160,11 @@ webhooks: type: string enum: - created - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -126293,11 +126560,11 @@ webhooks: type: string enum: - requested_action - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 requested_action: description: The action requested by the user. type: object @@ -126702,11 +126969,11 @@ webhooks: type: string enum: - rerequested - check_run: *819 - installation: *807 - enterprise: *806 - organization: *808 - repository: *809 + check_run: *818 + installation: *806 + enterprise: *805 + organization: *807 + repository: *808 sender: *4 required: - check_run @@ -127698,10 +127965,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -128386,10 +128653,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -129068,10 +129335,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -129392,20 +129659,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &820 + commit_oid: &819 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *806 - installation: *807 - organization: *808 - ref: &821 + enterprise: *805 + installation: *806 + organization: *807 + ref: &820 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -129813,12 +130080,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130101,12 +130368,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130452,12 +130719,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -130740,9 +131007,9 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -130750,7 +131017,7 @@ webhooks: type: - string - 'null' - repository: *809 + repository: *808 sender: *4 required: - action @@ -130996,12 +131263,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *820 - enterprise: *806 - installation: *807 - organization: *808 - ref: *821 - repository: *809 + commit_oid: *819 + enterprise: *805 + installation: *806 + organization: *807 + ref: *820 + repository: *808 sender: *4 required: - action @@ -131263,10 +131530,10 @@ webhooks: - updated_at - author_association - body - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -131347,18 +131614,18 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *808 - pusher_type: &822 + organization: *807 + pusher_type: &821 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &823 + ref: &822 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -131368,7 +131635,7 @@ webhooks: enum: - tag - branch - repository: *809 + repository: *808 sender: *4 required: - ref @@ -131451,9 +131718,9 @@ webhooks: enum: - created definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131538,9 +131805,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131618,9 +131885,9 @@ webhooks: enum: - promote_to_enterprise definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131698,9 +131965,9 @@ webhooks: enum: - updated definition: *125 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -131777,10 +132044,10 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - repository: *809 - organization: *808 + enterprise: *805 + installation: *806 + repository: *808 + organization: *807 sender: *4 new_property_values: type: array @@ -131865,18 +132132,18 @@ webhooks: title: delete event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - pusher_type: *822 - ref: *823 + enterprise: *805 + installation: *806 + organization: *807 + pusher_type: *821 + ref: *822 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *809 + repository: *808 sender: *4 required: - ref @@ -131961,10 +132228,10 @@ webhooks: enum: - auto_dismissed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132049,10 +132316,10 @@ webhooks: enum: - auto_reopened alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132137,10 +132404,10 @@ webhooks: enum: - created alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132223,10 +132490,10 @@ webhooks: enum: - dismissed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132309,10 +132576,10 @@ webhooks: enum: - fixed alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132396,10 +132663,10 @@ webhooks: enum: - reintroduced alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132482,10 +132749,10 @@ webhooks: enum: - reopened alert: *563 - installation: *807 - organization: *808 - enterprise: *806 - repository: *809 + installation: *806 + organization: *807 + enterprise: *805 + repository: *808 sender: *4 required: - action @@ -132562,9 +132829,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - key: &824 + enterprise: *805 + installation: *806 + key: &823 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -132602,8 +132869,8 @@ webhooks: - verified - created_at - read_only - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -132680,11 +132947,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - key: *824 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + key: *823 + organization: *807 + repository: *808 sender: *4 required: - action @@ -133256,12 +133523,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: &828 + workflow: &827 title: Workflow type: - object @@ -134003,9 +134270,9 @@ webhooks: pull_requests: type: array items: *658 - repository: *809 - organization: *808 - installation: *807 + repository: *808 + organization: *807 + installation: *806 sender: *4 responses: '200': @@ -134076,7 +134343,7 @@ webhooks: type: string enum: - approved - approver: &825 + approver: &824 type: object properties: avatar_url: @@ -134119,11 +134386,11 @@ webhooks: type: string comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: &826 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + reviewers: &825 type: array items: type: object @@ -134204,7 +134471,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &827 + workflow_job_run: &826 type: object properties: conclusion: @@ -134950,18 +135217,18 @@ webhooks: type: string enum: - rejected - approver: *825 + approver: *824 comment: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - reviewers: *826 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + reviewers: *825 sender: *4 since: type: string - workflow_job_run: *827 + workflow_job_run: *826 workflow_job_runs: type: array items: @@ -135678,13 +135945,13 @@ webhooks: type: string enum: - requested - enterprise: *806 + enterprise: *805 environment: type: string - installation: *807 - organization: *808 - repository: *809 - requestor: &833 + installation: *806 + organization: *807 + repository: *808 + requestor: &832 title: User type: - object @@ -137627,12 +137894,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Deployment Workflow Run type: @@ -138323,7 +138590,7 @@ webhooks: type: string enum: - answered - answer: &831 + answer: &830 type: object properties: author_association: @@ -138483,11 +138750,11 @@ webhooks: - created_at - updated_at - body - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138614,11 +138881,11 @@ webhooks: - from required: - category - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138701,11 +138968,11 @@ webhooks: type: string enum: - closed - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -138787,7 +139054,7 @@ webhooks: type: string enum: - created - comment: &830 + comment: &829 type: object properties: author_association: @@ -138947,11 +139214,11 @@ webhooks: - updated_at - body - reactions - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139034,12 +139301,12 @@ webhooks: type: string enum: - deleted - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *829 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139134,12 +139401,12 @@ webhooks: - from required: - body - comment: *830 - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + comment: *829 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139223,11 +139490,11 @@ webhooks: type: string enum: - created - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139309,11 +139576,11 @@ webhooks: type: string enum: - deleted - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139413,11 +139680,11 @@ webhooks: type: string required: - from - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139499,10 +139766,10 @@ webhooks: type: string enum: - labeled - discussion: *829 - enterprise: *806 - installation: *807 - label: &832 + discussion: *828 + enterprise: *805 + installation: *806 + label: &831 title: Label type: object properties: @@ -139535,8 +139802,8 @@ webhooks: - color - default - description - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139619,11 +139886,11 @@ webhooks: type: string enum: - locked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139705,11 +139972,11 @@ webhooks: type: string enum: - pinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139791,11 +140058,11 @@ webhooks: type: string enum: - reopened - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139880,16 +140147,16 @@ webhooks: changes: type: object properties: - new_discussion: *829 - new_repository: *809 + new_discussion: *828 + new_repository: *808 required: - new_discussion - new_repository - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -139972,10 +140239,10 @@ webhooks: type: string enum: - unanswered - discussion: *829 - old_answer: *831 - organization: *808 - repository: *809 + discussion: *828 + old_answer: *830 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140057,12 +140324,12 @@ webhooks: type: string enum: - unlabeled - discussion: *829 - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140145,11 +140412,11 @@ webhooks: type: string enum: - unlocked - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140231,11 +140498,11 @@ webhooks: type: string enum: - unpinned - discussion: *829 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + discussion: *828 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -140304,7 +140571,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140367,7 +140634,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140433,7 +140700,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *812 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140499,7 +140766,7 @@ webhooks: required: true content: application/json: - schema: *814 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140565,7 +140832,7 @@ webhooks: required: true content: application/json: - schema: *815 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140631,7 +140898,7 @@ webhooks: required: true content: application/json: - schema: *816 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140697,7 +140964,7 @@ webhooks: required: true content: application/json: - schema: *817 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140764,7 +141031,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *806 + enterprise: *805 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141442,9 +141709,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - forkee @@ -141590,9 +141857,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pages: description: The pages that were updated. type: array @@ -141630,7 +141897,7 @@ webhooks: - action - sha - html_url - repository: *809 + repository: *808 sender: *4 required: - pages @@ -141706,10 +141973,10 @@ webhooks: type: string enum: - created - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: &834 + organization: *807 + repositories: &833 description: An array of repository objects that the installation can access. type: array @@ -141735,8 +142002,8 @@ webhooks: - name - full_name - private - repository: *809 - requester: *833 + repository: *808 + requester: *832 sender: *4 required: - action @@ -141811,11 +142078,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -141892,11 +142159,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -141973,10 +142240,10 @@ webhooks: type: string enum: - added - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories_added: &835 + organization: *807 + repositories_added: &834 description: An array of repository objects, which were added to the installation. type: array @@ -142022,15 +142289,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *809 - repository_selection: &836 + repository: *808 + repository_selection: &835 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *833 + requester: *832 sender: *4 required: - action @@ -142109,10 +142376,10 @@ webhooks: type: string enum: - removed - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories_added: *835 + organization: *807 + repositories_added: *834 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142139,9 +142406,9 @@ webhooks: - name - full_name - private - repository: *809 - repository_selection: *836 - requester: *833 + repository: *808 + repository_selection: *835 + requester: *832 sender: *4 required: - action @@ -142220,11 +142487,11 @@ webhooks: type: string enum: - suspend - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -142407,10 +142674,10 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 target_type: type: string @@ -142489,11 +142756,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *806 + enterprise: *805 installation: *20 - organization: *808 - repositories: *834 - repository: *809 + organization: *807 + repositories: *833 + repository: *808 requester: type: - 'null' @@ -142741,8 +143008,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143921,8 +144188,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -144002,7 +144269,7 @@ webhooks: type: string enum: - deleted - comment: &837 + comment: &836 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144169,8 +144436,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -145347,8 +145614,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -145428,7 +145695,7 @@ webhooks: type: string enum: - edited - changes: &861 + changes: &860 description: The changes to the comment. type: object properties: @@ -145440,9 +145707,9 @@ webhooks: type: string required: - from - comment: *837 - enterprise: *806 - installation: *807 + comment: *836 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146620,8 +146887,8 @@ webhooks: - state - locked - assignee - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146705,15 +146972,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *184 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146801,15 +147068,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 + blocking_issue: *184 blocking_issue_repo: *67 - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146896,15 +147163,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -146992,15 +147259,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *183 + blocked_issue: *184 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *183 - installation: *807 - organization: *808 - repository: *809 + blocking_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -147085,10 +147352,10 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - issue: &840 + assignee: *832 + enterprise: *805 + installation: *806 + issue: &839 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148024,8 +148291,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -148105,8 +148372,8 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -149190,8 +149457,8 @@ webhooks: required: - state - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -149270,8 +149537,8 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150202,8 +150469,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -150282,8 +150549,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151216,7 +151483,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &838 + milestone: &837 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151359,8 +151626,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -151459,8 +151726,8 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152396,9 +152663,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -152478,8 +152745,8 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153414,9 +153681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *832 - organization: *808 - repository: *809 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -153496,8 +153763,8 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154434,8 +154701,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -154514,8 +154781,8 @@ webhooks: type: string enum: - milestoned - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155446,9 +155713,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *838 - organization: *808 - repository: *809 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -156921,8 +157188,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157857,8 +158124,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -157938,9 +158205,9 @@ webhooks: type: string enum: - pinned - enterprise: *806 - installation: *807 - issue: &839 + enterprise: *805 + installation: *806 + issue: &838 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158869,8 +159136,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -158949,8 +159216,8 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159886,8 +160153,8 @@ webhooks: user_view_type: type: string type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161379,11 +161646,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *838 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161463,12 +161730,12 @@ webhooks: type: string enum: - typed - enterprise: *806 - installation: *807 - issue: *840 + enterprise: *805 + installation: *806 + issue: *839 type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161549,7 +161816,7 @@ webhooks: type: string enum: - unassigned - assignee: &864 + assignee: &863 title: User type: - object @@ -161621,11 +161888,11 @@ webhooks: required: - login - id - enterprise: *806 - installation: *807 - issue: *840 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *839 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161704,12 +161971,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - issue: *840 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *839 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -161789,8 +162056,8 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162725,8 +162992,8 @@ webhooks: format: uri user_view_type: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162806,11 +163073,11 @@ webhooks: type: string enum: - unpinned - enterprise: *806 - installation: *807 - issue: *839 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + issue: *838 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162889,12 +163156,12 @@ webhooks: type: string enum: - untyped - enterprise: *806 - installation: *807 - issue: *840 + enterprise: *805 + installation: *806 + issue: *839 type: *331 - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -162974,11 +163241,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163056,11 +163323,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163170,11 +163437,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - label: *832 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + label: *831 + organization: *807 + repository: *808 sender: *4 required: - action @@ -163256,9 +163523,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: &841 + enterprise: *805 + installation: *806 + marketplace_purchase: &840 title: Marketplace Purchase type: object required: @@ -163346,8 +163613,8 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: &842 + organization: *807 + previous_marketplace_purchase: &841 title: Marketplace Purchase type: object properties: @@ -163431,7 +163698,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163511,10 +163778,10 @@ webhooks: - changed effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163602,7 +163869,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163684,10 +163951,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163773,7 +164040,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *809 + repository: *808 sender: *4 required: - action @@ -163854,8 +164121,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 marketplace_purchase: title: Marketplace Purchase type: object @@ -163941,9 +164208,9 @@ webhooks: type: integer unit_count: type: integer - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + organization: *807 + previous_marketplace_purchase: *841 + repository: *808 sender: *4 required: - action @@ -164023,12 +164290,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *806 - installation: *807 - marketplace_purchase: *841 - organization: *808 - previous_marketplace_purchase: *842 - repository: *809 + enterprise: *805 + installation: *806 + marketplace_purchase: *840 + organization: *807 + previous_marketplace_purchase: *841 + repository: *808 sender: *4 required: - action @@ -164130,11 +164397,11 @@ webhooks: type: string required: - to - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164236,11 +164503,11 @@ webhooks: type: - string - 'null' - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164319,11 +164586,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164401,11 +164668,11 @@ webhooks: type: string enum: - added - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164483,7 +164750,7 @@ webhooks: required: - login - id - team: &843 + team: &842 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164713,11 +164980,11 @@ webhooks: type: string enum: - removed - enterprise: *806 - installation: *807 - member: *833 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + member: *832 + organization: *807 + repository: *808 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164796,7 +165063,7 @@ webhooks: required: - login - id - team: *843 + team: *842 required: - action - scope @@ -164878,8 +165145,8 @@ webhooks: type: string enum: - checks_requested - installation: *807 - merge_group: &844 + installation: *806 + merge_group: &843 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164905,8 +165172,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -164992,10 +165259,10 @@ webhooks: - merged - invalidated - dequeued - installation: *807 - merge_group: *844 - organization: *808 - repository: *809 + installation: *806 + merge_group: *843 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165068,7 +165335,7 @@ webhooks: type: string enum: - deleted - enterprise: *806 + enterprise: *805 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -165177,12 +165444,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *807 - organization: *808 + installation: *806 + organization: *807 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -165262,11 +165529,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165345,9 +165612,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - milestone: &845 + enterprise: *805 + installation: *806 + milestone: &844 title: Milestone description: A collection of related issues and pull requests. type: object @@ -165489,8 +165756,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165569,11 +165836,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165683,11 +165950,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - milestone: *838 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *837 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165767,11 +166034,11 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - milestone: *845 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + milestone: *844 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165850,11 +166117,11 @@ webhooks: type: string enum: - blocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *832 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -165933,11 +166200,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *833 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + blocked_user: *832 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166016,9 +166283,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - membership: &846 + enterprise: *805 + installation: *806 + membership: &845 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -166128,8 +166395,8 @@ webhooks: - role - organization_url - user - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166207,11 +166474,11 @@ webhooks: type: string enum: - member_added - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166290,8 +166557,8 @@ webhooks: type: string enum: - member_invited - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166413,10 +166680,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 - user: *833 + user: *832 required: - action - invitation @@ -166494,11 +166761,11 @@ webhooks: type: string enum: - member_removed - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166585,11 +166852,11 @@ webhooks: properties: from: type: string - enterprise: *806 - installation: *807 - membership: *846 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + membership: *845 + organization: *807 + repository: *808 sender: *4 required: - action @@ -166665,9 +166932,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 package: description: Information about the package. type: object @@ -167190,7 +167457,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &847 + items: &846 title: Ruby Gems metadata type: object properties: @@ -167287,7 +167554,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -167363,9 +167630,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 package: description: Information about the package. type: object @@ -167727,7 +167994,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *846 source_url: type: string format: uri @@ -167798,7 +168065,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -167979,12 +168246,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *806 + enterprise: *805 id: type: integer - installation: *807 - organization: *808 - repository: *809 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - id @@ -168061,7 +168328,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &848 + personal_access_token_request: &847 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -168211,10 +168478,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *806 - organization: *808 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168291,11 +168558,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *847 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168371,11 +168638,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *848 - enterprise: *806 - organization: *808 + personal_access_token_request: *847 + enterprise: *805 + organization: *807 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168450,11 +168717,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *848 - organization: *808 - enterprise: *806 + personal_access_token_request: *847 + organization: *807 + enterprise: *805 sender: *4 - installation: *807 + installation: *806 required: - action - personal_access_token_request @@ -168559,7 +168826,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *849 + last_response: *848 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168591,8 +168858,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 zen: description: Random string of GitHub zen. @@ -168837,10 +169104,10 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: &850 + enterprise: *805 + installation: *806 + organization: *807 + project_card: &849 title: Project Card type: object properties: @@ -168963,7 +169230,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -169044,11 +169311,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_card: *849 + repository: *808 sender: *4 required: - action @@ -169128,9 +169395,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 project_card: title: Project Card type: object @@ -169260,7 +169527,7 @@ webhooks: repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -169354,11 +169621,11 @@ webhooks: - from required: - note - enterprise: *806 - installation: *807 - organization: *808 - project_card: *850 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_card: *849 + repository: *808 sender: *4 required: - action @@ -169452,9 +169719,9 @@ webhooks: - from required: - column_id - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 project_card: allOf: - title: Project Card @@ -169651,7 +169918,7 @@ webhooks: type: string required: - after_id - repository: *809 + repository: *808 sender: *4 required: - action @@ -169731,10 +169998,10 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - organization: *808 - project: &852 + enterprise: *805 + installation: *806 + organization: *807 + project: &851 title: Project type: object properties: @@ -169861,7 +170128,7 @@ webhooks: - creator - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -169941,10 +170208,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project_column: &851 + enterprise: *805 + installation: *806 + organization: *807 + project_column: &850 title: Project Column type: object properties: @@ -169984,7 +170251,7 @@ webhooks: - name - created_at - updated_at - repository: *809 + repository: *808 sender: *4 required: - action @@ -170063,14 +170330,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -170159,11 +170426,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 + repository: *808 sender: *4 required: - action @@ -170243,11 +170510,11 @@ webhooks: type: string enum: - moved - enterprise: *806 - installation: *807 - organization: *808 - project_column: *851 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project_column: *850 + repository: *808 sender: *4 required: - action @@ -170327,11 +170594,11 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170411,14 +170678,14 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - project: *852 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 repository: anyOf: - type: 'null' - - *809 + - *808 sender: *4 required: - action @@ -170519,11 +170786,11 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170602,11 +170869,11 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - organization: *808 - project: *852 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + project: *851 + repository: *808 sender: *4 required: - action @@ -170687,8 +170954,8 @@ webhooks: type: string enum: - closed - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170770,8 +171037,8 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170853,8 +171120,8 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -170976,8 +171243,8 @@ webhooks: type: string to: type: string - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -171061,7 +171328,7 @@ webhooks: type: string enum: - archived - changes: &856 + changes: &855 type: object properties: archived_at: @@ -171077,9 +171344,9 @@ webhooks: - string - 'null' format: date-time - installation: *807 - organization: *808 - projects_v2_item: &853 + installation: *806 + organization: *807 + projects_v2_item: &852 title: Projects v2 Item description: An item belonging to a project type: object @@ -171219,9 +171486,9 @@ webhooks: - 'null' to: type: string - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171303,9 +171570,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171386,9 +171653,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171493,7 +171760,7 @@ webhooks: oneOf: - type: string - type: integer - - &854 + - &853 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171517,7 +171784,7 @@ webhooks: required: - id - name - - &855 + - &854 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171557,8 +171824,8 @@ webhooks: oneOf: - type: string - type: integer + - *853 - *854 - - *855 type: - 'null' - string @@ -171581,9 +171848,9 @@ webhooks: - 'null' required: - body - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171680,9 +171947,9 @@ webhooks: type: - string - 'null' - installation: *807 - organization: *808 - projects_v2_item: *853 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171765,10 +172032,10 @@ webhooks: type: string enum: - restored - changes: *856 - installation: *807 - organization: *808 - projects_v2_item: *853 + changes: *855 + installation: *806 + organization: *807 + projects_v2_item: *852 sender: *4 required: - action @@ -171850,8 +172117,8 @@ webhooks: type: string enum: - reopened - installation: *807 - organization: *808 + installation: *806 + organization: *807 projects_v2: *363 sender: *4 required: @@ -171933,9 +172200,9 @@ webhooks: type: string enum: - created - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172016,9 +172283,9 @@ webhooks: type: string enum: - deleted - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172164,9 +172431,9 @@ webhooks: - string - 'null' format: date - installation: *807 - organization: *808 - projects_v2_status_update: *857 + installation: *806 + organization: *807 + projects_v2_status_update: *856 sender: *4 required: - action @@ -172237,10 +172504,10 @@ webhooks: title: public event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - repository @@ -172317,13 +172584,13 @@ webhooks: type: string enum: - assigned - assignee: *833 - enterprise: *806 - installation: *807 - number: &858 + assignee: *832 + enterprise: *805 + installation: *806 + number: &857 description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -174672,7 +174939,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -174754,11 +175021,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -177100,7 +177367,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -177182,11 +177449,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -179528,7 +179795,7 @@ webhooks: - draft reason: type: string - repository: *809 + repository: *808 sender: *4 required: - action @@ -179610,11 +179877,11 @@ webhooks: type: string enum: - closed - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: &859 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: &858 allOf: - *658 - type: object @@ -179678,7 +179945,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *809 + repository: *808 sender: *4 required: - action @@ -179759,12 +180026,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -179844,11 +180111,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *806 + enterprise: *805 milestone: *368 - number: *858 - organization: *808 - pull_request: &860 + number: *857 + organization: *807 + pull_request: &859 title: Pull Request type: object properties: @@ -182175,7 +182442,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -182254,11 +182521,11 @@ webhooks: type: string enum: - dequeued - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -184604,7 +184871,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *809 + repository: *808 sender: *4 required: - action @@ -184728,12 +184995,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -184813,11 +185080,11 @@ webhooks: type: string enum: - enqueued - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -187148,7 +187415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -187228,11 +187495,11 @@ webhooks: type: string enum: - labeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + label: *831 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -189580,7 +189847,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -189661,10 +189928,10 @@ webhooks: type: string enum: - locked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -192010,7 +192277,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -192090,12 +192357,12 @@ webhooks: type: string enum: - milestoned - enterprise: *806 + enterprise: *805 milestone: *368 - number: *858 - organization: *808 - pull_request: *860 - repository: *809 + number: *857 + organization: *807 + pull_request: *859 + repository: *808 sender: *4 required: - action @@ -192174,12 +192441,12 @@ webhooks: type: string enum: - opened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192260,12 +192527,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192345,12 +192612,12 @@ webhooks: type: string enum: - reopened - enterprise: *806 - installation: *807 - number: *858 - organization: *808 - pull_request: *859 - repository: *809 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 + pull_request: *858 + repository: *808 sender: *4 required: - action @@ -192725,9 +192992,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -194957,7 +195224,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -195037,7 +195304,7 @@ webhooks: type: string enum: - deleted - comment: &862 + comment: &861 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -195330,9 +195597,9 @@ webhooks: - start_side - side - reactions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -197550,7 +197817,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -197630,11 +197897,11 @@ webhooks: type: string enum: - edited - changes: *861 - comment: *862 - enterprise: *806 - installation: *807 - organization: *808 + changes: *860 + comment: *861 + enterprise: *805 + installation: *806 + organization: *807 pull_request: type: object properties: @@ -199855,7 +200122,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *809 + repository: *808 sender: *4 required: - action @@ -199936,9 +200203,9 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -202171,7 +202438,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 review: description: The review that was affected. type: object @@ -202422,9 +202689,9 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -204538,8 +204805,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: &863 + repository: *808 + review: &862 description: The review that was affected. type: object properties: @@ -204777,12 +205044,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -207129,7 +207396,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_reviewer: title: User type: @@ -207215,12 +207482,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -209574,7 +209841,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_team: title: Team description: Groups of organization members that gives permissions @@ -209769,12 +210036,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -212123,7 +212390,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_reviewer: title: User type: @@ -212210,12 +212477,12 @@ webhooks: type: string enum: - review_requested - enterprise: *806 - installation: *807 + enterprise: *805 + installation: *806 number: description: The pull request number. type: integer - organization: *808 + organization: *807 pull_request: title: Pull Request type: object @@ -214555,7 +214822,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 requested_team: title: Team description: Groups of organization members that gives permissions @@ -214739,9 +215006,9 @@ webhooks: type: string enum: - submitted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -216977,8 +217244,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 - review: *863 + repository: *808 + review: *862 sender: *4 required: - action @@ -217058,9 +217325,9 @@ webhooks: type: string enum: - resolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -219191,7 +219458,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 sender: *4 thread: type: object @@ -219588,9 +219855,9 @@ webhooks: type: string enum: - unresolved - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 pull_request: title: Simple Pull Request type: object @@ -221704,7 +221971,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *809 + repository: *808 sender: *4 thread: type: object @@ -222103,10 +222370,10 @@ webhooks: type: string before: type: string - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -224441,7 +224708,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -224523,11 +224790,11 @@ webhooks: type: string enum: - unassigned - assignee: *864 - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + assignee: *863 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -226877,7 +227144,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -226956,11 +227223,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *806 - installation: *807 - label: *832 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + label: *831 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -229299,7 +229566,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -229380,10 +229647,10 @@ webhooks: type: string enum: - unlocked - enterprise: *806 - installation: *807 - number: *858 - organization: *808 + enterprise: *805 + installation: *806 + number: *857 + organization: *807 pull_request: title: Pull Request type: object @@ -231712,7 +231979,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *809 + repository: *808 sender: *4 required: - action @@ -231915,7 +232182,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *806 + enterprise: *805 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -232010,8 +232277,8 @@ webhooks: - url - author - committer - installation: *807 - organization: *808 + installation: *806 + organization: *807 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -232599,9 +232866,9 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 registry_package: type: object properties: @@ -233078,7 +233345,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *847 + items: *846 summary: type: string tag_name: @@ -233134,7 +233401,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -233212,9 +233479,9 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 registry_package: type: object properties: @@ -233526,7 +233793,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *847 + items: *846 summary: type: string tag_name: @@ -233576,7 +233843,7 @@ webhooks: - owner - package_version - registry - repository: *809 + repository: *808 sender: *4 required: - action @@ -233653,10 +233920,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - release: &865 + enterprise: *805 + installation: *806 + organization: *807 + release: &864 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233987,7 +234254,7 @@ webhooks: - updated_at - zipball_url - body - repository: *809 + repository: *808 sender: *4 required: - action @@ -234064,11 +234331,11 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -234185,11 +234452,11 @@ webhooks: type: boolean required: - to - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -234267,9 +234534,9 @@ webhooks: type: string enum: - prereleased - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -234605,7 +234872,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *808 sender: *4 required: - action @@ -234681,10 +234948,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - release: &866 + enterprise: *805 + installation: *806 + organization: *807 + release: &865 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -235017,7 +235284,7 @@ webhooks: - string - 'null' format: uri - repository: *809 + repository: *808 sender: *4 required: - action @@ -235093,11 +235360,11 @@ webhooks: type: string enum: - released - enterprise: *806 - installation: *807 - organization: *808 - release: *865 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *864 + repository: *808 sender: *4 required: - action @@ -235173,11 +235440,11 @@ webhooks: type: string enum: - unpublished - enterprise: *806 - installation: *807 - organization: *808 - release: *866 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + release: *865 + repository: *808 sender: *4 required: - action @@ -235253,10 +235520,10 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_advisory: *711 sender: *4 required: @@ -235333,10 +235600,10 @@ webhooks: type: string enum: - reported - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_advisory: *711 sender: *4 required: @@ -235413,10 +235680,10 @@ webhooks: type: string enum: - archived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235493,10 +235760,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235574,10 +235841,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235662,10 +235929,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235780,10 +236047,10 @@ webhooks: - 'null' items: type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -235855,10 +236122,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 status: type: string @@ -235939,10 +236206,10 @@ webhooks: type: string enum: - privatized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236019,10 +236286,10 @@ webhooks: type: string enum: - publicized - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236116,10 +236383,10 @@ webhooks: - name required: - repository - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236199,10 +236466,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 sender: *4 required: @@ -236281,10 +236548,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 sender: *4 required: @@ -236363,10 +236630,10 @@ webhooks: type: string enum: - edited - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 repository_ruleset: *158 changes: type: object @@ -236674,10 +236941,10 @@ webhooks: - from required: - owner - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236755,10 +237022,10 @@ webhooks: type: string enum: - unarchived - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -236836,7 +237103,7 @@ webhooks: type: string enum: - create - alert: &867 + alert: &866 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -236960,10 +237227,10 @@ webhooks: type: string enum: - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237173,10 +237440,10 @@ webhooks: type: string enum: - dismissed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237254,11 +237521,11 @@ webhooks: type: string enum: - reopen - alert: *867 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *866 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237460,10 +237727,10 @@ webhooks: enum: - fixed - open - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237541,7 +237808,7 @@ webhooks: type: string enum: - created - alert: &868 + alert: &867 type: object properties: number: *109 @@ -237655,10 +237922,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -237739,11 +238006,11 @@ webhooks: type: string enum: - created - alert: *868 - installation: *807 - location: *869 - organization: *808 - repository: *809 + alert: *867 + installation: *806 + location: *868 + organization: *807 + repository: *808 sender: *4 required: - location @@ -237981,11 +238248,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238063,11 +238330,11 @@ webhooks: type: string enum: - reopened - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238145,11 +238412,11 @@ webhooks: type: string enum: - resolved - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238227,11 +238494,11 @@ webhooks: type: string enum: - validated - alert: *868 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + alert: *867 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -238361,10 +238628,10 @@ webhooks: - organization - enterprise - - repository: *809 - enterprise: *806 - installation: *807 - organization: *808 + repository: *808 + enterprise: *805 + installation: *806 + organization: *807 sender: *4 required: - action @@ -238442,11 +238709,11 @@ webhooks: type: string enum: - published - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: &870 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + security_advisory: &869 description: The details of the security advisory, including summary, description, and severity. type: object @@ -238632,11 +238899,11 @@ webhooks: type: string enum: - updated - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 - security_advisory: *870 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 + security_advisory: *869 sender: *4 required: - action @@ -238709,10 +238976,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -238899,9 +239166,9 @@ webhooks: type: object properties: security_and_analysis: *377 - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: *443 sender: *4 required: @@ -238980,12 +239247,12 @@ webhooks: type: string enum: - cancelled - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: &871 + sponsorship: &870 type: object properties: created_at: @@ -239290,12 +239557,12 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - sponsorship @@ -239383,12 +239650,12 @@ webhooks: type: string required: - from - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239465,17 +239732,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &872 + effective_date: &871 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - sponsorship @@ -239549,7 +239816,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &873 + changes: &872 type: object properties: tier: @@ -239593,13 +239860,13 @@ webhooks: - from required: - tier - effective_date: *872 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + effective_date: *871 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239676,13 +239943,13 @@ webhooks: type: string enum: - tier_changed - changes: *873 - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + changes: *872 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - sponsorship: *871 + sponsorship: *870 required: - action - changes @@ -239756,10 +240023,10 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -239843,10 +240110,10 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -240280,15 +240547,15 @@ webhooks: type: - string - 'null' - enterprise: *806 + enterprise: *805 id: description: The unique identifier of the status. type: integer - installation: *807 + installation: *806 name: type: string - organization: *808 - repository: *809 + organization: *807 + repository: *808 sender: *4 sha: description: The Commit SHA. @@ -240398,15 +240665,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *184 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240490,15 +240757,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 + parent_issue: *184 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 - installation: *807 - organization: *808 - repository: *809 + sub_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240582,15 +240849,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *184 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240674,15 +240941,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *183 + sub_issue: *184 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *183 - installation: *807 - organization: *808 - repository: *809 + parent_issue: *184 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -240759,12 +241026,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - team: &874 + team: &873 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -240994,9 +241261,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -241466,7 +241733,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -241542,9 +241809,9 @@ webhooks: type: string enum: - created - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -242014,7 +242281,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -242091,9 +242358,9 @@ webhooks: type: string enum: - deleted - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -242563,7 +242830,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -242707,9 +242974,9 @@ webhooks: - from required: - permissions - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -243179,7 +243446,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - changes @@ -243257,9 +243524,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *806 - installation: *807 - organization: *808 + enterprise: *805 + installation: *806 + organization: *807 repository: title: Repository description: A git repository @@ -243729,7 +243996,7 @@ webhooks: - topics - visibility sender: *4 - team: *874 + team: *873 required: - action - team @@ -243805,10 +244072,10 @@ webhooks: type: string enum: - started - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 required: - action @@ -243881,17 +244148,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *806 + enterprise: *805 inputs: type: - object - 'null' additionalProperties: true - installation: *807 - organization: *808 + installation: *806 + organization: *807 ref: type: string - repository: *809 + repository: *808 sender: *4 workflow: type: string @@ -243973,10 +244240,10 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: allOf: @@ -244311,10 +244578,10 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: allOf: @@ -244675,10 +244942,10 @@ webhooks: type: string enum: - queued - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: type: object @@ -244903,10 +245170,10 @@ webhooks: type: string enum: - waiting - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 workflow_job: type: object @@ -245133,12 +245400,12 @@ webhooks: type: string enum: - completed - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object @@ -246157,12 +246424,12 @@ webhooks: type: string enum: - in_progress - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object @@ -247166,12 +247433,12 @@ webhooks: type: string enum: - requested - enterprise: *806 - installation: *807 - organization: *808 - repository: *809 + enterprise: *805 + installation: *806 + organization: *807 + repository: *808 sender: *4 - workflow: *828 + workflow: *827 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 13d5fb5fa..e906a9aad 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.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." @@ -8738,12 +8742,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -10233,7 +10231,7 @@ } }, "x-github": { - "githubCloudOnly": false, + "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "secret-scanning", "subcategory": "secret-scanning" @@ -10540,6 +10538,9 @@ "parameters": [ { "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center-state" } ], "responses": { @@ -11133,7 +11134,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" ], @@ -11501,6 +11502,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint.\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -11902,6 +11913,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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", @@ -12003,6 +12344,16 @@ ], "default": "disabled" }, + "organization_selection_type": { + "type": "string", + "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n", + "enum": [ + "disabled", + "selected", + "all" + ], + "default": "disabled" + }, "group_id": { "type": [ "string", @@ -15462,7 +15813,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" ], @@ -21105,6 +21456,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/enterprise-cloud@latest//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", @@ -25584,12 +26006,6 @@ { "$ref": "#/components/parameters/pagination-after" }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" - }, { "$ref": "#/components/parameters/per-page" } @@ -32816,7 +33232,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -32824,10 +33240,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } }, { @@ -55708,16 +56121,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/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api).\"", @@ -55733,12 +56136,6 @@ }, { "$ref": "#/components/parameters/pagination-after" - }, - { - "$ref": "#/components/parameters/pagination-first" - }, - { - "$ref": "#/components/parameters/pagination-last" } ], "responses": { @@ -73421,7 +73818,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" ], @@ -88970,7 +89367,7 @@ }, { "name": "fields", - "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.", + "description": "Limit results to specific fields, by their IDs. If not specified, the title field will be returned.\n\nExample: `fields[]=123&fields[]=456&fields[]=789`", "in": "query", "required": false, "schema": { @@ -88978,10 +89375,7 @@ "maxItems": 50, "items": { "type": "string" - }, - "examples": [ - "fields[]=123,fields[]=456,fields[]=789" - ] + } } } ], @@ -89708,7 +90102,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" ], @@ -127708,7 +128102,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -127716,7 +128110,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -127724,7 +128118,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -132219,7 +132613,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -132227,7 +132621,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -132235,7 +132629,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -133126,6 +133520,15 @@ "closed" ] }, + "campaign-alert-type": { + "title": "Campaign alert type", + "description": "Indicates the alert type of a campaign", + "type": "string", + "enum": [ + "code_scanning", + "secret_scanning" + ] + }, "campaign-summary": { "title": "Campaign summary", "description": "The campaign metadata and alert stats.", @@ -159764,7 +160167,7 @@ "description": "Price per unit of the usage line item." }, "grossQuantity": { - "type": "integer", + "type": "number", "description": "Gross quantity of the usage line item." }, "grossAmount": { @@ -159772,7 +160175,7 @@ "description": "Gross amount of the usage line item." }, "discountQuantity": { - "type": "integer", + "type": "number", "description": "Discount quantity of the usage line item." }, "discountAmount": { @@ -159780,7 +160183,7 @@ "description": "Discount amount of the usage line item." }, "netQuantity": { - "type": "integer", + "type": "number", "description": "Net quantity of the usage line item." }, "netAmount": { @@ -311227,6 +311630,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": [ { @@ -312747,24 +313184,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" - } - ] - }, "organization-custom-repository-role-example": { "value": { "id": 8030, @@ -313773,6 +314192,18 @@ ] } }, + "list-attestation-repositories": { + "value": [ + { + "id": 123, + "name": "foo" + }, + { + "id": 456, + "name": "bar" + } + ] + }, "list-attestations": { "value": { "attestations": [ @@ -340367,29 +340798,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 - } - }, "username": { "name": "username", "description": "The handle for the GitHub user account.", @@ -340523,6 +340931,19 @@ ] } }, + "cost-center-state": { + "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" + ] + } + }, "cost-center": { "name": "cost_center_id", "description": "The ID corresponding to the cost center.", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 564c1b26e..0361d1689 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.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 @@ -6228,8 +6230,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': @@ -7230,7 +7230,7 @@ paths: '503': "$ref": "#/components/responses/service_unavailable" x-github: - githubCloudOnly: false + githubCloudOnly: true enabledForGitHubApps: false category: secret-scanning subcategory: secret-scanning @@ -7447,6 +7447,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/cost-center-state" responses: '200': "$ref": "#/components/responses/get_all_cost_centers" @@ -7854,8 +7855,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 @@ -8124,6 +8127,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments) endpoint. + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -8371,6 +8386,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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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/enterprise-cloud@latest//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 @@ -8446,6 +8664,18 @@ paths: - all - disabled default: disabled + organization_selection_type: + type: string + description: | + Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`. + `disabled`: The team is not assigned to any organizations. This is the default when you create a new team. + `selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments). + `all`: The team is assigned to all current and future organizations in the enterprise. + enum: + - disabled + - selected + - all + default: disabled group_id: type: - string @@ -10897,9 +11127,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 @@ -15079,6 +15310,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/enterprise-cloud@latest//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 @@ -18430,8 +18708,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': @@ -23583,8 +23859,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -23592,8 +23870,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 - "$ref": "#/components/parameters/pagination-before" - "$ref": "#/components/parameters/pagination-after" - "$ref": "#/components/parameters/per-page" @@ -40287,14 +40563,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/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -40305,8 +40573,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 @@ -52972,6 +53238,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 @@ -64139,8 +64408,10 @@ paths: schema: type: string - name: fields - description: Limit results to specific fields, by their IDs. If not specified, - the title field will be returned. + description: |- + Limit results to specific fields, by their IDs. If not specified, the title field will be returned. + + Example: `fields[]=123&fields[]=456&fields[]=789` in: query required: false schema: @@ -64148,8 +64419,6 @@ paths: maxItems: 50 items: type: string - examples: - - fields[]=123,fields[]=456,fields[]=789 responses: '200': description: Response @@ -64631,7 +64900,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 @@ -92298,19 +92570,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 @@ -95537,19 +95809,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 @@ -96243,6 +96515,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 campaign-summary: title: Campaign summary description: The campaign metadata and alert stats. @@ -115376,19 +115655,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 @@ -228675,6 +228954,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' @@ -230050,20 +230357,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 organization-custom-repository-role-example: value: id: 8030 @@ -230925,6 +231218,12 @@ components: signatures: - sig: MEQCIEGIGAm7gZVLLpsrPcjndEjiuctE2/c9+j9KGvazz3rlAiAd6O16T5hkzRM3IbRPzm+xT40mNQZxefd7laDP6x2XLQ== repository_id: 1 + list-attestation-repositories: + value: {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}