diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 3ded5679dc..b76ea38697 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -179,6 +179,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -10657,6 +10661,526 @@ } } }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/campaign-state" + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/campaign-summary" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-org-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/delete-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Deletion successful" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -102880,6 +103404,291 @@ "visibility" ] }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "nullable-team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + }, + "team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "campaign-summary": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/team" + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -103754,181 +104563,6 @@ ], "nullable": true }, - "nullable-team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ], - "nullable": true - }, - "team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "parent": { - "$ref": "#/components/schemas/nullable-team-simple" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent" - ] - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -108299,7 +108933,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -119338,6 +119972,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -119372,42 +120012,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -273652,6 +274263,114 @@ } ] }, + "campaign-org-items": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + }, + "campaign-summary": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + }, "code-scanning-organization-alert-items": { "value": [ { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 3a08d9a6ee..0be3e65de7 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -7716,6 +7718,391 @@ paths: enabledForGitHubApps: true category: orgs subcategory: blocking + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: + "$ref": "#/components/schemas/campaign-state" + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-org-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '429': + description: Too Many Requests + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -75075,6 +75462,233 @@ components: - created_at - updated_at - visibility + campaign-state: + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + nullable-team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + team: + title: Team + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + campaign-summary: + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: + "$ref": "#/components/schemas/simple-user" + team_managers: + description: The campaign team managers + type: array + items: + "$ref": "#/components/schemas/team" + published_at: + description: The date and time the campaign was published, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open. + type: string + format: date-time + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -75801,143 +76415,6 @@ components: - avatar_url - description nullable: true - nullable-team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - team: - title: Team - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - "$ref": "#/components/schemas/nullable-team-simple" - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -79466,11 +79943,8 @@ components: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot for new pull + requests, if the author has access to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull @@ -88012,6 +88486,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -88038,29 +88517,8 @@ components: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated hook-response: @@ -205306,6 +205764,103 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + campaign-org-items: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited by + attackers. This reduces risk, prevents breaches and can help protect sensitive + data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + campaign-summary: + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 code-scanning-organization-alert-items: value: - number: 4 diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 3ded5679dc..b76ea38697 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -179,6 +179,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -10657,6 +10661,526 @@ } } }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/campaign-state" + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/campaign-summary" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-org-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/delete-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Deletion successful" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -102880,6 +103404,291 @@ "visibility" ] }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "nullable-team-simple": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + }, + "team": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "$ref": "#/components/schemas/nullable-team-simple" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + }, + "campaign-summary": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/team" + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, "code-scanning-analysis-tool-name": { "type": "string", "description": "The name of the tool used to generate the code scanning analysis." @@ -103754,181 +104563,6 @@ ], "nullable": true }, - "nullable-team-simple": { - "title": "Team Simple", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "description": "Unique identifier of the team", - "type": "integer", - "example": 1 - }, - "node_id": { - "type": "string", - "example": "MDQ6VGVhbTE=" - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1" - }, - "members_url": { - "type": "string", - "example": "https://api.github.com/organizations/1/team/1/members{/member}" - }, - "name": { - "description": "Name of the team", - "type": "string", - "example": "Justice League" - }, - "description": { - "description": "Description of the team", - "type": "string", - "nullable": true, - "example": "A great team." - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "example": "admin" - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "example": "closed" - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "example": "notifications_enabled" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "repositories_url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/organizations/1/team/1/repos" - }, - "slug": { - "type": "string", - "example": "justice-league" - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "example": "uid=example,ou=users,dc=github,dc=com", - "type": "string" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ], - "nullable": true - }, - "team": { - "title": "Team", - "description": "Groups of organization members that gives permissions on specified repositories.", - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "node_id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "slug": { - "type": "string" - }, - "description": { - "type": "string", - "nullable": true - }, - "privacy": { - "type": "string" - }, - "notification_setting": { - "type": "string" - }, - "permission": { - "type": "string" - }, - "permissions": { - "type": "object", - "properties": { - "pull": { - "type": "boolean" - }, - "triage": { - "type": "boolean" - }, - "push": { - "type": "boolean" - }, - "maintain": { - "type": "boolean" - }, - "admin": { - "type": "boolean" - } - }, - "required": [ - "pull", - "triage", - "push", - "maintain", - "admin" - ] - }, - "url": { - "type": "string", - "format": "uri" - }, - "html_url": { - "type": "string", - "format": "uri", - "example": "https://github.com/orgs/rails/teams/core" - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "parent": { - "$ref": "#/components/schemas/nullable-team-simple" - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug", - "parent" - ] - }, "enterprise-team": { "title": "Enterprise Team", "description": "Group of enterprise owners and/or members", @@ -108299,7 +108933,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -119338,6 +119972,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -119372,42 +120012,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -273652,6 +274263,114 @@ } ] }, + "campaign-org-items": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + }, + "campaign-summary": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + }, "code-scanning-organization-alert-items": { "value": [ { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 3a08d9a6ee..0be3e65de7 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -7716,6 +7718,391 @@ paths: enabledForGitHubApps: true category: orgs subcategory: blocking + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: + "$ref": "#/components/schemas/campaign-state" + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-org-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '429': + description: Too Many Requests + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -75075,6 +75462,233 @@ components: - created_at - updated_at - visibility + campaign-state: + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + nullable-team-simple: + title: Team Simple + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should have + type: string + example: closed + notification_setting: + description: The notification setting the team has set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + team: + title: Team + description: Groups of organization members that gives permissions on specified + repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + "$ref": "#/components/schemas/nullable-team-simple" + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + campaign-summary: + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: + "$ref": "#/components/schemas/simple-user" + team_managers: + description: The campaign team managers + type: array + items: + "$ref": "#/components/schemas/team" + published_at: + description: The date and time the campaign was published, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open. + type: string + format: date-time + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link code-scanning-analysis-tool-name: type: string description: The name of the tool used to generate the code scanning analysis. @@ -75801,143 +76415,6 @@ components: - avatar_url - description nullable: true - nullable-team-simple: - title: Team Simple - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should have - type: string - example: closed - notification_setting: - description: The notification setting the team has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - team: - title: Team - description: Groups of organization members that gives permissions on specified - repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - "$ref": "#/components/schemas/nullable-team-simple" - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent enterprise-team: title: Enterprise Team description: Group of enterprise owners and/or members @@ -79466,11 +79943,8 @@ components: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot for new pull + requests, if the author has access to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull @@ -88012,6 +88486,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -88038,29 +88517,8 @@ components: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated hook-response: @@ -205306,6 +205764,103 @@ components: received_events_url: https://api.github.com/users/octocat/received_events type: User site_admin: false + campaign-org-items: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited by + attackers. This reduces risk, prevents breaches and can help protect sensitive + data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + campaign-summary: + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 code-scanning-organization-alert-items: value: - number: 4 diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 1c7ab9a912..f14ec9647d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -179,6 +179,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -64953,62 +64957,2658 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "blocking" - } - }, - "put": { - "summary": "Block a user from an organization", - "description": "Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned.", - "tags": [ - "orgs" - ], - "operationId": "orgs/block-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + }, + "put": { + "summary": "Block a user from an organization", + "description": "Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned.", + "tags": [ + "orgs" + ], + "operationId": "orgs/block-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + }, + "delete": { + "summary": "Unblock a user from an organization", + "description": "Unblocks the given user on behalf of the specified organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/unblock-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + } + }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + } + } + } + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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" + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + } + } }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "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" + } + } + } + } } - } - ], - "responses": { - "204": { - "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -65016,50 +67616,32 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "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" } } } @@ -65070,20 +67652,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "blocking" + "category": "campaigns", + "subcategory": "campaigns" } }, "delete": { - "summary": "Unblock a user from an organization", - "description": "Unblocks the given user on behalf of the specified organization.", + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", "tags": [ - "orgs" + "campaigns" ], - "operationId": "orgs/unblock-user", + "operationId": "campaigns/delete-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization" + "url": "https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization" }, "parameters": [ { @@ -65096,25 +67678,72 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "campaign_number", + "description": "The campaign number.", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { "204": { - "description": "Response" + "description": "Deletion successful" + }, + "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": true, - "category": "orgs", - "subcategory": "blocking" + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -124402,7 +127031,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -125684,7 +128313,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -126973,7 +129602,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -128903,7 +131532,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -130210,7 +132839,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -131495,7 +134124,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -281292,6 +283921,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -281326,42 +283961,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -281628,6 +284234,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -281662,42 +284274,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -407009,7 +409592,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -408721,7 +411304,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -409793,7 +412376,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -411072,7 +413655,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -413021,7 +415604,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -414108,7 +416691,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -415383,7 +417966,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1050924,7 +1053507,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1053773,7 +1056356,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1056622,7 +1059205,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1057622,7 +1060205,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1058450,7 +1061033,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1059281,7 +1061864,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 5403169d09..4abf0ec91d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -847,7 +849,7 @@ paths: - subscriptions_url - type - url - type: &253 + type: &256 type: string description: The type of credit the user is receiving. enum: @@ -1013,7 +1015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &581 + - &584 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1576,7 +1578,7 @@ paths: schema: type: integer default: 30 - - &166 + - &170 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1592,7 +1594,7 @@ paths: application/json: schema: type: array - items: &167 + items: &171 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1672,7 +1674,7 @@ paths: - installation_id - repository_id examples: - default: &168 + default: &172 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1800,7 +1802,7 @@ paths: description: Response content: application/json: - schema: &169 + schema: &173 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1914,7 +1916,7 @@ paths: - request - response examples: - default: &170 + default: &174 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2841,7 +2843,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &232 + properties: &235 id: description: Unique identifier of the repository example: 42 @@ -3270,7 +3272,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &233 + required: &236 - archive_url - assignees_url - blobs_url @@ -7476,7 +7478,7 @@ paths: description: Response content: application/json: - schema: &140 + schema: &143 type: array description: A list of default code security configurations items: @@ -7492,7 +7494,7 @@ paths: default configuration: *42 examples: - default: &141 + default: &144 value: - default_for_new_repos: public configuration: @@ -7800,7 +7802,7 @@ paths: - *41 - *44 responses: - '204': &142 + '204': &145 description: A header with no content is returned. '400': *14 '403': *29 @@ -7927,7 +7929,7 @@ paths: default: value: default_for_new_repos: all - configuration: &139 + configuration: &142 value: id: 1325 target_type: organization @@ -8010,7 +8012,7 @@ paths: application/json: schema: type: array - items: &143 + items: &146 type: object description: Repositories associated with a code security configuration and attachment status @@ -8311,7 +8313,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &144 + repository: &147 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8405,7 +8407,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &149 + - &153 name: state in: query description: |- @@ -8414,7 +8416,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &150 + - &154 name: severity in: query description: |- @@ -8423,7 +8425,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &151 + - &155 name: ecosystem in: query description: |- @@ -8432,14 +8434,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &152 + - &156 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 - - &153 + - &157 name: epss_percentage in: query description: |- @@ -8451,7 +8453,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 - - &154 + - &158 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8461,7 +8463,7 @@ paths: enum: - development - runtime - - &155 + - &159 name: sort in: query description: |- @@ -8479,7 +8481,7 @@ paths: - *48 - *39 - *40 - - &156 + - &160 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8492,7 +8494,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &157 + - &161 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8512,7 +8514,7 @@ paths: application/json: schema: type: array - items: &158 + items: &162 type: object description: A Dependabot alert. properties: @@ -8578,7 +8580,7 @@ paths: - unknown - direct - transitive - security_advisory: &426 + security_advisory: &429 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8797,13 +8799,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &133 + updated_at: &136 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: &135 + dismissed_at: &138 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8833,14 +8835,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &134 + fixed_at: &137 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &427 + auto_dismissed_at: &430 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8866,7 +8868,7 @@ paths: - repository additionalProperties: false examples: - default: &159 + default: &163 value: - number: 2 state: dismissed @@ -9213,7 +9215,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &244 + - &247 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9224,7 +9226,7 @@ paths: enum: - open - resolved - - &245 + - &248 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9234,7 +9236,7 @@ paths: required: false schema: type: string - - &246 + - &249 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9243,7 +9245,7 @@ paths: required: false schema: type: string - - &247 + - &250 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. @@ -9259,7 +9261,7 @@ paths: - *17 - *39 - *40 - - &248 + - &251 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9268,7 +9270,7 @@ paths: required: false schema: type: string - - &249 + - &252 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9277,7 +9279,7 @@ paths: schema: type: boolean default: false - - &250 + - &253 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9293,7 +9295,7 @@ paths: application/json: schema: type: array - items: &251 + items: &254 type: object properties: number: *54 @@ -9312,14 +9314,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &573 + state: &576 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: &574 + resolution: &577 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9421,7 +9423,7 @@ paths: is base64 encoded nullable: true examples: - default: &252 + default: &255 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9757,7 +9759,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &475 + properties: &478 id: type: integer format: int64 @@ -9868,7 +9870,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &411 + properties: &414 url: type: string format: uri @@ -9938,7 +9940,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &412 + required: &415 - closed_issues - creator - description @@ -10017,7 +10019,7 @@ paths: timeline_url: type: string format: uri - type: &189 + type: &192 title: Issue Type description: The type of issue. type: object @@ -10142,7 +10144,7 @@ paths: - total - completed - percent_completed - required: &476 + required: &479 - assignee - closed_at - comments @@ -10164,7 +10166,7 @@ paths: - author_association - created_at - updated_at - comment: &473 + comment: &476 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10731,7 +10733,7 @@ paths: url: type: string format: uri - user: &604 + user: &607 title: Public User description: Public User type: object @@ -12601,7 +12603,7 @@ paths: - closed - all default: open - - &192 + - &195 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12652,7 +12654,7 @@ paths: type: array items: *77 examples: - default: &193 + default: &196 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14036,14 +14038,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &276 + - &279 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &277 + - &280 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14114,7 +14116,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &288 + '301': &291 description: Moved permanently content: application/json: @@ -14136,7 +14138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &505 + - &508 name: all description: If `true`, show notifications marked as read. in: query @@ -14144,7 +14146,7 @@ paths: schema: type: boolean default: false - - &506 + - &509 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14154,7 +14156,7 @@ paths: type: boolean default: false - *67 - - &507 + - &510 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: @@ -14190,7 +14192,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &161 + properties: &165 id: type: integer format: int64 @@ -14466,7 +14468,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &234 + security_and_analysis: &237 nullable: true type: object properties: @@ -14530,7 +14532,7 @@ paths: enum: - enabled - disabled - required: &162 + required: &166 - archive_url - assignees_url - blobs_url @@ -14618,7 +14620,7 @@ paths: - url - subscription_url examples: - default: &508 + default: &511 value: - id: '1' repository: @@ -15160,11 +15162,11 @@ paths: application/json: schema: type: array - items: &199 + items: &202 title: Organization Simple description: A GitHub organization. type: object - properties: &147 + properties: &150 login: type: string example: github @@ -15205,7 +15207,7 @@ paths: type: string example: A great organization nullable: true - required: &148 + required: &151 - login - url - id @@ -15219,7 +15221,7 @@ paths: - avatar_url - description examples: - default: &622 + default: &625 value: - login: github id: 1 @@ -15371,7 +15373,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': &145 + '500': &148 description: Internal Error content: application/json: @@ -16128,7 +16130,7 @@ paths: type: integer repository_cache_usages: type: array - items: &293 + items: &296 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16996,7 +16998,7 @@ paths: - all - local_only - selected - selected_actions_url: &299 + selected_actions_url: &302 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` @@ -17086,7 +17088,7 @@ paths: type: array items: *60 examples: - default: &616 + default: &619 value: total_count: 1 repositories: @@ -17414,7 +17416,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &306 type: object properties: default_workflow_permissions: &112 @@ -17465,7 +17467,7 @@ paths: required: false content: application/json: - schema: &304 + schema: &307 type: object properties: default_workflow_permissions: *112 @@ -17954,7 +17956,7 @@ paths: type: array items: *119 examples: - default: &607 + default: &610 value: total_count: 1 repositories: @@ -18596,7 +18598,7 @@ paths: application/json: schema: type: array - items: &305 + items: &308 title: Runner Application description: Runner Application type: object @@ -18621,7 +18623,7 @@ paths: - download_url - filename examples: - default: &306 + default: &309 value: - os: osx architecture: x64 @@ -18707,7 +18709,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &307 + '201': &310 description: Response content: application/json: @@ -18818,7 +18820,7 @@ paths: - token - expires_at examples: - default: &308 + default: &311 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18857,7 +18859,7 @@ paths: application/json: schema: *123 examples: - default: &309 + default: &312 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18891,7 +18893,7 @@ paths: application/json: schema: *121 examples: - default: &310 + default: &313 value: id: 23 name: MBP @@ -19116,7 +19118,7 @@ paths: - *94 - *120 responses: - '200': &311 + '200': &314 description: Response content: application/json: @@ -19173,7 +19175,7 @@ paths: parameters: - *94 - *120 - - &312 + - &315 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19303,7 +19305,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &327 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19332,7 +19334,7 @@ paths: - key_id - key examples: - default: &325 + default: &328 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19745,7 +19747,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &298 + - &301 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)." @@ -20280,7 +20282,7 @@ paths: bundle_url: type: string examples: - default: &338 + default: &341 value: attestations: - bundle: @@ -20399,7 +20401,7 @@ paths: type: array items: *4 examples: - default: &194 + default: &197 value: - login: octocat id: 1 @@ -20500,6 +20502,684 @@ paths: enabledForGitHubApps: true category: orgs subcategory: blocking + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - *94 + - *19 + - *17 + - *48 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &133 + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &134 + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, + in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: *4 + team_managers: + description: The campaign team managers + type: array + items: &152 + title: Team + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives + permissions on specified repositories. + type: object + properties: &210 + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for + its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should + have + type: string + example: closed + notification_setting: + description: The notification setting the team has + set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps + to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: &211 + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + published_at: + description: The date and time the campaign was published, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign + is still open. + type: string + format: date-time + nullable: true + state: *133 + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link + examples: + default: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited + by attackers. This reduces risk, prevents breaches and can help + protect sensitive data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + headers: + Link: *58 + '404': *6 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - *94 + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: &135 + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '429': + description: Too Many Requests + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: *135 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: *133 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: *135 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -20517,17 +21197,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &364 + - &367 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: &136 + schema: &139 type: string description: The name of the tool used to generate the code scanning analysis. - - &365 + - &368 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 @@ -20535,7 +21215,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &137 + schema: &140 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -20550,7 +21230,7 @@ paths: be returned. in: query required: false - schema: &367 + schema: &370 type: string description: State of a code scanning alert. enum: @@ -20573,7 +21253,7 @@ paths: be returned. in: query required: false - schema: &368 + schema: &371 type: string description: Severity of a code scanning alert. enum: @@ -20596,16 +21276,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: &369 + instances_url: &372 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &138 + state: &141 type: string description: State of a code scanning alert. nullable: true @@ -20613,7 +21293,7 @@ paths: - open - dismissed - fixed - fixed_at: *134 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -20621,8 +21301,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: &370 + dismissed_at: *138 + dismissed_reason: &373 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20631,13 +21311,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &371 + dismissed_comment: &374 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &372 + rule: &375 type: object properties: id: @@ -20690,25 +21370,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &373 + tool: &376 type: object properties: - name: *136 + name: *139 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *137 - most_recent_instance: &374 + guid: *140 + most_recent_instance: &377 type: object properties: - ref: &366 + ref: &369 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &384 + analysis_key: &387 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20719,13 +21399,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &385 + category: &388 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: *138 + state: *141 commit_sha: type: string message: @@ -21351,7 +22031,7 @@ paths: application/json: schema: *42 examples: - default: *139 + default: *142 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21379,9 +22059,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 + default: *144 '304': *37 '403': *29 '404': *6 @@ -21430,7 +22110,7 @@ paths: - 32 - 91 responses: - '204': *142 + '204': *145 '400': *14 '403': *29 '404': *6 @@ -21465,7 +22145,7 @@ paths: application/json: schema: *42 examples: - default: *139 + default: *142 '304': *37 '403': *29 '404': *6 @@ -21727,7 +22407,7 @@ paths: - *94 - *44 responses: - '204': *142 + '204': *145 '400': *14 '403': *29 '404': *6 @@ -21865,7 +22545,7 @@ paths: default: value: default_for_new_repos: all - configuration: *139 + configuration: *142 '403': *29 '404': *6 x-github: @@ -21918,13 +22598,13 @@ paths: application/json: schema: type: array - items: *143 + items: *146 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *144 + repository: *147 '403': *29 '404': *6 x-github: @@ -21964,7 +22644,7 @@ paths: type: integer codespaces: type: array - items: &195 + items: &198 type: object title: Codespace description: A codespace. @@ -21994,7 +22674,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &397 + properties: &400 name: type: string description: The name of the machine. @@ -22036,7 +22716,7 @@ paths: - ready - in_progress nullable: true - required: &398 + required: &401 - name - display_name - operating_system @@ -22241,7 +22921,7 @@ paths: - pulls_url - recent_folders examples: - default: &196 + default: &199 value: total_count: 3 codespaces: @@ -22651,7 +23331,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -22717,7 +23397,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22772,7 +23452,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22826,7 +23506,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22865,7 +23545,7 @@ paths: type: integer secrets: type: array - items: &146 + items: &149 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -22904,7 +23584,7 @@ paths: - updated_at - visibility examples: - default: &399 + default: &402 value: total_count: 2 secrets: @@ -22942,7 +23622,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22971,7 +23651,7 @@ paths: - key_id - key examples: - default: &401 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23001,9 +23681,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: &403 + default: &406 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23415,7 +24095,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23470,7 +24150,7 @@ paths: currently being billed. seats: type: array - items: &198 + items: &201 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -23481,152 +24161,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *147 - required: *148 + properties: *150 + required: *151 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &188 - title: Team - description: Groups of organization members that gives - permissions on specified repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - title: Team Simple - description: Groups of organization members that gives - permissions on specified repositories. - type: object - properties: &207 - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have - for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should - have - type: string - example: closed - notification_setting: - description: The notification setting the team - has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team - maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: &208 - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent + - *152 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -23791,7 +24333,7 @@ paths: site_admin: false headers: Link: *58 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23866,7 +24408,7 @@ paths: default: value: seats_created: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23944,7 +24486,7 @@ paths: default: value: seats_cancelled: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24023,7 +24565,7 @@ paths: default: value: seats_created: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24101,7 +24643,7 @@ paths: default: value: seats_cancelled: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24172,7 +24714,7 @@ paths: application/json: schema: type: array - items: &258 + items: &261 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24479,7 +25021,7 @@ paths: - date additionalProperties: true examples: - default: &259 + default: &262 value: - date: '2024-06-24' total_active_users: 24 @@ -24578,10 +25120,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *145 + '500': *148 '403': *29 '404': *6 - '422': &260 + '422': &263 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24609,18 +25151,18 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *94 - - *149 - - *150 - - *151 - - *152 - *153 - *154 - *155 + - *156 + - *157 + - *158 + - *159 - *48 - *39 - *40 - - *156 - - *157 + - *160 + - *161 - *17 responses: '200': @@ -24629,9 +25171,9 @@ paths: application/json: schema: type: array - items: *158 + items: *162 examples: - default: *159 + default: *163 '304': *37 '400': *14 '403': *29 @@ -24675,7 +25217,7 @@ paths: type: integer secrets: type: array - items: &160 + items: &164 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24752,7 +25294,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &433 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24769,7 +25311,7 @@ paths: - key_id - key examples: - default: &431 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24799,7 +25341,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *164 examples: default: value: @@ -25096,7 +25638,7 @@ paths: application/json: schema: type: array - items: &210 + items: &213 title: Package description: A software package type: object @@ -25146,8 +25688,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *161 - required: *162 + properties: *165 + required: *166 nullable: true created_at: type: string @@ -25166,7 +25708,7 @@ paths: - created_at - updated_at examples: - default: &211 + default: &214 value: - id: 197 name: hello_docker @@ -25333,7 +25875,7 @@ paths: application/json: schema: type: array - items: &185 + items: &189 title: Organization Invitation description: Organization Invitation type: object @@ -25380,7 +25922,7 @@ paths: - invitation_teams_url - node_id examples: - default: &186 + default: &190 value: - id: 1 login: monalisa @@ -25447,7 +25989,7 @@ paths: application/json: schema: type: array - items: &163 + items: &167 title: Org Hook description: Org Hook type: object @@ -25618,9 +26160,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: - default: &164 + default: &168 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25668,7 +26210,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *94 - - &165 + - &169 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -25681,9 +26223,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: - default: *164 + default: *168 '404': *6 x-github: githubCloudOnly: false @@ -25711,7 +26253,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *94 - - *165 + - *169 requestBody: required: false content: @@ -25756,7 +26298,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -25798,7 +26340,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *94 - - *165 + - *169 responses: '204': description: Response @@ -25826,7 +26368,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *94 - - *165 + - *169 responses: '200': description: Response @@ -25857,7 +26399,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *94 - - *165 + - *169 requestBody: required: false content: @@ -25908,9 +26450,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *17 - - *166 + - *170 responses: '200': description: Response @@ -25918,9 +26460,9 @@ paths: application/json: schema: type: array - items: *167 + items: *171 examples: - default: *168 + default: *172 '400': *14 '422': *15 x-github: @@ -25946,16 +26488,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *16 responses: '200': description: Response content: application/json: - schema: *169 + schema: *173 examples: - default: *170 + default: *174 '400': *14 '422': *15 x-github: @@ -25981,7 +26523,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *16 responses: '202': *47 @@ -26011,7 +26553,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *94 - - *165 + - *169 responses: '204': description: Response @@ -26034,7 +26576,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *94 - - &175 + - &179 name: actor_type in: path description: The type of the actor @@ -26047,14 +26589,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &176 + - &180 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &171 + - &175 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -26062,7 +26604,7 @@ paths: required: true schema: type: string - - &172 + - &176 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -26156,12 +26698,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *94 - - *171 - - *172 + - *175 + - *176 - *19 - *17 - *48 - - &181 + - &185 name: sort description: The property to sort the results by. in: query @@ -26240,14 +26782,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *94 - - *171 - - *172 + - *175 + - *176 responses: '200': description: Response content: application/json: - schema: &173 + schema: &177 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -26263,7 +26805,7 @@ paths: type: integer format: int64 examples: - default: &174 + default: &178 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -26284,23 +26826,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *94 - - &177 + - &181 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *171 - - *172 + - *175 + - *176 responses: '200': description: Response content: application/json: - schema: *173 + schema: *177 examples: - default: *174 + default: *178 x-github: enabledForGitHubApps: true category: orgs @@ -26319,18 +26861,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *94 - - *171 - - *172 - *175 - *176 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: *173 + schema: *177 examples: - default: *174 + default: *178 x-github: enabledForGitHubApps: true category: orgs @@ -26348,9 +26890,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *94 - - *171 - - *172 - - &178 + - *175 + - *176 + - &182 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -26363,7 +26905,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &183 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -26379,7 +26921,7 @@ paths: type: integer format: int64 examples: - default: &180 + default: &184 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -26416,18 +26958,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *94 - - *177 - - *171 - - *172 - - *178 + - *181 + - *175 + - *176 + - *182 responses: '200': description: Response content: application/json: - schema: *179 + schema: *183 examples: - default: *180 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -26445,19 +26987,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *94 + - *179 + - *180 - *175 - *176 - - *171 - - *172 - - *178 + - *182 responses: '200': description: Response content: application/json: - schema: *179 + schema: *183 examples: - default: *180 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -26475,13 +27017,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *94 - - *177 - - *171 - - *172 + - *181 + - *175 + - *176 - *19 - *17 - *48 - - *181 + - *185 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -26562,7 +27104,7 @@ paths: application/json: schema: *22 examples: - default: &469 + default: &472 value: id: 1 account: @@ -26728,12 +27270,12 @@ paths: application/json: schema: anyOf: - - &183 + - &187 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &182 + limit: &186 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26758,7 +27300,7 @@ paths: properties: {} additionalProperties: false examples: - default: &184 + default: &188 value: limit: collaborators_only origin: organization @@ -26787,13 +27329,13 @@ paths: required: true content: application/json: - schema: &470 + schema: &473 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *182 + limit: *186 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26817,9 +27359,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: - default: *184 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -26895,9 +27437,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 '404': *6 @@ -26974,7 +27516,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *189 examples: default: value: @@ -27029,7 +27571,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &187 + - &191 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27060,7 +27602,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *187 + - *191 - *17 - *19 responses: @@ -27070,9 +27612,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: &209 + default: &212 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27115,7 +27657,7 @@ paths: application/json: schema: type: array - items: *189 + items: *192 examples: default: value: @@ -27200,9 +27742,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *192 examples: - default: &190 + default: &193 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -27235,7 +27777,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *94 - - &191 + - &194 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -27288,9 +27830,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *192 examples: - default: *190 + default: *193 '404': *6 '422': *7 x-github: @@ -27315,7 +27857,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *94 - - *191 + - *194 responses: '204': description: Response @@ -27378,7 +27920,7 @@ paths: - closed - all default: open - - *192 + - *195 - name: type description: Can be the name of an issue type. in: query @@ -27409,7 +27951,7 @@ paths: type: array items: *77 examples: - default: *193 + default: *196 headers: Link: *58 '404': *6 @@ -27467,7 +28009,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '422': *15 @@ -27563,11 +28105,11 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27592,7 +28134,7 @@ paths: parameters: - *94 - *132 - - &197 + - &200 name: codespace_name in: path required: true @@ -27602,7 +28144,7 @@ paths: responses: '202': *47 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27627,15 +28169,15 @@ paths: parameters: - *94 - *132 - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: &396 + default: &399 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27777,7 +28319,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27815,7 +28357,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -27858,7 +28400,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27890,7 +28432,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &203 title: Org Membership description: Org Membership type: object @@ -27919,7 +28461,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *199 + organization: *202 user: title: Simple User description: A GitHub user. @@ -27942,7 +28484,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &201 + response-if-user-has-an-active-admin-membership-with-organization: &204 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28039,9 +28581,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: - response-if-user-already-had-membership-with-organization: *201 + response-if-user-already-had-membership-with-organization: *204 '422': *15 '403': *29 x-github: @@ -28109,7 +28651,7 @@ paths: application/json: schema: type: array - items: &202 + items: &205 title: Migration description: A migration. type: object @@ -28438,7 +28980,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -28617,7 +29159,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &203 + - &206 name: migration_id description: The unique identifier of the migration. in: path @@ -28644,7 +29186,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -28814,7 +29356,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *203 + - *206 responses: '302': description: Response @@ -28836,7 +29378,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *203 + - *206 responses: '204': description: Response @@ -28860,8 +29402,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *203 - - &621 + - *206 + - &624 name: repo_name description: repo_name parameter in: path @@ -28889,7 +29431,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *203 + - *206 - *17 - *19 responses: @@ -28901,7 +29443,7 @@ paths: type: array items: *119 examples: - default: &216 + default: &219 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29054,7 +29596,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &206 + items: &209 title: Organization Role description: Organization roles type: object @@ -29202,7 +29744,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - &204 + - &207 name: team_slug description: The slug of the team name. in: path @@ -29234,8 +29776,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *204 - - &205 + - *207 + - &208 name: role_id description: The unique identifier of the role. in: path @@ -29271,8 +29813,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *204 - - *205 + - *207 + - *208 responses: '204': description: Response @@ -29325,7 +29867,7 @@ paths: parameters: - *94 - *132 - - *205 + - *208 responses: '204': description: Response @@ -29357,7 +29899,7 @@ paths: parameters: - *94 - *132 - - *205 + - *208 responses: '204': description: Response @@ -29386,13 +29928,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *205 + - *208 responses: '200': description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -29443,7 +29985,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *205 + - *208 - *17 - *19 responses: @@ -29521,8 +30063,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 nullable: true required: - id @@ -29537,7 +30079,7 @@ paths: - slug - parent examples: - default: *209 + default: *212 headers: Link: *58 '404': @@ -29567,7 +30109,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *205 + - *208 - *17 - *19 responses: @@ -29595,13 +30137,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &254 + items: &257 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 name: nullable: true type: string @@ -29696,7 +30238,7 @@ paths: - type - url examples: - default: *194 + default: *197 headers: Link: *58 '404': @@ -29744,7 +30286,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -29886,7 +30428,7 @@ paths: - nuget - container - *94 - - &623 + - &626 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29922,12 +30464,12 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *211 + default: *214 '403': *29 '401': *25 - '400': &625 + '400': &628 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29949,7 +30491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &212 + - &215 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -29967,7 +30509,7 @@ paths: - docker - nuget - container - - &213 + - &216 name: package_name description: The name of the package. in: path @@ -29980,7 +30522,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *213 examples: default: value: @@ -30032,8 +30574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 responses: '204': @@ -30066,8 +30608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - name: token description: package token @@ -30100,8 +30642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - *19 - *17 @@ -30122,7 +30664,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Package Version description: A version of a software package type: object @@ -30247,10 +30789,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - - &215 + - &218 name: package_version_id description: Unique identifier of the package version. in: path @@ -30262,7 +30804,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -30298,10 +30840,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *212 - - *213 - - *94 - *215 + - *216 + - *94 + - *218 responses: '204': description: Response @@ -30333,10 +30875,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *212 - - *213 - - *94 - *215 + - *216 + - *94 + - *218 responses: '204': description: Response @@ -30366,7 +30908,7 @@ paths: - *94 - *17 - *19 - - &217 + - &220 name: sort description: The property by which to sort the results. in: query @@ -30377,7 +30919,7 @@ paths: - created_at default: created_at - *48 - - &218 + - &221 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30388,7 +30930,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &219 + - &222 name: repository description: The name of the repository to use to filter the results. in: query @@ -30396,7 +30938,7 @@ paths: schema: type: string example: Hello-World - - &220 + - &223 name: permission description: The permission to use to filter the results. in: query @@ -30404,7 +30946,7 @@ paths: schema: type: string example: issues_read - - &221 + - &224 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30414,7 +30956,7 @@ paths: schema: type: string format: date-time - - &222 + - &225 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30424,7 +30966,7 @@ paths: schema: type: string format: date-time - - &223 + - &226 name: token_id description: The ID of the token in: query @@ -30436,7 +30978,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30629,7 +31171,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30690,11 +31232,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30726,7 +31268,7 @@ paths: - *17 - *19 responses: - '500': *145 + '500': *148 '404': *6 '403': *29 '200': @@ -30737,7 +31279,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -30763,16 +31305,16 @@ paths: - *94 - *17 - *19 - - *217 - - *48 - - *218 - - *219 - *220 + - *48 - *221 - *222 - *223 + - *224 + - *225 + - *226 responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30954,7 +31496,7 @@ paths: - 1296269 - 1296280 responses: - '500': *145 + '500': *148 '404': *6 '202': *47 '403': *29 @@ -31007,9 +31549,9 @@ paths: value: action: revoke responses: - '500': *145 + '500': *148 '404': *6 - '204': *142 + '204': *145 '403': *29 '422': *15 x-github: @@ -31041,7 +31583,7 @@ paths: - *17 - *19 responses: - '500': *145 + '500': *148 '404': *6 '403': *29 '200': @@ -31052,7 +31594,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -31096,7 +31638,7 @@ paths: type: integer configurations: type: array - items: &224 + items: &227 title: Organization private registry description: Private registry configuration for an organization type: object @@ -31302,7 +31844,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &225 + org-private-registry-with-selected-visibility: &228 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -31402,9 +31944,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *224 + schema: *227 examples: - default: *225 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -31554,7 +32096,7 @@ paths: application/json: schema: type: array - items: &226 + items: &229 title: Project description: Projects are a way to organize columns and cards of work. @@ -31727,7 +32269,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: default: value: @@ -31765,7 +32307,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &285 + '410': &288 description: Gone content: application/json: @@ -31800,7 +32342,7 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31866,7 +32408,7 @@ paths: - property_name - value_type examples: - default: &228 + default: &231 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31925,7 +32467,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *227 + items: *230 minItems: 1 maxItems: 100 required: @@ -31955,9 +32497,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 '403': *29 '404': *6 x-github: @@ -31979,7 +32521,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &229 + - &232 name: custom_property_name description: The custom property name in: path @@ -31991,9 +32533,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: &230 + default: &233 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32028,7 +32570,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *229 + - *232 requestBody: required: true content: @@ -32097,9 +32639,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *230 + default: *233 '403': *29 '404': *6 x-github: @@ -32123,9 +32665,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *229 + - *232 responses: - '204': *142 + '204': *145 '403': *29 '404': *6 x-github: @@ -32184,7 +32726,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &231 + items: &234 title: Custom Property Value description: Custom property name and associated value type: object @@ -32271,7 +32813,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *231 + items: *234 required: - repository_names - properties @@ -32324,7 +32866,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -32463,7 +33005,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -32665,7 +33207,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &290 title: Full Repository description: Full Repository type: object @@ -32942,8 +33484,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true temp_clone_token: type: string @@ -33058,7 +33600,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &418 + properties: &421 url: type: string format: uri @@ -33074,12 +33616,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &419 + required: &422 - url - key - name - html_url - security_and_analysis: *234 + security_and_analysis: *237 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -33163,7 +33705,7 @@ paths: - network_count - subscribers_count examples: - default: &289 + default: &292 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33684,7 +34226,7 @@ paths: - *94 - *17 - *19 - - &558 + - &561 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33702,7 +34244,7 @@ paths: application/json: schema: type: array - items: &241 + items: &244 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33737,7 +34279,7 @@ paths: source: type: string description: The name of the source - enforcement: &237 + enforcement: &240 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33750,7 +34292,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &238 + items: &241 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33815,7 +34357,7 @@ paths: conditions: nullable: true anyOf: - - &235 + - &238 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33839,7 +34381,7 @@ paths: match. items: type: string - - &239 + - &242 title: Organization ruleset conditions type: object description: |- @@ -33853,7 +34395,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33887,7 +34429,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33909,7 +34451,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33922,7 +34464,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &236 + items: &239 title: Repository ruleset property targeting definition type: object @@ -33955,17 +34497,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *236 + items: *239 required: - repository_property rules: type: array - items: &240 + items: &243 title: Repository Rule type: object description: A repository rule. oneOf: - - &536 + - &539 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33977,7 +34519,7 @@ paths: type: string enum: - creation - - &537 + - &540 title: update description: Only allow users with bypass permission to update matching refs. @@ -33998,7 +34540,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &539 + - &542 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34010,7 +34552,7 @@ paths: type: string enum: - deletion - - &540 + - &543 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34022,7 +34564,7 @@ paths: type: string enum: - required_linear_history - - &541 + - &544 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34100,7 +34642,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &542 + - &545 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34124,7 +34666,7 @@ paths: type: string required: - required_deployment_environments - - &543 + - &546 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34136,7 +34678,7 @@ paths: type: string enum: - required_signatures - - &544 + - &547 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34165,11 +34707,9 @@ paths: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot + for new pull requests, if the author has access + to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will @@ -34200,7 +34740,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &545 + - &548 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34248,7 +34788,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &546 + - &549 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34260,7 +34800,7 @@ paths: type: string enum: - non_fast_forward - - &547 + - &550 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34296,7 +34836,7 @@ paths: required: - operator - pattern - - &548 + - &551 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34332,7 +34872,7 @@ paths: required: - operator - pattern - - &549 + - &552 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34368,7 +34908,7 @@ paths: required: - operator - pattern - - &550 + - &553 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34404,7 +34944,7 @@ paths: required: - operator - pattern - - &551 + - &554 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34440,7 +34980,7 @@ paths: required: - operator - pattern - - &552 + - &555 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -34465,7 +35005,7 @@ paths: type: string required: - restricted_file_paths - - &553 + - &556 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -34489,7 +35029,7 @@ paths: maximum: 256 required: - max_file_path_length - - &554 + - &557 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -34512,7 +35052,7 @@ paths: type: string required: - restricted_file_extensions - - &555 + - &558 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -34537,7 +35077,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &559 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34587,7 +35127,7 @@ paths: - repository_id required: - workflows - - &557 + - &560 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34684,7 +35224,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -34721,16 +35261,16 @@ paths: - push - repository default: branch - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *239 + items: *241 + conditions: *242 rules: type: array description: An array of rules within the ruleset. - items: *240 + items: *243 required: - name - enforcement @@ -34768,9 +35308,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &242 + default: &245 value: id: 21 name: super cool ruleset @@ -34810,7 +35350,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -34825,7 +35365,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &559 + - &562 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 @@ -34840,7 +35380,7 @@ paths: in: query schema: type: string - - &560 + - &563 name: time_period description: |- The time period to filter by. @@ -34856,14 +35396,14 @@ paths: - week - month default: day - - &561 + - &564 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 - - &562 + - &565 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34883,7 +35423,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &566 title: Rule Suites description: Response type: array @@ -34938,7 +35478,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &567 value: - id: 21 actor_id: 12 @@ -34962,7 +35502,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34982,7 +35522,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &565 + - &568 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34998,7 +35538,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &569 title: Rule Suite description: Response type: object @@ -35097,7 +35637,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &570 value: id: 21 actor_id: 12 @@ -35132,7 +35672,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35170,11 +35710,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 - '500': *145 + '500': *148 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -35216,16 +35756,16 @@ paths: - tag - push - repository - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *239 + items: *241 + conditions: *242 rules: description: An array of rules within the ruleset. type: array - items: *240 + items: *243 examples: default: value: @@ -35260,11 +35800,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 - '500': *145 + '500': *148 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -35291,7 +35831,7 @@ paths: '204': description: Response '404': *6 - '500': *145 + '500': *148 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -35319,7 +35859,7 @@ paths: application/json: schema: type: array - items: &243 + items: &246 title: Ruleset version type: object description: The historical version of a ruleset @@ -35343,7 +35883,7 @@ paths: type: string format: date-time examples: - default: &569 + default: &572 value: - version_id: 3 actor: @@ -35361,7 +35901,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35396,9 +35936,9 @@ paths: description: Response content: application/json: - schema: &570 + schema: &573 allOf: - - *243 + - *246 - type: object required: - state @@ -35445,7 +35985,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35468,14 +36008,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *244 - - *245 - - *246 - *247 + - *248 + - *249 + - *250 - *48 - *19 - *17 - - &571 + - &574 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 @@ -35485,7 +36025,7 @@ paths: required: false schema: type: string - - &572 + - &575 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 @@ -35495,9 +36035,9 @@ paths: required: false schema: type: string - - *248 - - *249 - - *250 + - *251 + - *252 + - *253 responses: '200': description: Response @@ -35505,9 +36045,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 headers: Link: *58 '404': *6 @@ -35577,7 +36117,7 @@ paths: application/json: schema: type: array - items: &579 + items: &582 description: A repository security advisory. type: object properties: @@ -35797,7 +36337,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 credits_detailed: type: array nullable: true @@ -35807,7 +36347,7 @@ paths: type: object properties: user: *4 - type: *253 + type: *256 state: type: string description: The state of the user's acceptance of the @@ -35831,7 +36371,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *188 + items: *152 private_fork: readOnly: true nullable: true @@ -35868,7 +36408,7 @@ paths: - private_fork additionalProperties: false examples: - default: &580 + default: &583 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36255,9 +36795,9 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36281,7 +36821,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -36307,7 +36847,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -36342,7 +36882,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &642 type: object properties: total_minutes_used: @@ -36412,7 +36952,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &640 + default: &643 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36448,7 +36988,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &644 type: object properties: total_gigabytes_bandwidth_used: @@ -36466,7 +37006,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &642 + default: &645 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36498,7 +37038,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &646 type: object properties: days_left_in_billing_cycle: @@ -36516,7 +37056,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &644 + default: &647 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36558,7 +37098,7 @@ paths: type: integer network_configurations: type: array - items: &255 + items: &258 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -36678,9 +37218,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: &256 + default: &259 value: id: 123456789ABCDEF name: My network configuration @@ -36709,7 +37249,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - &257 + - &260 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -36721,9 +37261,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: *256 + default: *259 headers: Link: *58 x-github: @@ -36745,7 +37285,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - *257 + - *260 requestBody: required: true content: @@ -36784,9 +37324,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: *256 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36806,7 +37346,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *94 - - *257 + - *260 responses: '204': description: Response @@ -36914,7 +37454,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *204 + - *207 - 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`). @@ -36946,13 +37486,13 @@ paths: application/json: schema: type: array - items: *258 + items: *261 examples: - default: *259 - '500': *145 + default: *262 + '500': *148 '403': *29 '404': *6 - '422': *260 + '422': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36980,9 +37520,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 headers: Link: *58 '403': *29 @@ -37076,7 +37616,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &264 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37139,8 +37679,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 nullable: true members_count: type: integer @@ -37386,7 +37926,7 @@ paths: - repos_count - organization examples: - default: &262 + default: &265 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37457,15 +37997,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *204 + - *207 responses: '200': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 x-github: githubCloudOnly: false @@ -37487,7 +38027,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *204 + - *207 requestBody: required: false content: @@ -37549,16 +38089,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '201': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 '422': *15 '403': *29 @@ -37584,7 +38124,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -37611,7 +38151,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *204 + - *207 - *48 - *17 - *19 @@ -37628,7 +38168,7 @@ paths: application/json: schema: type: array - items: &263 + items: &266 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -37727,7 +38267,7 @@ paths: - updated_at - url examples: - default: &594 + default: &597 value: - author: login: octocat @@ -37802,7 +38342,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *204 + - *207 requestBody: required: true content: @@ -37836,9 +38376,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: &264 + default: &267 value: author: login: octocat @@ -37911,8 +38451,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *204 - - &265 + - *207 + - &268 name: discussion_number description: The number that identifies the discussion. in: path @@ -37924,9 +38464,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37949,8 +38489,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: false content: @@ -37973,9 +38513,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: &595 + default: &598 value: author: login: octocat @@ -38046,8 +38586,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 responses: '204': description: Response @@ -38074,8 +38614,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *204 - - *265 + - *207 + - *268 - *48 - *17 - *19 @@ -38086,7 +38626,7 @@ paths: application/json: schema: type: array - items: &266 + items: &269 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38158,7 +38698,7 @@ paths: - updated_at - url examples: - default: &596 + default: &599 value: - author: login: octocat @@ -38227,8 +38767,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: true content: @@ -38250,9 +38790,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: &267 + default: &270 value: author: login: octocat @@ -38319,9 +38859,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *204 - - *265 - - &268 + - *207 + - *268 + - &271 name: comment_number description: The number that identifies the comment. in: path @@ -38333,9 +38873,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38358,9 +38898,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 requestBody: required: true content: @@ -38382,9 +38922,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: &597 + default: &600 value: author: login: octocat @@ -38449,9 +38989,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 responses: '204': description: Response @@ -38478,9 +39018,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 - 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. @@ -38506,7 +39046,7 @@ paths: application/json: schema: type: array - items: &269 + items: &272 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38549,7 +39089,7 @@ paths: - content - created_at examples: - default: &271 + default: &274 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38600,9 +39140,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 requestBody: required: true content: @@ -38635,9 +39175,9 @@ paths: team discussion comment content: application/json: - schema: *269 + schema: *272 examples: - default: &270 + default: &273 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38666,9 +39206,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38692,10 +39232,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *204 - - *265 + - *207 - *268 - - &272 + - *271 + - &275 name: reaction_id description: The unique identifier of the reaction. in: path @@ -38728,8 +39268,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 - 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. @@ -38755,9 +39295,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -38784,8 +39324,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: true content: @@ -38817,16 +39357,16 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38850,9 +39390,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *204 - - *265 - - *272 + - *207 + - *268 + - *275 responses: '204': description: Response @@ -38877,7 +39417,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -38887,9 +39427,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 x-github: @@ -38912,7 +39452,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *204 + - *207 - name: role description: Filters members returned by their role in the team. in: query @@ -38935,7 +39475,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -38966,14 +39506,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 responses: '200': description: Response content: application/json: - schema: &273 + schema: &276 title: Team Membership description: Team Membership type: object @@ -39000,7 +39540,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &598 + response-if-user-is-a-team-maintainer: &601 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39037,7 +39577,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 requestBody: required: false @@ -39063,9 +39603,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-users-membership-with-team-is-now-pending: &599 + response-if-users-membership-with-team-is-now-pending: &602 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39101,7 +39641,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 responses: '204': @@ -39128,7 +39668,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -39138,7 +39678,7 @@ paths: application/json: schema: type: array - items: &274 + items: &277 title: Team Project description: A team's access to a project. type: object @@ -39206,7 +39746,7 @@ paths: - updated_at - permissions examples: - default: &600 + default: &603 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39270,8 +39810,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *204 - - &275 + - *207 + - &278 name: project_id description: The unique identifier of the project. in: path @@ -39283,9 +39823,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: &601 + default: &604 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39348,8 +39888,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *204 - - *275 + - *207 + - *278 requestBody: required: false content: @@ -39416,8 +39956,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *204 - - *275 + - *207 + - *278 responses: '204': description: Response @@ -39445,7 +39985,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -39457,7 +39997,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -39487,15 +40027,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &602 + schema: &605 title: Team Repository description: A team's access to a repository. type: object @@ -40065,9 +40605,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 requestBody: required: false content: @@ -40113,9 +40653,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 responses: '204': description: Response @@ -40140,7 +40680,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -40150,9 +40690,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - response-if-child-teams-exist: &603 + response-if-child-teams-exist: &606 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -40279,7 +40819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &278 + - &281 name: card_id description: The unique identifier of the card. in: path @@ -40291,7 +40831,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &282 title: Project Card description: Project cards represent a scope of work. type: object @@ -40358,7 +40898,7 @@ paths: - created_at - updated_at examples: - default: &280 + default: &283 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40414,7 +40954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *278 + - *281 requestBody: required: false content: @@ -40441,9 +40981,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - default: *280 + default: *283 '304': *37 '403': *29 '401': *25 @@ -40470,7 +41010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *278 + - *281 responses: '204': description: Response @@ -40514,7 +41054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *278 + - *281 requestBody: required: true content: @@ -40625,7 +41165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &281 + - &284 name: column_id description: The unique identifier of the column. in: path @@ -40637,7 +41177,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &285 title: Project Column description: Project columns contain cards of work. type: object @@ -40683,7 +41223,7 @@ paths: - created_at - updated_at examples: - default: &283 + default: &286 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -40718,7 +41258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *281 + - *284 requestBody: required: true content: @@ -40742,9 +41282,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '304': *37 '403': *29 '401': *25 @@ -40769,7 +41309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *281 + - *284 responses: '204': description: Response @@ -40798,7 +41338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *281 + - *284 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40819,7 +41359,7 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: value: @@ -40878,7 +41418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *281 + - *284 requestBody: required: true content: @@ -40918,9 +41458,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - default: *280 + default: *283 '304': *37 '403': *29 '401': *25 @@ -40976,7 +41516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *281 + - *284 requestBody: required: true content: @@ -41036,15 +41576,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *275 + - *278 responses: '200': description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: &284 + default: &287 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41101,7 +41641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *275 + - *278 requestBody: required: false content: @@ -41147,9 +41687,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *284 + default: *287 '404': description: Not Found if the authenticated user does not have access to the project @@ -41170,7 +41710,7 @@ paths: items: type: string '401': *25 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -41193,7 +41733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *275 + - *278 responses: '204': description: Delete Success @@ -41214,7 +41754,7 @@ paths: items: type: string '401': *25 - '410': *285 + '410': *288 '404': *6 x-github: githubCloudOnly: false @@ -41238,7 +41778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *275 + - *278 - 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 @@ -41265,7 +41805,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -41295,7 +41835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *275 + - *278 - *132 requestBody: required: false @@ -41348,7 +41888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *275 + - *278 - *132 responses: '204': @@ -41380,7 +41920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *275 + - *278 - *132 responses: '200': @@ -41454,7 +41994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *275 + - *278 - *17 - *19 responses: @@ -41464,7 +42004,7 @@ paths: application/json: schema: type: array - items: *282 + items: *285 examples: default: value: @@ -41502,7 +42042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *275 + - *278 requestBody: required: true content: @@ -41525,7 +42065,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: default: value: @@ -41589,7 +42129,7 @@ paths: resources: type: object properties: - core: &286 + core: &289 title: Rate Limit type: object properties: @@ -41606,20 +42146,20 @@ paths: - remaining - reset - used - graphql: *286 - search: *286 - code_search: *286 - source_import: *286 - integration_manifest: *286 - code_scanning_upload: *286 - actions_runner_registration: *286 - scim: *286 - dependency_snapshots: *286 - code_scanning_autofix: *286 + graphql: *289 + search: *289 + code_search: *289 + source_import: *289 + integration_manifest: *289 + code_scanning_upload: *289 + actions_runner_registration: *289 + scim: *289 + dependency_snapshots: *289 + code_scanning_autofix: *289 required: - core - search - rate: *286 + rate: *289 required: - rate - resources @@ -41723,14 +42263,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: default-response: summary: Default response @@ -42231,7 +42771,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *288 + '301': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42249,8 +42789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -42494,10 +43034,10 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 - '307': &290 + default: *292 + '307': &293 description: Temporary Redirect content: application/json: @@ -42526,8 +43066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -42549,7 +43089,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *290 + '307': *293 '404': *6 x-github: githubCloudOnly: false @@ -42572,11 +43112,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - - &316 + - &319 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42599,7 +43139,7 @@ paths: type: integer artifacts: type: array - items: &291 + items: &294 title: Artifact description: An artifact type: object @@ -42677,7 +43217,7 @@ paths: - expires_at - updated_at examples: - default: &317 + default: &320 value: total_count: 2 artifacts: @@ -42738,9 +43278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *276 - - *277 - - &292 + - *279 + - *280 + - &295 name: artifact_id description: The unique identifier of the artifact. in: path @@ -42752,7 +43292,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -42790,9 +43330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *276 - - *277 - - *292 + - *279 + - *280 + - *295 responses: '204': description: Response @@ -42816,9 +43356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *276 - - *277 - - *292 + - *279 + - *280 + - *295 - name: archive_format in: path required: true @@ -42832,7 +43372,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': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42855,14 +43395,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: default: value: @@ -42888,11 +43428,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - - &294 + - &297 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 @@ -42926,7 +43466,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &298 title: Repository actions caches description: Repository actions caches type: object @@ -42968,7 +43508,7 @@ paths: - total_count - actions_caches examples: - default: &296 + default: &299 value: total_count: 1 actions_caches: @@ -43000,23 +43540,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: - - *276 - - *277 + - *279 + - *280 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *294 + - *297 responses: '200': description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43036,8 +43576,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: - - *276 - - *277 + - *279 + - *280 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43068,9 +43608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *276 - - *277 - - &297 + - *279 + - *280 + - &300 name: job_id description: The unique identifier of the job. in: path @@ -43082,7 +43622,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &323 title: Job description: Information of a job execution in a workflow run type: object @@ -43389,9 +43929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *276 - - *277 - - *297 + - *279 + - *280 + - *300 responses: '302': description: Response @@ -43419,9 +43959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *276 - - *277 - - *297 + - *279 + - *280 + - *300 requestBody: required: false content: @@ -43466,8 +44006,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Status response @@ -43517,8 +44057,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -43581,8 +44121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -43600,7 +44140,7 @@ paths: type: integer secrets: type: array - items: &322 + items: &325 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43620,7 +44160,7 @@ paths: - created_at - updated_at examples: - default: &323 + default: &326 value: total_count: 2 secrets: @@ -43653,9 +44193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *276 - - *277 - - *298 + - *279 + - *280 + - *301 - *19 responses: '200': @@ -43672,7 +44212,7 @@ paths: type: integer variables: type: array - items: &326 + items: &329 title: Actions Variable type: object properties: @@ -43702,7 +44242,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &330 value: total_count: 2 variables: @@ -43735,8 +44275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -43745,11 +44285,11 @@ paths: schema: type: object properties: - enabled: &300 + enabled: &303 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *299 + selected_actions_url: *302 required: - enabled examples: @@ -43776,8 +44316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -43788,7 +44328,7 @@ paths: schema: type: object properties: - enabled: *300 + enabled: *303 allowed_actions: *108 required: - enabled @@ -43818,14 +44358,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &301 + schema: &304 type: object properties: access_level: @@ -43842,7 +44382,7 @@ paths: required: - access_level examples: - default: &302 + default: &305 value: access_level: organization x-github: @@ -43866,15 +44406,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: application/json: - schema: *301 + schema: *304 examples: - default: *302 + default: *305 responses: '204': description: Response @@ -43898,8 +44438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -43926,8 +44466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -43959,14 +44499,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: *114 x-github: @@ -43989,8 +44529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Success response @@ -44001,7 +44541,7 @@ paths: required: true content: application/json: - schema: *304 + schema: *307 examples: default: *114 x-github: @@ -44030,8 +44570,8 @@ paths: in: query schema: type: string - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -44075,8 +44615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -44084,9 +44624,9 @@ paths: application/json: schema: type: array - items: *305 + items: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44108,8 +44648,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -44152,7 +44692,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *307 + '201': *310 '404': *6 '422': *7 '409': *46 @@ -44183,8 +44723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -44192,7 +44732,7 @@ paths: application/json: schema: *123 examples: - default: *308 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44220,8 +44760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -44229,7 +44769,7 @@ paths: application/json: schema: *123 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44251,8 +44791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 responses: '200': @@ -44261,7 +44801,7 @@ paths: application/json: schema: *121 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44282,8 +44822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 responses: '204': @@ -44309,8 +44849,8 @@ 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: - - *276 - - *277 + - *279 + - *280 - *120 responses: '200': *125 @@ -44335,8 +44875,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-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 requestBody: required: true @@ -44385,8 +44925,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-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 requestBody: required: true @@ -44436,11 +44976,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: - - *276 - - *277 + - *279 + - *280 - *120 responses: - '200': *311 + '200': *314 '404': *6 x-github: githubCloudOnly: false @@ -44467,10 +45007,10 @@ 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: - - *276 - - *277 + - *279 + - *280 - *120 - - *312 + - *315 responses: '200': *125 '404': *6 @@ -44498,9 +45038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *276 - - *277 - - &330 + - *279 + - *280 + - &333 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. @@ -44508,7 +45048,7 @@ paths: required: false schema: type: string - - &331 + - &334 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44516,7 +45056,7 @@ paths: required: false schema: type: string - - &332 + - &335 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44525,7 +45065,7 @@ paths: required: false schema: type: string - - &333 + - &336 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 @@ -44552,7 +45092,7 @@ paths: - pending - *17 - *19 - - &334 + - &337 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)." @@ -44561,7 +45101,7 @@ paths: schema: type: string format: date-time - - &313 + - &316 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44570,13 +45110,13 @@ paths: schema: type: boolean default: false - - &335 + - &338 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &336 + - &339 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44599,7 +45139,7 @@ paths: type: integer workflow_runs: type: array - items: &314 + items: &317 title: Workflow Run description: An invocation of a workflow type: object @@ -44694,7 +45234,7 @@ paths: that triggered the run. type: array nullable: true - items: &355 + items: &358 title: Pull Request Minimal type: object properties: @@ -44813,7 +45353,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &359 + properties: &362 id: type: string description: SHA for the commit @@ -44864,7 +45404,7 @@ paths: - name - email nullable: true - required: &360 + required: &363 - id - tree_id - message @@ -44911,7 +45451,7 @@ paths: - workflow_url - pull_requests examples: - default: &337 + default: &340 value: total_count: 1 workflow_runs: @@ -45147,24 +45687,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *276 - - *277 - - &315 + - *279 + - *280 + - &318 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *314 + schema: *317 examples: - default: &318 + default: &321 value: id: 30433642 name: Build @@ -45405,9 +45945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '204': description: Response @@ -45430,9 +45970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -45551,9 +46091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '201': description: Response @@ -45586,12 +46126,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 - *17 - *19 - - *316 + - *319 responses: '200': description: Response @@ -45607,9 +46147,9 @@ paths: type: integer artifacts: type: array - items: *291 + items: *294 examples: - default: *317 + default: *320 headers: Link: *58 x-github: @@ -45633,25 +46173,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *276 - - *277 - - *315 - - &319 + - *279 + - *280 + - *318 + - &322 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *314 + schema: *317 examples: - default: *318 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45674,10 +46214,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *276 - - *277 - - *315 - - *319 + - *279 + - *280 + - *318 + - *322 - *17 - *19 responses: @@ -45695,9 +46235,9 @@ paths: type: integer jobs: type: array - items: *320 + items: *323 examples: - default: &321 + default: &324 value: total_count: 1 jobs: @@ -45810,10 +46350,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *276 - - *277 - - *315 - - *319 + - *279 + - *280 + - *318 + - *322 responses: '302': description: Response @@ -45841,9 +46381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '202': description: Response @@ -45876,9 +46416,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: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: true content: @@ -45945,9 +46485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '202': description: Response @@ -45980,9 +46520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 - 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 @@ -46012,9 +46552,9 @@ paths: type: integer jobs: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 headers: Link: *58 x-github: @@ -46039,9 +46579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '302': description: Response @@ -46068,14 +46608,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '204': description: Response '403': *29 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46097,9 +46637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -46159,7 +46699,7 @@ paths: items: type: object properties: - type: &439 + type: &442 type: string description: The type of reviewer. enum: @@ -46169,7 +46709,7 @@ paths: reviewer: anyOf: - *4 - - *188 + - *152 required: - environment - wait_timer @@ -46244,9 +46784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: true content: @@ -46293,7 +46833,7 @@ paths: application/json: schema: type: array - items: &434 + items: &437 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46399,7 +46939,7 @@ paths: - created_at - updated_at examples: - default: &435 + default: &438 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46455,9 +46995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: false content: @@ -46501,9 +47041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: false content: @@ -46556,9 +47096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -46695,8 +47235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -46714,9 +47254,9 @@ paths: type: integer secrets: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *58 x-github: @@ -46741,16 +47281,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *324 + schema: *327 examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46772,17 +47312,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: &452 + default: &455 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46808,8 +47348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -46867,8 +47407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -46894,9 +47434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *276 - - *277 - - *298 + - *279 + - *280 + - *301 - *19 responses: '200': @@ -46913,9 +47453,9 @@ paths: type: integer variables: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *58 x-github: @@ -46938,8 +47478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -46991,17 +47531,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 responses: '200': description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: &453 + default: &456 value: name: USERNAME value: octocat @@ -47027,8 +47567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 requestBody: required: true @@ -47071,8 +47611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 responses: '204': @@ -47098,8 +47638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -47117,7 +47657,7 @@ paths: type: integer workflows: type: array - items: &328 + items: &331 title: Workflow description: A GitHub Actions workflow type: object @@ -47224,9 +47764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *276 - - *277 - - &329 + - *279 + - *280 + - &332 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -47241,7 +47781,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *331 examples: default: value: @@ -47274,9 +47814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47301,9 +47841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47354,9 +47894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47383,19 +47923,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *276 - - *277 - - *329 - - *330 - - *331 + - *279 + - *280 - *332 - *333 - - *17 - - *19 - *334 - - *313 - *335 - *336 + - *17 + - *19 + - *337 + - *316 + - *338 + - *339 responses: '200': description: Response @@ -47411,9 +47951,9 @@ paths: type: integer workflow_runs: type: array - items: *314 + items: *317 examples: - default: *337 + default: *340 headers: Link: *58 x-github: @@ -47445,9 +47985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '200': description: Response @@ -47508,8 +48048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *276 - - *277 + - *279 + - *280 - *48 - *17 - *39 @@ -47673,8 +48213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -47686,7 +48226,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -47711,8 +48251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *276 - - *277 + - *279 + - *280 - name: assignee in: path required: true @@ -47748,8 +48288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -47861,8 +48401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *39 - *40 @@ -47916,7 +48456,7 @@ paths: bundle_url: type: string examples: - default: *338 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47936,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -47945,7 +48485,7 @@ paths: application/json: schema: type: array - items: &339 + items: &342 title: Autolink reference description: An autolink reference. type: object @@ -47995,8 +48535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -48035,9 +48575,9 @@ paths: description: response content: application/json: - schema: *339 + schema: *342 examples: - default: &340 + default: &343 value: id: 1 key_prefix: TICKET- @@ -48068,9 +48608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *276 - - *277 - - &341 + - *279 + - *280 + - &344 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48082,9 +48622,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -48104,9 +48644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *276 - - *277 - - *341 + - *279 + - *280 + - *344 responses: '204': description: Response @@ -48130,8 +48670,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response if Dependabot is enabled @@ -48179,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -48201,8 +48741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -48222,8 +48762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *276 - - *277 + - *279 + - *280 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -48261,7 +48801,7 @@ paths: - url protected: type: boolean - protection: &343 + protection: &346 title: Branch Protection description: Branch Protection type: object @@ -48303,7 +48843,7 @@ paths: required: - contexts - checks - enforce_admins: &346 + enforce_admins: &349 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -48318,7 +48858,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &348 + required_pull_request_reviews: &351 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -48339,7 +48879,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *188 + items: *152 apps: description: The list of apps with review dismissal access. @@ -48368,7 +48908,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *188 + items: *152 apps: description: The list of apps allowed to bypass pull request requirements. @@ -48394,7 +48934,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &345 + restrictions: &348 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48701,9 +49241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *276 - - *277 - - &344 + - *279 + - *280 + - &347 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). @@ -48717,14 +49257,14 @@ paths: description: Response content: application/json: - schema: &354 + schema: &357 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &407 + commit: &410 title: Commit description: Commit type: object @@ -48758,7 +49298,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &342 + properties: &345 name: type: string example: '"Chris Wanstrath"' @@ -48773,7 +49313,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true message: type: string @@ -48794,7 +49334,7 @@ paths: required: - sha - url - verification: &459 + verification: &462 title: Verification type: object properties: @@ -48864,7 +49404,7 @@ paths: type: integer files: type: array - items: &422 + items: &425 title: Diff Entry description: Diff Entry type: object @@ -48947,7 +49487,7 @@ paths: - self protected: type: boolean - protection: *343 + protection: *346 protection_url: type: string format: uri @@ -49054,7 +49594,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *288 + '301': *291 '404': *6 x-github: githubCloudOnly: false @@ -49076,15 +49616,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *343 + schema: *346 examples: default: value: @@ -49278,9 +49818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -49535,7 +50075,7 @@ paths: url: type: string format: uri - required_status_checks: &351 + required_status_checks: &354 title: Status Check Policy description: Status Check Policy type: object @@ -49611,7 +50151,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 apps: type: array items: *5 @@ -49629,7 +50169,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 apps: type: array items: *5 @@ -49687,7 +50227,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *345 + restrictions: *348 required_conversation_resolution: type: object properties: @@ -49799,9 +50339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -49826,17 +50366,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: &347 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49858,17 +50398,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49887,9 +50427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -49914,17 +50454,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: &349 + default: &352 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50020,9 +50560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50120,9 +50660,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -50143,9 +50683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50172,17 +50712,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: &350 + default: &353 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -50205,17 +50745,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *350 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -50235,9 +50775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50262,17 +50802,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *351 + schema: *354 examples: - default: &352 + default: &355 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -50298,9 +50838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50352,9 +50892,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *354 examples: - default: *352 + default: *355 '404': *6 '422': *15 x-github: @@ -50376,9 +50916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50402,9 +50942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -50438,9 +50978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50507,9 +51047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50573,9 +51113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: content: application/json: @@ -50641,15 +51181,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50740,9 +51280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50765,9 +51305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -50777,7 +51317,7 @@ paths: type: array items: *5 examples: - default: &353 + default: &356 value: - id: 1 slug: octoapp @@ -50834,9 +51374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50870,7 +51410,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -50891,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50927,7 +51467,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -50948,9 +51488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50984,7 +51524,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -51006,9 +51546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -51016,9 +51556,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -51038,9 +51578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -51076,9 +51616,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51099,9 +51639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -51137,9 +51677,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51160,9 +51700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: content: application/json: @@ -51197,9 +51737,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51221,9 +51761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -51233,7 +51773,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -51257,9 +51797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51292,7 +51832,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51317,9 +51857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51352,7 +51892,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51377,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51412,7 +51952,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51439,9 +51979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51463,7 +52003,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *357 examples: default: value: @@ -51579,8 +52119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -51859,7 +52399,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51978,8 +52518,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *355 - deployment: &653 + items: *358 + deployment: &656 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -52259,9 +52799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *276 - - *277 - - &357 + - *279 + - *280 + - &360 name: check_run_id description: The unique identifier of the check run. in: path @@ -52273,9 +52813,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: &358 + default: &361 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -52375,9 +52915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 requestBody: required: true content: @@ -52617,9 +53157,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52639,9 +53179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 - *17 - *19 responses: @@ -52738,9 +53278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 responses: '201': description: Response @@ -52784,8 +53324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -52807,7 +53347,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &361 + schema: &364 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52871,7 +53411,7 @@ paths: nullable: true pull_requests: type: array - items: *355 + items: *358 nullable: true app: title: GitHub app @@ -52893,12 +53433,12 @@ paths: type: string format: date-time nullable: true - head_commit: &679 + head_commit: &682 title: Simple Commit description: A commit. type: object - properties: *359 - required: *360 + properties: *362 + required: *363 latest_check_runs_count: type: integer check_runs_url: @@ -52926,7 +53466,7 @@ paths: - check_runs_url - pull_requests examples: - default: &362 + default: &365 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -53217,9 +53757,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53238,8 +53778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -53548,9 +54088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *276 - - *277 - - &363 + - *279 + - *280 + - &366 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53562,9 +54102,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53587,17 +54127,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *276 - - *277 - - *363 - - &415 + - *279 + - *280 + - *366 + - &418 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &416 + - &419 name: status description: Returns check runs with the specified `status`. in: query @@ -53636,9 +54176,9 @@ paths: type: integer check_runs: type: array - items: *356 + items: *359 examples: - default: &417 + default: &420 value: total_count: 1 check_runs: @@ -53740,9 +54280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *276 - - *277 - - *363 + - *279 + - *280 + - *366 responses: '201': description: Response @@ -53775,21 +54315,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *276 - - *277 - - *364 - - *365 + - *279 + - *280 + - *367 + - *368 - *19 - *17 - - &382 + - &385 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: *366 - - &383 + schema: *369 + - &386 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53814,13 +54354,13 @@ paths: be returned. in: query required: false - schema: *367 + schema: *370 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *368 + schema: *371 responses: '200': description: Response @@ -53833,12 +54373,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: *369 - state: *138 - fixed_at: *134 + instances_url: *372 + state: *141 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -53846,12 +54386,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: *370 - dismissed_comment: *371 - rule: *372 - tool: *373 - most_recent_instance: *374 + dismissed_at: *138 + dismissed_reason: *373 + dismissed_comment: *374 + rule: *375 + tool: *376 + most_recent_instance: *377 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -53974,7 +54514,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &375 + '403': &378 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54001,9 +54541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *276 - - *277 - - &376 + - *279 + - *280 + - &379 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54017,17 +54557,17 @@ paths: description: Response content: application/json: - schema: &377 + schema: &380 type: object properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: *369 - state: *138 - fixed_at: *134 + instances_url: *372 + state: *141 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -54035,9 +54575,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: *370 - dismissed_comment: *371 + dismissed_at: *138 + dismissed_reason: *373 + dismissed_comment: *374 rule: type: object properties: @@ -54091,8 +54631,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *373 - most_recent_instance: *374 + tool: *376 + most_recent_instance: *377 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54188,7 +54728,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54208,9 +54748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: true content: @@ -54225,8 +54765,8 @@ paths: enum: - open - dismissed - dismissed_reason: *370 - dismissed_comment: *371 + dismissed_reason: *373 + dismissed_comment: *374 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -54245,7 +54785,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *380 examples: default: value: @@ -54321,7 +54861,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &381 + '403': &384 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -54348,15 +54888,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: Response content: application/json: - schema: &378 + schema: &381 type: object properties: status: @@ -54382,13 +54922,13 @@ paths: - description - started_at examples: - default: &379 + default: &382 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &380 + '400': &383 description: Bad Request content: application/json: @@ -54399,7 +54939,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54424,29 +54964,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: OK content: application/json: - schema: *378 + schema: *381 examples: - default: *379 + default: *382 '202': description: Accepted content: application/json: - schema: *378 + schema: *381 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *380 + '400': *383 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54478,9 +55018,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: false content: @@ -54525,8 +55065,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *380 - '403': *381 + '400': *383 + '403': *384 '404': *6 '422': description: Unprocessable Entity @@ -54550,13 +55090,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 - *19 - *17 - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response @@ -54564,7 +55104,7 @@ paths: application/json: schema: type: array - items: *374 + items: *377 examples: default: value: @@ -54603,7 +55143,7 @@ paths: end_column: 50 classifications: - source - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54637,25 +55177,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *276 - - *277 - - *364 - - *365 + - *279 + - *280 + - *367 + - *368 - *19 - *17 - - *383 + - *386 - 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: *366 + schema: *369 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &386 + schema: &389 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54676,23 +55216,23 @@ paths: application/json: schema: type: array - items: &387 + items: &390 type: object properties: - ref: *366 - commit_sha: &395 + ref: *369 + commit_sha: &398 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: *384 + analysis_key: *387 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *385 + category: *388 error: type: string example: error reading field xyz @@ -54716,8 +55256,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *386 - tool: *373 + sarif_id: *389 + tool: *376 deletable: type: boolean warning: @@ -54778,7 +55318,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54814,8 +55354,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: - - *276 - - *277 + - *279 + - *280 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54828,7 +55368,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: response: summary: application/json response @@ -54882,7 +55422,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54964,8 +55504,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: - - *276 - - *277 + - *279 + - *280 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55018,7 +55558,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *381 + '403': *384 '404': *6 '503': *65 x-github: @@ -55040,8 +55580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -55049,7 +55589,7 @@ paths: application/json: schema: type: array - items: &388 + items: &391 title: CodeQL Database description: A CodeQL database. type: object @@ -55160,7 +55700,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -55189,8 +55729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: language in: path description: The language of the CodeQL database. @@ -55202,7 +55742,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *391 examples: default: value: @@ -55234,9 +55774,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &424 + '302': &427 description: Found - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -55258,8 +55798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *276 - - *277 + - *279 + - *280 - name: language in: path description: The language of the CodeQL database. @@ -55269,7 +55809,7 @@ paths: responses: '204': description: Response - '403': *381 + '403': *384 '404': *6 '503': *65 x-github: @@ -55297,8 +55837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -55307,7 +55847,7 @@ paths: type: object additionalProperties: false properties: - language: &389 + language: &392 type: string description: The language targeted by the CodeQL query enum: @@ -55386,7 +55926,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &393 + schema: &396 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -55396,7 +55936,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *389 + query_language: *392 query_pack_url: type: string description: The download url for the query pack. @@ -55443,7 +55983,7 @@ paths: items: type: object properties: - repository: &390 + repository: &393 title: Repository Identifier description: Repository Identifier type: object @@ -55479,7 +56019,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &394 + analysis_status: &397 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55511,7 +56051,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &391 + access_mismatch_repos: &394 type: object properties: repository_count: @@ -55525,7 +56065,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: *390 + items: *393 required: - repository_count - repositories @@ -55547,8 +56087,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *391 - over_limit_repos: *391 + no_codeql_db_repos: *394 + over_limit_repos: *394 required: - access_mismatch_repos - not_found_repos @@ -55564,7 +56104,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &392 + value: &395 summary: Default response value: id: 1 @@ -55716,10 +56256,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *392 + value: *395 repository_lists: summary: Response for a successful variant analysis submission - value: *392 + value: *395 '404': *6 '422': description: Unable to process variant analysis submission @@ -55747,8 +56287,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: - - *276 - - *277 + - *279 + - *280 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55760,9 +56300,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *392 + default: *395 '404': *6 '503': *65 x-github: @@ -55785,7 +56325,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: - - *276 + - *279 - name: repo in: path description: The name of the controller repository. @@ -55820,7 +56360,7 @@ paths: type: object properties: repository: *53 - analysis_status: *394 + analysis_status: *397 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55945,8 +56485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56020,7 +56560,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -56041,8 +56581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56124,7 +56664,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *381 + '403': *384 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -56189,8 +56729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56198,7 +56738,7 @@ paths: schema: type: object properties: - commit_sha: *395 + commit_sha: *398 ref: type: string description: |- @@ -56256,7 +56796,7 @@ paths: schema: type: object properties: - id: *386 + id: *389 url: type: string description: The REST API URL for checking the status of the upload. @@ -56270,7 +56810,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *381 + '403': *384 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -56293,8 +56833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *276 - - *277 + - *279 + - *280 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56340,7 +56880,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *375 + '403': *378 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -56365,8 +56905,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56422,7 +56962,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': *142 + '204': *145 '304': *37 '403': *29 '404': *6 @@ -56447,8 +56987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *276 - - *277 + - *279 + - *280 - 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 @@ -56568,8 +57108,8 @@ paths: parameters: - *17 - *19 - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56585,7 +57125,7 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: default: value: @@ -56861,7 +57401,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': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -56883,8 +57423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56947,17 +57487,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '400': *14 '401': *25 '403': *29 @@ -56986,8 +57526,8 @@ paths: parameters: - *17 - *19 - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -57027,7 +57567,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *145 + '500': *148 '400': *14 '401': *25 '403': *29 @@ -57051,8 +57591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57087,14 +57627,14 @@ paths: type: integer machines: type: array - items: &610 + items: &613 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *397 - required: *398 + properties: *400 + required: *401 examples: - default: &611 + default: &614 value: total_count: 2 machines: @@ -57111,7 +57651,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -57134,8 +57674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *276 - - *277 + - *279 + - *280 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57219,8 +57759,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: - - *276 - - *277 + - *279 + - *280 - 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 @@ -57286,8 +57826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -57305,7 +57845,7 @@ paths: type: integer secrets: type: array - items: &402 + items: &405 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57325,7 +57865,7 @@ paths: - created_at - updated_at examples: - default: *399 + default: *402 headers: Link: *58 x-github: @@ -57348,16 +57888,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57377,17 +57917,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: *403 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57407,8 +57947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -57461,8 +58001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -57491,8 +58031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *276 - - *277 + - *279 + - *280 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57534,7 +58074,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &404 + properties: &407 login: type: string example: octocat @@ -57627,7 +58167,7 @@ paths: user_view_type: type: string example: public - required: &405 + required: &408 - avatar_url - events_url - followers_url @@ -57701,8 +58241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '204': @@ -57745,8 +58285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 requestBody: required: false @@ -57773,7 +58313,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &472 + schema: &475 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57995,8 +58535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '204': @@ -58026,8 +58566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '200': @@ -58048,8 +58588,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *404 - required: *405 + properties: *407 + required: *408 nullable: true required: - permission @@ -58104,8 +58644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -58115,7 +58655,7 @@ paths: application/json: schema: type: array - items: &406 + items: &409 title: Commit Comment description: Commit Comment type: object @@ -58173,7 +58713,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &412 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58232,17 +58772,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *406 + schema: *409 examples: - default: &410 + default: &413 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58299,8 +58839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -58323,7 +58863,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: default: value: @@ -58374,8 +58914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -58397,8 +58937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -58425,9 +58965,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -58448,8 +58988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -58482,16 +59022,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -58513,10 +59053,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -58565,8 +59105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *276 - - *277 + - *279 + - *280 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58622,9 +59162,9 @@ paths: application/json: schema: type: array - items: *407 + items: *410 examples: - default: &523 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58695,7 +59235,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *145 + '500': *148 '400': *14 '404': *6 '409': *46 @@ -58718,9 +59258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *276 - - *277 - - &408 + - *279 + - *280 + - &411 name: commit_sha description: The SHA of the commit. in: path @@ -58792,9 +59332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 - *17 - *19 responses: @@ -58804,9 +59344,9 @@ paths: application/json: schema: type: array - items: *406 + items: *409 examples: - default: *409 + default: *412 headers: Link: *58 x-github: @@ -58834,9 +59374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 requestBody: required: true content: @@ -58871,9 +59411,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: - default: *410 + default: *413 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58901,9 +59441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 - *17 - *19 responses: @@ -58913,7 +59453,7 @@ paths: application/json: schema: type: array - items: &514 + items: &517 title: Pull Request Simple description: Pull Request Simple type: object @@ -59019,8 +59559,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -59065,7 +59605,7 @@ paths: nullable: true requested_teams: type: array - items: *188 + items: *152 nullable: true head: type: object @@ -59116,7 +59656,7 @@ paths: _links: type: object properties: - comments: &413 + comments: &416 title: Link description: Hypermedia Link type: object @@ -59125,13 +59665,13 @@ paths: type: string required: - href - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -59142,7 +59682,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &516 + auto_merge: &519 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59205,7 +59745,7 @@ paths: - author_association - auto_merge examples: - default: &515 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59742,11 +60282,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 - - &414 + - &417 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)" @@ -59761,9 +60301,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: &501 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59849,7 +60389,7 @@ paths: ..... '422': *15 '404': *6 - '500': *145 + '500': *148 '503': *65 '409': *46 x-github: @@ -59876,11 +60416,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *276 - - *277 - - *414 - - *415 - - *416 + - *279 + - *280 + - *417 + - *418 + - *419 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59914,9 +60454,9 @@ paths: type: integer check_runs: type: array - items: *356 + items: *359 examples: - default: *417 + default: *420 headers: Link: *58 x-github: @@ -59941,9 +60481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59951,7 +60491,7 @@ paths: schema: type: integer example: 1 - - *415 + - *418 - *17 - *19 responses: @@ -59969,7 +60509,7 @@ paths: type: integer check_suites: type: array - items: *361 + items: *364 examples: default: value: @@ -60169,9 +60709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - *17 - *19 responses: @@ -60369,9 +60909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - *17 - *19 responses: @@ -60381,7 +60921,7 @@ paths: application/json: schema: type: array - items: &584 + items: &587 title: Status description: The status of a commit. type: object @@ -60462,7 +61002,7 @@ paths: site_admin: false headers: Link: *58 - '301': *288 + '301': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60490,8 +61030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -60520,20 +61060,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *418 - required: *419 + properties: *421 + required: *422 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &420 + properties: &423 url: type: string format: uri html_url: type: string format: uri - required: &421 + required: &424 - url - html_url nullable: true @@ -60547,26 +61087,26 @@ paths: contributing: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true readme: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true issue_template: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true pull_request_template: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true required: - code_of_conduct @@ -60693,8 +61233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 - name: basehead @@ -60737,8 +61277,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *407 - merge_base_commit: *407 + base_commit: *410 + merge_base_commit: *410 status: type: string enum: @@ -60758,10 +61298,10 @@ paths: example: 6 commits: type: array - items: *407 + items: *410 files: type: array - items: *422 + items: *425 required: - url - html_url @@ -61004,7 +61544,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -61047,8 +61587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -61191,7 +61731,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &423 + response-if-content-is-a-file: &426 summary: Response if content is a file value: type: file @@ -61323,7 +61863,7 @@ paths: - size - type - url - - &528 + - &531 title: Content File description: Content File type: object @@ -61524,7 +62064,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *423 + response-if-content-is-a-file: *426 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61593,7 +62133,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *424 + '302': *427 '304': *37 x-github: githubCloudOnly: false @@ -61616,8 +62156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -61710,7 +62250,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &428 title: File Commit description: File Commit type: object @@ -61862,7 +62402,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: example-for-creating-a-file: value: @@ -61916,7 +62456,7 @@ paths: schema: oneOf: - *3 - - &454 + - &457 description: Repository rule violation was detected type: object properties: @@ -61937,7 +62477,7 @@ paths: items: type: object properties: - placeholder_id: &576 + placeholder_id: &579 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61969,8 +62509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -62031,7 +62571,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: default: value: @@ -62086,8 +62626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *276 - - *277 + - *279 + - *280 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62210,21 +62750,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *276 - - *277 - - *149 - - *150 - - *151 - - *152 + - *279 + - *280 + - *153 + - *154 + - *155 + - *156 - 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 - - *153 - - *154 - - *155 + - *157 + - *158 + - *159 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -62244,8 +62784,8 @@ paths: default: 30 - *39 - *40 - - *156 - - *157 + - *160 + - *161 responses: '200': description: Response @@ -62253,7 +62793,7 @@ paths: application/json: schema: type: array - items: &428 + items: &431 type: object description: A Dependabot alert. properties: @@ -62299,13 +62839,13 @@ paths: - unknown - direct - transitive - security_advisory: *426 + security_advisory: *429 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *133 - dismissed_at: *135 + updated_at: *136 + dismissed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -62329,8 +62869,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *134 - auto_dismissed_at: *427 + fixed_at: *137 + auto_dismissed_at: *430 required: - number - state @@ -62560,9 +63100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *276 - - *277 - - &429 + - *279 + - *280 + - &432 name: alert_number in: path description: |- @@ -62577,7 +63117,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: default: value: @@ -62690,9 +63230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *276 - - *277 - - *429 + - *279 + - *280 + - *432 requestBody: required: true content: @@ -62737,7 +63277,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: default: value: @@ -62866,8 +63406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -62885,7 +63425,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &435 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62938,16 +63478,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: *431 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62967,15 +63507,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *432 + schema: *435 examples: default: value: @@ -63001,8 +63541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -63055,8 +63595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -63079,8 +63619,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: - - *276 - - *277 + - *279 + - *280 - 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 @@ -63240,8 +63780,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -63480,8 +64020,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -63556,7 +64096,7 @@ paths: - version - url additionalProperties: false - metadata: &433 + metadata: &436 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63589,7 +64129,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *433 + metadata: *436 resolved: type: object description: A collection of resolved package dependencies. @@ -63602,7 +64142,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *433 + metadata: *436 relationship: type: string description: A notation of whether a dependency is requested @@ -63731,8 +64271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *276 - - *277 + - *279 + - *280 - name: sha description: The SHA recorded at creation time. in: query @@ -63772,9 +64312,9 @@ paths: application/json: schema: type: array - items: *434 + items: *437 examples: - default: *435 + default: *438 headers: Link: *58 x-github: @@ -63840,8 +64380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -63922,7 +64462,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: simple-example: summary: Simple example @@ -63995,9 +64535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *276 - - *277 - - &436 + - *279 + - *280 + - &439 name: deployment_id description: deployment_id parameter in: path @@ -64009,7 +64549,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -64074,9 +64614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 responses: '204': description: Response @@ -64098,9 +64638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 - *17 - *19 responses: @@ -64110,7 +64650,7 @@ paths: application/json: schema: type: array - items: &437 + items: &440 title: Deployment Status description: The status of a deployment. type: object @@ -64271,9 +64811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 requestBody: required: true content: @@ -64348,9 +64888,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: &438 + default: &441 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64406,9 +64946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 - name: status_id in: path required: true @@ -64419,9 +64959,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '404': *6 x-github: githubCloudOnly: false @@ -64446,8 +64986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -64504,8 +65044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -64522,7 +65062,7 @@ paths: type: integer environments: type: array - items: &440 + items: &443 title: Environment description: Details of a deployment environment type: object @@ -64574,7 +65114,7 @@ paths: type: type: string example: wait_timer - wait_timer: &442 + wait_timer: &445 type: integer example: 30 description: The amount of time to delay a job after @@ -64611,11 +65151,11 @@ paths: items: type: object properties: - type: *439 + type: *442 reviewer: anyOf: - *4 - - *188 + - *152 required: - id - node_id @@ -64635,7 +65175,7 @@ paths: - id - node_id - type - deployment_branch_policy: &443 + deployment_branch_policy: &446 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -64751,9 +65291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *276 - - *277 - - &441 + - *279 + - *280 + - &444 name: environment_name in: path required: true @@ -64766,9 +65306,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: &444 + default: &447 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64852,9 +65392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: false content: @@ -64863,7 +65403,7 @@ paths: type: object nullable: true properties: - wait_timer: *442 + wait_timer: *445 prevent_self_review: type: boolean example: false @@ -64880,13 +65420,13 @@ paths: items: type: object properties: - type: *439 + type: *442 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *443 + deployment_branch_policy: *446 additionalProperties: false examples: default: @@ -64906,9 +65446,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *444 + default: *447 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64932,9 +65472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 responses: '204': description: Default response @@ -64959,9 +65499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *17 - *19 responses: @@ -64979,7 +65519,7 @@ paths: example: 2 branch_policies: type: array - items: &445 + items: &448 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65036,9 +65576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: true content: @@ -65084,9 +65624,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - example-wildcard: &446 + example-wildcard: &449 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65128,10 +65668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - &447 + - *279 + - *280 + - *444 + - &450 name: branch_policy_id in: path required: true @@ -65143,9 +65683,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65164,10 +65704,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - *447 + - *279 + - *280 + - *444 + - *450 requestBody: required: true content: @@ -65195,9 +65735,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65216,10 +65756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - *447 + - *279 + - *280 + - *444 + - *450 responses: '204': description: Response @@ -65244,9 +65784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 responses: '200': description: List of deployment protection rules @@ -65262,7 +65802,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &448 + items: &451 title: Deployment protection rule description: Deployment protection rule type: object @@ -65281,7 +65821,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &449 + app: &452 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65380,9 +65920,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: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 requestBody: content: application/json: @@ -65403,9 +65943,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *448 + schema: *451 examples: - default: &450 + default: &453 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -65440,9 +65980,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: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 - *19 - *17 responses: @@ -65461,7 +66001,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *449 + items: *452 examples: default: value: @@ -65496,10 +66036,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *276 - - *277 - - *441 - - &451 + - *279 + - *280 + - *444 + - &454 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65511,9 +66051,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65534,10 +66074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *441 - - *277 - - *276 - - *451 + - *444 + - *280 + - *279 + - *454 responses: '204': description: Response @@ -65563,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *17 - *19 responses: @@ -65583,9 +66123,9 @@ paths: type: integer secrets: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *58 x-github: @@ -65610,17 +66150,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 responses: '200': description: Response content: application/json: - schema: *324 + schema: *327 examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65642,18 +66182,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *452 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65675,9 +66215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 requestBody: required: true @@ -65735,9 +66275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 responses: '204': @@ -65763,10 +66303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *276 - - *277 - - *441 - - *298 + - *279 + - *280 + - *444 + - *301 - *19 responses: '200': @@ -65783,9 +66323,9 @@ paths: type: integer variables: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *58 x-github: @@ -65808,9 +66348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: true content: @@ -65862,18 +66402,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *130 responses: '200': description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65894,10 +66434,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 - - *441 + - *444 requestBody: required: true content: @@ -65939,10 +66479,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 - - *441 + - *444 responses: '204': description: Response @@ -65964,8 +66504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -66042,8 +66582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *276 - - *277 + - *279 + - *280 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66202,8 +66742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -66235,9 +66775,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 '400': *14 '422': *15 '403': *29 @@ -66258,8 +66798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66319,7 +66859,7 @@ paths: schema: oneOf: - *97 - - *454 + - *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66344,8 +66884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *276 - - *277 + - *279 + - *280 - name: file_sha in: path required: true @@ -66444,8 +66984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66554,7 +67094,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &458 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66768,15 +67308,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 responses: '200': description: Response content: application/json: - schema: *455 + schema: *458 examples: default: value: @@ -66832,9 +67372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *276 - - *277 - - &456 + - *279 + - *280 + - &459 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. @@ -66851,7 +67391,7 @@ paths: application/json: schema: type: array - items: &457 + items: &460 title: Git Reference description: Git references within a repository type: object @@ -66926,17 +67466,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 responses: '200': description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: &458 + default: &461 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66965,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66995,9 +67535,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: *458 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67023,9 +67563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 requestBody: required: true content: @@ -67054,9 +67594,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: *458 + default: *461 '422': *15 '409': *46 x-github: @@ -67074,9 +67614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 responses: '204': description: Response @@ -67129,8 +67669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -67197,7 +67737,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &463 title: Git Tag description: Metadata for a Git tag type: object @@ -67248,7 +67788,7 @@ paths: - sha - type - url - verification: *459 + verification: *462 required: - sha - url @@ -67258,7 +67798,7 @@ paths: - tag - message examples: - default: &461 + default: &464 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67331,8 +67871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *276 - - *277 + - *279 + - *280 - name: tag_sha in: path required: true @@ -67343,9 +67883,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: *461 + default: *464 '404': *6 '409': *46 x-github: @@ -67369,8 +67909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -67443,7 +67983,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &465 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67460,6 +68000,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -67486,29 +68031,8 @@ paths: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated examples: @@ -67555,8 +68079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *276 - - *277 + - *279 + - *280 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67579,7 +68103,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *465 examples: default-response: summary: Default response @@ -67638,8 +68162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -67649,7 +68173,7 @@ paths: application/json: schema: type: array - items: &463 + items: &466 title: Webhook description: Webhooks for repositories. type: object @@ -67703,7 +68227,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &687 + last_response: &690 title: Hook Response type: object properties: @@ -67777,8 +68301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -67830,9 +68354,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: &464 + default: &467 value: type: Repository id: 12345678 @@ -67880,17 +68404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '200': description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -67910,9 +68434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 requestBody: required: true content: @@ -67957,9 +68481,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 '422': *15 '404': *6 x-github: @@ -67980,9 +68504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68006,9 +68530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '200': description: Response @@ -68035,9 +68559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 requestBody: required: false content: @@ -68081,11 +68605,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *17 - - *166 + - *170 responses: '200': description: Response @@ -68093,9 +68617,9 @@ paths: application/json: schema: type: array - items: *167 + items: *171 examples: - default: *168 + default: *172 '400': *14 '422': *15 x-github: @@ -68114,18 +68638,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *16 responses: '200': description: Response content: application/json: - schema: *169 + schema: *173 examples: - default: *170 + default: *174 '400': *14 '422': *15 x-github: @@ -68144,9 +68668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *16 responses: '202': *47 @@ -68169,9 +68693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68196,9 +68720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68256,14 +68780,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &465 + schema: &468 title: Import description: A repository import from an external source. type: object @@ -68362,7 +68886,7 @@ paths: - html_url - authors_url examples: - default: &468 + default: &471 value: vcs: subversion use_lfs: true @@ -68378,7 +68902,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': &466 + '503': &469 description: Unavailable due to service under maintenance. content: application/json: @@ -68407,8 +68931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -68456,7 +68980,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: default: value: @@ -68481,7 +69005,7 @@ paths: type: string '422': *15 '404': *6 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68509,8 +69033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -68559,7 +69083,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: example-1: summary: Example 1 @@ -68607,7 +69131,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': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68630,12 +69154,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68661,9 +69185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *276 - - *277 - - &634 + - *279 + - *280 + - &637 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68677,7 +69201,7 @@ paths: application/json: schema: type: array - items: &467 + items: &470 title: Porter Author description: Porter Author type: object @@ -68731,7 +69255,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': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68756,8 +69280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *276 - - *277 + - *279 + - *280 - name: author_id in: path required: true @@ -68787,7 +69311,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: default: value: @@ -68800,7 +69324,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68824,8 +69348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68866,7 +69390,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68894,8 +69418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -68922,11 +69446,11 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: - default: *468 + default: *471 '422': *15 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68949,8 +69473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68958,8 +69482,8 @@ paths: application/json: schema: *22 examples: - default: *469 - '301': *288 + default: *472 + '301': *291 '404': *6 x-github: githubCloudOnly: false @@ -68979,8 +69503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68988,12 +69512,12 @@ paths: application/json: schema: anyOf: - - *183 + - *187 - type: object properties: {} additionalProperties: false examples: - default: &471 + default: &474 value: limit: collaborators_only origin: repository @@ -69018,13 +69542,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: application/json: - schema: *470 + schema: *473 examples: default: summary: Example request body @@ -69036,9 +69560,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: - default: *471 + default: *474 '409': description: Response x-github: @@ -69060,8 +69584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -69084,8 +69608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -69095,9 +69619,9 @@ paths: application/json: schema: type: array - items: *472 + items: *475 examples: - default: &627 + default: &630 value: - id: 1 repository: @@ -69228,9 +69752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *276 - - *277 - - *187 + - *279 + - *280 + - *191 requestBody: required: false content: @@ -69259,7 +69783,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *475 examples: default: value: @@ -69390,9 +69914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *276 - - *277 - - *187 + - *279 + - *280 + - *191 responses: '204': description: Response @@ -69423,8 +69947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *276 - - *277 + - *279 + - *280 - 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 @@ -69472,7 +69996,7 @@ paths: required: false schema: type: string - - *192 + - *195 - name: sort description: What to sort results by. in: query @@ -69497,7 +70021,7 @@ paths: type: array items: *77 examples: - default: &483 + default: &486 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69645,7 +70169,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *288 + '301': *291 '422': *15 '404': *6 x-github: @@ -69674,8 +70198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -69759,7 +70283,7 @@ paths: application/json: schema: *77 examples: - default: &478 + default: &481 value: id: 1 node_id: MDU6SXNzdWUx @@ -69915,7 +70439,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *285 + '410': *288 x-github: triggersNotification: true githubCloudOnly: false @@ -69943,8 +70467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69965,9 +70489,9 @@ paths: application/json: schema: type: array - items: *473 + items: *476 examples: - default: &480 + default: &483 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70025,17 +70549,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: &474 + default: &477 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70089,8 +70613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -70113,9 +70637,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -70133,8 +70657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -70155,8 +70679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -70183,9 +70707,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -70206,8 +70730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -70240,16 +70764,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -70271,10 +70795,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -70294,8 +70818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -70305,7 +70829,7 @@ paths: application/json: schema: type: array - items: &477 + items: &480 title: Issue Event description: Issue Event type: object @@ -70348,8 +70872,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *475 - required: *476 + properties: *478 + required: *479 nullable: true label: title: Issue Event Label @@ -70393,7 +70917,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *188 + requested_team: *152 dismissed_review: title: Issue Event Dismissed Review type: object @@ -70656,8 +71180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *276 - - *277 + - *279 + - *280 - name: event_id in: path required: true @@ -70668,7 +71192,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *480 examples: default: value: @@ -70861,7 +71385,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *285 + '410': *288 '403': *29 x-github: githubCloudOnly: false @@ -70895,9 +71419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *276 - - *277 - - &479 + - *279 + - *280 + - &482 name: issue_number description: The number that identifies the issue. in: path @@ -70911,10 +71435,10 @@ paths: application/json: schema: *77 examples: - default: *478 - '301': *288 + default: *481 + '301': *291 '404': *6 - '410': *285 + '410': *288 '304': *37 x-github: githubCloudOnly: false @@ -70939,9 +71463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -71046,13 +71570,13 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 '422': *15 '503': *65 '403': *29 - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71070,9 +71594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -71100,7 +71624,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71116,9 +71640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: content: application/json: @@ -71145,7 +71669,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71167,9 +71691,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: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - name: assignee in: path required: true @@ -71209,9 +71733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *67 - *17 - *19 @@ -71222,13 +71746,13 @@ paths: application/json: schema: type: array - items: *473 + items: *476 examples: - default: *480 + default: *483 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71257,9 +71781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -71281,16 +71805,16 @@ paths: description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *285 + '410': *288 '422': *15 '404': *6 x-github: @@ -71310,9 +71834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -71326,7 +71850,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &484 + - &487 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71380,7 +71904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &488 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71516,7 +72040,7 @@ paths: - performed_via_github_app - assignee - assigner - - &486 + - &489 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71567,7 +72091,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &490 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71618,7 +72142,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &491 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71672,7 +72196,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &492 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71706,7 +72230,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *188 + requested_team: *152 requested_reviewer: *4 required: - review_requester @@ -71719,7 +72243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &493 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71753,7 +72277,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *188 + requested_team: *152 requested_reviewer: *4 required: - review_requester @@ -71766,7 +72290,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &494 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71826,7 +72350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &495 title: Locked Issue Event description: Locked Issue Event type: object @@ -71874,7 +72398,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &496 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71940,7 +72464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &497 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72006,7 +72530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &498 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72072,7 +72596,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &499 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72163,7 +72687,7 @@ paths: color: red headers: Link: *58 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72180,9 +72704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72192,7 +72716,7 @@ paths: application/json: schema: type: array - items: &481 + items: &484 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72239,7 +72763,7 @@ paths: - color - default examples: - default: &482 + default: &485 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72257,9 +72781,9 @@ paths: default: false headers: Link: *58 - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72276,9 +72800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72337,12 +72861,12 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 - '301': *288 + default: *485 + '301': *291 '404': *6 - '410': *285 + '410': *288 '422': *15 x-github: githubCloudOnly: false @@ -72359,9 +72883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72421,12 +72945,12 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 - '301': *288 + default: *485 + '301': *291 '404': *6 - '410': *285 + '410': *288 '422': *15 x-github: githubCloudOnly: false @@ -72443,15 +72967,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 responses: '204': description: Response - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72470,9 +72994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - name: name in: path required: true @@ -72485,7 +73009,7 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: default: value: @@ -72496,9 +73020,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72518,9 +73042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72548,7 +73072,7 @@ paths: '204': description: Response '403': *29 - '410': *285 + '410': *288 '404': *6 '422': *15 x-github: @@ -72566,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 responses: '204': description: Response @@ -72590,9 +73114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - 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. @@ -72618,13 +73142,13 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72642,9 +73166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72676,16 +73200,16 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -72707,10 +73231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *276 - - *277 - - *479 - - *272 + - *279 + - *280 + - *482 + - *275 responses: '204': description: Response @@ -72739,9 +73263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72765,7 +73289,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72798,9 +73322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72812,11 +73336,11 @@ paths: type: array items: *77 examples: - default: *483 + default: *486 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72844,9 +73368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72875,14 +73399,14 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *285 + '410': *288 '422': *15 '404': *6 x-github: @@ -72902,9 +73426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72937,7 +73461,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 '403': *29 '404': *6 '422': *7 @@ -72959,9 +73483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72976,9 +73500,6 @@ paths: description: Timeline Event type: object anyOf: - - *484 - - *485 - - *486 - *487 - *488 - *489 @@ -72989,6 +73510,9 @@ paths: - *494 - *495 - *496 + - *497 + - *498 + - *499 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73293,7 +73817,7 @@ paths: type: string comments: type: array - items: &517 + items: &520 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73502,7 +74026,7 @@ paths: type: string comments: type: array - items: *406 + items: *409 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73791,7 +74315,7 @@ paths: headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73808,8 +74332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -73819,7 +74343,7 @@ paths: application/json: schema: type: array - items: &497 + items: &500 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73884,8 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -73921,9 +74445,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: &498 + default: &501 value: id: 1 key: ssh-rsa AAA... @@ -73957,9 +74481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *276 - - *277 - - &499 + - *279 + - *280 + - &502 name: key_id description: The unique identifier of the key. in: path @@ -73971,9 +74495,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -73991,9 +74515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *276 - - *277 - - *499 + - *279 + - *280 + - *502 responses: '204': description: Response @@ -74013,8 +74537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -74024,9 +74548,9 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 + default: *485 headers: Link: *58 '404': *6 @@ -74047,8 +74571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74084,9 +74608,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: &500 + default: &503 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74118,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74130,9 +74654,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: *500 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -74149,8 +74673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74189,7 +74713,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: default: value: @@ -74215,8 +74739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74242,8 +74766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -74282,9 +74806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *276 - - *277 - - *382 + - *279 + - *280 + - *385 responses: '200': description: Response @@ -74429,8 +74953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74495,8 +75019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74530,9 +75054,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *407 + schema: *410 examples: - default: *501 + default: *504 '204': description: Response when already merged '404': @@ -74557,8 +75081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74599,12 +75123,12 @@ paths: application/json: schema: type: array - items: &502 + items: &505 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 examples: default: value: @@ -74660,8 +75184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74701,9 +75225,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &503 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74762,9 +75286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *276 - - *277 - - &504 + - *279 + - *280 + - &507 name: milestone_number description: The number that identifies the milestone. in: path @@ -74776,9 +75300,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *503 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74795,9 +75319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 requestBody: required: false content: @@ -74835,9 +75359,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *503 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74853,9 +75377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 responses: '204': description: Response @@ -74876,9 +75400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 - *17 - *19 responses: @@ -74888,9 +75412,9 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 + default: *485 headers: Link: *58 x-github: @@ -74909,12 +75433,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *276 - - *277 - - *505 - - *506 + - *279 + - *280 + - *508 + - *509 - *67 - - *507 + - *510 - *17 - *19 responses: @@ -74926,7 +75450,7 @@ paths: type: array items: *90 examples: - default: *508 + default: *511 headers: Link: *58 x-github: @@ -74950,8 +75474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -75009,14 +75533,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &509 + schema: &512 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75141,7 +75665,7 @@ paths: - custom_404 - public examples: - default: &510 + default: &513 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75182,8 +75706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75237,9 +75761,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *510 + default: *513 '422': *15 '409': *46 x-github: @@ -75262,8 +75786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75362,8 +75886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -75389,8 +75913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -75400,7 +75924,7 @@ paths: application/json: schema: type: array - items: &511 + items: &514 title: Page Build description: Page Build type: object @@ -75494,8 +76018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -75540,16 +76064,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: &512 + default: &515 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75597,8 +76121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *276 - - *277 + - *279 + - *280 - name: build_id in: path required: true @@ -75609,9 +76133,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75631,8 +76155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75737,9 +76261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *276 - - *277 - - &513 + - *279 + - *280 + - &516 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75797,11 +76321,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *276 - - *277 - - *513 + - *279 + - *280 + - *516 responses: - '204': *142 + '204': *145 '404': *6 x-github: githubCloudOnly: false @@ -75826,8 +76350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -76085,8 +76609,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Private vulnerability reporting status @@ -76123,10 +76647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: - '204': *142 + '204': *145 '422': *14 x-github: githubCloudOnly: false @@ -76145,10 +76669,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: - '204': *142 + '204': *145 '422': *14 x-github: githubCloudOnly: false @@ -76169,8 +76693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: Indicates the state of the projects to return. in: query @@ -76191,7 +76715,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -76231,7 +76755,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -76254,8 +76778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76281,13 +76805,13 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *284 + default: *287 '401': *25 '403': *29 '404': *6 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -76310,8 +76834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -76319,7 +76843,7 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: default: value: @@ -76350,8 +76874,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76363,7 +76887,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *231 + items: *234 required: - properties examples: @@ -76413,8 +76937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76474,9 +76998,9 @@ paths: application/json: schema: type: array - items: *514 + items: *517 examples: - default: *515 + default: *518 headers: Link: *58 '304': *37 @@ -76508,8 +77032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76574,7 +77098,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &522 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76685,8 +77209,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -76731,7 +77255,7 @@ paths: nullable: true requested_teams: type: array - items: *254 + items: *257 nullable: true head: type: object @@ -76770,14 +77294,14 @@ paths: _links: type: object properties: - comments: *413 - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + comments: *416 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -76788,7 +77312,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *516 + auto_merge: *519 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -76880,7 +77404,7 @@ paths: - merged_by - review_comments examples: - default: &520 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77407,8 +77931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: sort in: query required: false @@ -77437,9 +77961,9 @@ paths: application/json: schema: type: array - items: *517 + items: *520 examples: - default: &522 + default: &525 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77516,17 +78040,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &518 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77601,8 +78125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -77625,9 +78149,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77643,8 +78167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -77666,8 +78190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77694,9 +78218,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -77717,8 +78241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -77751,16 +78275,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -77782,10 +78306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -77828,9 +78352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *276 - - *277 - - &521 + - *279 + - *280 + - &524 name: pull_number description: The number that identifies the pull request. in: path @@ -77843,9 +78367,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '304': *37 '404': *6 '406': @@ -77853,7 +78377,7 @@ paths: content: application/json: schema: *3 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -77880,9 +78404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -77924,9 +78448,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '422': *15 '403': *29 x-github: @@ -77948,9 +78472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -78010,17 +78534,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -78050,9 +78574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78073,9 +78597,9 @@ paths: application/json: schema: type: array - items: *517 + items: *520 examples: - default: *522 + default: *525 headers: Link: *58 x-github: @@ -78108,9 +78632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -78215,7 +78739,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: example-for-a-multi-line-comment: value: @@ -78303,9 +78827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *76 requestBody: required: true @@ -78328,7 +78852,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: default: value: @@ -78414,9 +78938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -78426,9 +78950,9 @@ paths: application/json: schema: type: array - items: *407 + items: *410 examples: - default: *523 + default: *526 headers: Link: *58 x-github: @@ -78458,9 +78982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -78470,7 +78994,7 @@ paths: application/json: schema: type: array - items: *422 + items: *425 examples: default: value: @@ -78488,7 +79012,7 @@ paths: headers: Link: *58 '422': *15 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -78508,9 +79032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 responses: '204': description: Response if pull request has been merged @@ -78533,9 +79057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -78646,9 +79170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 responses: '200': description: Response @@ -78664,7 +79188,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 required: - users - teams @@ -78723,9 +79247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -78762,7 +79286,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -79298,9 +79822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -79334,7 +79858,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -79839,9 +80363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -79851,7 +80375,7 @@ paths: application/json: schema: type: array - items: &524 + items: &527 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80002,9 +80526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -80090,9 +80614,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: &526 + default: &529 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80155,10 +80679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - &525 + - *279 + - *280 + - *524 + - &528 name: review_id description: The unique identifier of the review. in: path @@ -80170,9 +80694,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: &527 + default: &530 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80231,10 +80755,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80257,7 +80781,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80319,18 +80843,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *526 + default: *529 '422': *7 '404': *6 x-github: @@ -80357,10 +80881,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 - *17 - *19 responses: @@ -80443,9 +80967,9 @@ paths: _links: type: object properties: - self: *413 - html: *413 - pull_request: *413 + self: *416 + html: *416 + pull_request: *416 required: - self - html @@ -80588,10 +81112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80619,7 +81143,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80682,10 +81206,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80720,9 +81244,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *527 + default: *530 '404': *6 '422': *7 '403': *29 @@ -80744,9 +81268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -80809,8 +81333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *276 - - *277 + - *279 + - *280 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80823,9 +81347,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: &529 + default: &532 value: type: file encoding: base64 @@ -80867,8 +81391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *276 - - *277 + - *279 + - *280 - name: dir description: The alternate path to look for a README file in: path @@ -80888,9 +81412,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: *529 + default: *532 '404': *6 '422': *15 x-github: @@ -80912,8 +81436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -80923,7 +81447,7 @@ paths: application/json: schema: type: array - items: &530 + items: &533 title: Release description: A release. type: object @@ -80986,7 +81510,7 @@ paths: author: *4 assets: type: array - items: &531 + items: &534 title: Release Asset description: Data related to a release. type: object @@ -81167,8 +81691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -81244,9 +81768,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: &534 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -81349,9 +81873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *276 - - *277 - - &532 + - *279 + - *280 + - &535 name: asset_id description: The unique identifier of the asset. in: path @@ -81363,9 +81887,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &533 + default: &536 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 @@ -81399,7 +81923,7 @@ paths: type: User site_admin: false '404': *6 - '302': *424 + '302': *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81415,9 +81939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *276 - - *277 - - *532 + - *279 + - *280 + - *535 requestBody: required: false content: @@ -81445,9 +81969,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *533 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81463,9 +81987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *276 - - *277 - - *532 + - *279 + - *280 + - *535 responses: '204': description: Response @@ -81489,8 +82013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -81575,16 +82099,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81601,8 +82125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *276 - - *277 + - *279 + - *280 - name: tag description: tag parameter in: path @@ -81615,9 +82139,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -81639,9 +82163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *276 - - *277 - - &535 + - *279 + - *280 + - &538 name: release_id description: The unique identifier of the release. in: path @@ -81655,9 +82179,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: *530 + schema: *533 examples: - default: *534 + default: *537 '401': description: Unauthorized x-github: @@ -81675,9 +82199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 requestBody: required: false content: @@ -81741,9 +82265,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 '404': description: Not Found if the discussion category name is invalid content: @@ -81764,9 +82288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 responses: '204': description: Response @@ -81786,9 +82310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - *17 - *19 responses: @@ -81798,7 +82322,7 @@ paths: application/json: schema: type: array - items: *531 + items: *534 examples: default: value: @@ -81878,9 +82402,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: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - name: name in: query required: true @@ -81906,7 +82430,7 @@ paths: description: Response for successful upload content: application/json: - schema: *531 + schema: *534 examples: response-for-successful-upload: value: @@ -81960,9 +82484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - 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. @@ -81986,9 +82510,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -82009,9 +82533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 requestBody: required: true content: @@ -82041,16 +82565,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -82072,10 +82596,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *276 - - *277 - - *535 - - *272 + - *279 + - *280 + - *538 + - *275 responses: '204': description: Response @@ -82099,9 +82623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 - *17 - *19 responses: @@ -82117,8 +82641,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *536 - - &538 + - *539 + - &541 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82137,66 +82661,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *537 - - *538 - - allOf: - - *539 - - *538 - allOf: - *540 - - *538 - - allOf: - *541 - - *538 - allOf: - *542 - - *538 + - *541 - allOf: - *543 - - *538 + - *541 - allOf: - *544 - - *538 + - *541 - allOf: - *545 - - *538 + - *541 - allOf: - *546 - - *538 + - *541 - allOf: - *547 - - *538 + - *541 - allOf: - *548 - - *538 + - *541 - allOf: - *549 - - *538 + - *541 - allOf: - *550 - - *538 + - *541 - allOf: - *551 - - *538 + - *541 - allOf: - *552 - - *538 + - *541 - allOf: - *553 - - *538 + - *541 - allOf: - *554 - - *538 + - *541 - allOf: - *555 - - *538 + - *541 - allOf: - *556 - - *538 + - *541 - allOf: - *557 - - *538 + - *541 + - allOf: + - *558 + - *541 + - allOf: + - *559 + - *541 + - allOf: + - *560 + - *541 examples: default: value: @@ -82235,8 +82759,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - name: includes_parents @@ -82247,7 +82771,7 @@ paths: schema: type: boolean default: true - - *558 + - *561 responses: '200': description: Response @@ -82255,7 +82779,7 @@ paths: application/json: schema: type: array - items: *241 + items: *244 examples: default: value: @@ -82286,7 +82810,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -82302,8 +82826,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 requestBody: description: Request body required: true @@ -82323,16 +82847,16 @@ paths: - tag - push default: branch - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *235 + items: *241 + conditions: *238 rules: type: array description: An array of rules within the ruleset. - items: *240 + items: *243 required: - name - enforcement @@ -82363,9 +82887,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &568 + default: &571 value: id: 42 name: super cool ruleset @@ -82398,7 +82922,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -82412,12 +82936,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *276 - - *277 - - *559 - - *560 - - *561 + - *279 + - *280 - *562 + - *563 + - *564 + - *565 - *17 - *19 responses: @@ -82425,11 +82949,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *564 + default: *567 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82448,19 +82972,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *276 - - *277 - - *565 + - *279 + - *280 + - *568 responses: '200': description: Response content: application/json: - schema: *566 + schema: *569 examples: - default: *567 + default: *570 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82486,8 +83010,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82507,11 +83031,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *568 + default: *571 '404': *6 - '500': *145 + '500': *148 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -82527,8 +83051,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82553,16 +83077,16 @@ paths: - branch - tag - push - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *235 + items: *241 + conditions: *238 rules: description: An array of rules within the ruleset. type: array - items: *240 + items: *243 examples: default: value: @@ -82590,11 +83114,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *568 + default: *571 '404': *6 - '500': *145 + '500': *148 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -82610,8 +83134,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82622,7 +83146,7 @@ paths: '204': description: Response '404': *6 - '500': *145 + '500': *148 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -82634,8 +83158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - name: ruleset_id @@ -82651,11 +83175,11 @@ paths: application/json: schema: type: array - items: *243 + items: *246 examples: - default: *569 + default: *572 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82672,8 +83196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82691,7 +83215,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: default: value: @@ -82724,7 +83248,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82746,20 +83270,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *276 - - *277 - - *244 - - *245 - - *246 + - *279 + - *280 - *247 - - *48 - - *19 - - *17 - - *571 - - *572 - *248 - *249 - *250 + - *48 + - *19 + - *17 + - *574 + - *575 + - *251 + - *252 + - *253 responses: '200': description: Response @@ -82767,7 +83291,7 @@ paths: application/json: schema: type: array - items: &575 + items: &578 type: object properties: number: *54 @@ -82786,8 +83310,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *573 - resolution: *574 + state: *576 + resolution: *577 resolved_at: type: string format: date-time @@ -83005,15 +83529,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -83065,9 +83589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: true content: @@ -83075,8 +83599,8 @@ paths: schema: type: object properties: - state: *573 - resolution: *574 + state: *576 + resolution: *577 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -83094,7 +83618,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -83169,9 +83693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 - *19 - *17 responses: @@ -83182,7 +83706,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &708 + items: &711 type: object properties: type: @@ -83541,8 +84065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -83550,14 +84074,14 @@ paths: schema: type: object properties: - reason: &577 + reason: &580 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *576 + placeholder_id: *579 required: - reason - placeholder_id @@ -83574,7 +84098,7 @@ paths: schema: type: object properties: - reason: *577 + reason: *580 expire_at: type: string format: date-time @@ -83617,8 +84141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83633,7 +84157,7 @@ paths: properties: incremental_scans: type: array - items: &578 + items: &581 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83659,15 +84183,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *578 + items: *581 backfill_scans: type: array - items: *578 + items: *581 custom_pattern_backfill_scans: type: array items: allOf: - - *578 + - *581 - type: object properties: pattern_name: @@ -83737,8 +84261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *276 - - *277 + - *279 + - *280 - *48 - name: sort description: The property to sort the results by. @@ -83782,9 +84306,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: *580 + default: *583 '400': *14 '404': *6 x-github: @@ -83807,8 +84331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -83881,7 +84405,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 required: - login - type @@ -83968,9 +84492,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: &582 + default: &585 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -84203,8 +84727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -84308,7 +84832,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: default: value: @@ -84455,17 +84979,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '200': description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: *582 + default: *585 '403': *29 '404': *6 x-github: @@ -84489,9 +85013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 requestBody: required: true content: @@ -84564,7 +85088,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 required: - login - type @@ -84650,10 +85174,10 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: *582 - add_credit: *582 + default: *585 + add_credit: *585 '403': *29 '404': *6 '422': @@ -84691,9 +85215,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: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '202': *47 '400': *14 @@ -84720,17 +85244,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '202': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 '400': *14 '422': *15 '403': *29 @@ -84756,8 +85280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -84856,8 +85380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84866,7 +85390,7 @@ paths: application/json: schema: type: array - items: &583 + items: &586 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84879,7 +85403,7 @@ paths: - 1124 - -435 '202': *47 - '204': *142 + '204': *145 '422': description: Repository contains more than 10,000 commits x-github: @@ -84899,8 +85423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -84949,7 +85473,7 @@ paths: total: 89 week: 1336280400 '202': *47 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84976,8 +85500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -85051,7 +85575,7 @@ paths: d: 77 c: 10 '202': *47 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85073,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -85228,8 +85752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -85239,7 +85763,7 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: default: value: @@ -85252,7 +85776,7 @@ paths: - - 0 - 2 - 21 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85272,8 +85796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *276 - - *277 + - *279 + - *280 - name: sha in: path required: true @@ -85327,7 +85851,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *587 examples: default: value: @@ -85381,8 +85905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85394,7 +85918,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -85414,14 +85938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &585 + schema: &588 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85489,8 +86013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -85516,7 +86040,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: default: value: @@ -85543,8 +86067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -85564,8 +86088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85644,8 +86168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -85653,7 +86177,7 @@ paths: application/json: schema: type: array - items: &586 + items: &589 title: Tag protection description: Tag protection type: object @@ -85705,8 +86229,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -85729,7 +86253,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -85760,8 +86284,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: - - *276 - - *277 + - *279 + - *280 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85798,8 +86322,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *276 - - *277 + - *279 + - *280 - name: ref in: path required: true @@ -85835,8 +86359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85846,9 +86370,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 headers: Link: *58 '404': *6 @@ -85868,8 +86392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 responses: @@ -85877,7 +86401,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &590 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85889,7 +86413,7 @@ paths: required: - names examples: - default: &588 + default: &591 value: names: - octocat @@ -85912,8 +86436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -85944,9 +86468,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *590 examples: - default: *588 + default: *591 '404': *6 '422': *7 x-github: @@ -85967,9 +86491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *276 - - *277 - - &589 + - *279 + - *280 + - &592 name: per description: The time frame to display results for. in: query @@ -85998,7 +86522,7 @@ paths: example: 128 clones: type: array - items: &590 + items: &593 title: Traffic type: object properties: @@ -86085,8 +86609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -86176,8 +86700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -86237,9 +86761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *276 - - *277 - - *589 + - *279 + - *280 + - *592 responses: '200': description: Response @@ -86258,7 +86782,7 @@ paths: example: 3782 views: type: array - items: *590 + items: *593 required: - uniques - count @@ -86335,8 +86859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -86610,8 +87134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86634,8 +87158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -86657,8 +87181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -86684,8 +87208,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *276 - - *277 + - *279 + - *280 - name: ref in: path required: true @@ -86777,9 +87301,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87027,7 +87551,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &591 + text_matches: &594 title: Search Result Text Matches type: array items: @@ -87189,7 +87713,7 @@ paths: enum: - author-date - committer-date - - &592 + - &595 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 @@ -87260,7 +87784,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true comment_count: type: integer @@ -87280,7 +87804,7 @@ paths: url: type: string format: uri - verification: *459 + verification: *462 required: - author - committer @@ -87299,7 +87823,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true parents: type: array @@ -87317,7 +87841,7 @@ paths: type: number node_id: type: string - text_matches: *591 + text_matches: *594 required: - sha - node_id @@ -87499,7 +88023,7 @@ paths: - interactions - created - updated - - *592 + - *595 - *17 - *19 - name: advanced_search @@ -87626,8 +88150,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true comments: type: integer @@ -87641,7 +88165,7 @@ paths: type: string format: date-time nullable: true - text_matches: *591 + text_matches: *594 pull_request: type: object properties: @@ -87685,7 +88209,7 @@ paths: timeline_url: type: string format: uri - type: *189 + type: *192 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -87869,7 +88393,7 @@ paths: enum: - created - updated - - *592 + - *595 - *17 - *19 responses: @@ -87913,7 +88437,7 @@ paths: nullable: true score: type: number - text_matches: *591 + text_matches: *594 required: - id - node_id @@ -87998,7 +88522,7 @@ paths: - forks - help-wanted-issues - updated - - *592 + - *595 - *17 - *19 responses: @@ -88237,7 +88761,7 @@ paths: - admin - pull - push - text_matches: *591 + text_matches: *594 temp_clone_token: type: string allow_merge_commit: @@ -88537,7 +89061,7 @@ paths: type: string format: uri nullable: true - text_matches: *591 + text_matches: *594 related: type: array nullable: true @@ -88728,7 +89252,7 @@ paths: - followers - repositories - joined - - *592 + - *595 - *17 - *19 responses: @@ -88832,7 +89356,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *591 + text_matches: *594 blog: type: string nullable: true @@ -88911,7 +89435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &593 + - &596 name: team_id description: The unique identifier of the team. in: path @@ -88923,9 +89447,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 x-github: githubCloudOnly: false @@ -88952,7 +89476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *593 + - *596 requestBody: required: true content: @@ -89015,16 +89539,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '201': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 '422': *15 '403': *29 @@ -89052,7 +89576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *593 + - *596 responses: '204': description: Response @@ -89083,7 +89607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *593 + - *596 - *48 - *17 - *19 @@ -89094,9 +89618,9 @@ paths: application/json: schema: type: array - items: *263 + items: *266 examples: - default: *594 + default: *597 headers: Link: *58 x-github: @@ -89125,7 +89649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *593 + - *596 requestBody: required: true content: @@ -89159,9 +89683,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -89188,16 +89712,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89222,8 +89746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: false content: @@ -89246,9 +89770,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *595 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89273,8 +89797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 responses: '204': description: Response @@ -89303,8 +89827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *593 - - *265 + - *596 + - *268 - *48 - *17 - *19 @@ -89315,9 +89839,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *596 + default: *599 headers: Link: *58 x-github: @@ -89346,8 +89870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: true content: @@ -89369,9 +89893,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: triggersNotification: true githubCloudOnly: false @@ -89398,17 +89922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89433,9 +89957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 requestBody: required: true content: @@ -89457,9 +89981,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *597 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89484,9 +90008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 responses: '204': description: Response @@ -89515,9 +90039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 - 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. @@ -89543,9 +90067,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -89574,9 +90098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 requestBody: required: true content: @@ -89608,9 +90132,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89636,8 +90160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 - 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. @@ -89663,9 +90187,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -89694,8 +90218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: true content: @@ -89727,9 +90251,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89753,7 +90277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -89763,9 +90287,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 x-github: @@ -89791,7 +90315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *593 + - *596 - name: role description: Filters members returned by their role in the team. in: query @@ -89814,7 +90338,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -89842,7 +90366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89879,7 +90403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89919,7 +90443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89956,16 +90480,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 responses: '200': description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-user-is-a-team-maintainer: *598 + response-if-user-is-a-team-maintainer: *601 '404': *6 x-github: githubCloudOnly: false @@ -89998,7 +90522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 requestBody: required: false @@ -90024,9 +90548,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-users-membership-with-team-is-now-pending: *599 + response-if-users-membership-with-team-is-now-pending: *602 '403': description: Forbidden if team synchronization is set up '422': @@ -90060,7 +90584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -90089,7 +90613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90099,9 +90623,9 @@ paths: application/json: schema: type: array - items: *274 + items: *277 examples: - default: *600 + default: *603 headers: Link: *58 '404': *6 @@ -90127,16 +90651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *593 - - *275 + - *596 + - *278 responses: '200': description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *601 + default: *604 '404': description: Not Found if project is not managed by this team x-github: @@ -90160,8 +90684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *593 - - *275 + - *596 + - *278 requestBody: required: false content: @@ -90228,8 +90752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *593 - - *275 + - *596 + - *278 responses: '204': description: Response @@ -90256,7 +90780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90268,7 +90792,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '404': *6 @@ -90298,15 +90822,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *602 + schema: *605 examples: alternative-response-with-extra-repository-information: value: @@ -90457,9 +90981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 requestBody: required: false content: @@ -90509,9 +91033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 responses: '204': description: Response @@ -90536,7 +91060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90546,9 +91070,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - response-if-child-teams-exist: *603 + response-if-child-teams-exist: *606 headers: Link: *58 '404': *6 @@ -90581,7 +91105,7 @@ paths: application/json: schema: oneOf: - - &605 + - &608 title: Private User description: Private User type: object @@ -90784,7 +91308,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *604 + - *607 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90937,7 +91461,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -91016,7 +91540,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '304': *37 '404': *6 '403': *29 @@ -91140,11 +91664,11 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91281,17 +91805,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -91335,7 +91859,7 @@ paths: type: integer secrets: type: array - items: &606 + items: &609 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91375,7 +91899,7 @@ paths: - visibility - selected_repositories_url examples: - default: *399 + default: *402 headers: Link: *58 x-github: @@ -91451,7 +91975,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: default: value: @@ -91597,11 +92121,11 @@ paths: type: array items: *119 examples: - default: *607 + default: *610 '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91654,7 +92178,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91688,7 +92212,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91721,7 +92245,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91741,17 +92265,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91775,7 +92299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 requestBody: required: false content: @@ -91805,9 +92329,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -91829,11 +92353,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '202': *47 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91858,13 +92382,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '202': description: Response content: application/json: - schema: &608 + schema: &611 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91905,7 +92429,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &609 + default: &612 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91913,7 +92437,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91937,7 +92461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *197 + - *200 - name: export_id in: path required: true @@ -91950,9 +92474,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 '404': *6 x-github: githubCloudOnly: false @@ -91973,7 +92497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *197 + - *200 responses: '200': description: Response @@ -91989,11 +92513,11 @@ paths: type: integer machines: type: array - items: *610 + items: *613 examples: - default: *611 + default: *614 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -92020,7 +92544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *197 + - *200 requestBody: required: true content: @@ -92070,13 +92594,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *287 + repository: *290 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *397 - required: *398 + properties: *400 + required: *401 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -92850,17 +93374,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '304': *37 - '500': *145 + '500': *148 '400': *14 '401': *25 '402': @@ -92890,16 +93414,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 - '500': *145 + default: *399 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -92928,9 +93452,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: &624 + default: &627 value: - id: 197 name: hello_docker @@ -93031,7 +93555,7 @@ paths: application/json: schema: type: array - items: &612 + items: &615 title: Email description: Email type: object @@ -93096,9 +93620,9 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: - default: &626 + default: &629 value: - email: octocat@github.com verified: true @@ -93173,7 +93697,7 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: default: value: @@ -93283,7 +93807,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '304': *37 @@ -93316,7 +93840,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '304': *37 @@ -93429,7 +93953,7 @@ paths: application/json: schema: type: array - items: &613 + items: &616 title: GPG Key description: A unique encryption key type: object @@ -93560,7 +94084,7 @@ paths: - subkeys - revoked examples: - default: &637 + default: &640 value: - id: 3 name: Octocat's GPG Key @@ -93645,9 +94169,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *616 examples: - default: &614 + default: &617 value: id: 3 name: Octocat's GPG Key @@ -93704,7 +94228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &615 + - &618 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93716,9 +94240,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *616 examples: - default: *614 + default: *617 '404': *6 '304': *37 '403': *29 @@ -93741,7 +94265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *615 + - *618 responses: '204': description: Response @@ -93932,7 +94456,7 @@ paths: type: array items: *60 examples: - default: *616 + default: *619 headers: Link: *58 '404': *6 @@ -94017,12 +94541,12 @@ paths: application/json: schema: anyOf: - - *183 + - *187 - type: object properties: {} additionalProperties: false examples: - default: *184 + default: *188 '204': description: Response when there are no restrictions x-github: @@ -94046,7 +94570,7 @@ paths: required: true content: application/json: - schema: *470 + schema: *473 examples: default: value: @@ -94057,7 +94581,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: default: value: @@ -94138,7 +94662,7 @@ paths: - closed - all default: open - - *192 + - *195 - name: sort description: What to sort results by. in: query @@ -94163,7 +94687,7 @@ paths: type: array items: *77 examples: - default: *193 + default: *196 headers: Link: *58 '404': *6 @@ -94196,7 +94720,7 @@ paths: application/json: schema: type: array - items: &617 + items: &620 title: Key description: Key type: object @@ -94293,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *620 examples: - default: &618 + default: &621 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94328,15 +94852,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *499 + - *502 responses: '200': description: Response content: application/json: - schema: *617 + schema: *620 examples: - default: *618 + default: *621 '404': *6 '304': *37 '403': *29 @@ -94359,7 +94883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *499 + - *502 responses: '204': description: Response @@ -94392,7 +94916,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94460,7 +94984,7 @@ paths: - account - plan examples: - default: &620 + default: &623 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94522,9 +95046,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 headers: Link: *58 '304': *37 @@ -94564,7 +95088,7 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: default: value: @@ -94672,7 +95196,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -94755,7 +95279,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -94823,7 +95347,7 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: default: value: @@ -95076,7 +95600,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -95256,7 +95780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *203 + - *206 - name: exclude in: query required: false @@ -95269,7 +95793,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -95463,7 +95987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *203 + - *206 responses: '302': description: Response @@ -95489,7 +96013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *203 + - *206 responses: '204': description: Response @@ -95518,8 +96042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *203 - - *621 + - *206 + - *624 responses: '204': description: Response @@ -95543,7 +96067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *203 + - *206 - *17 - *19 responses: @@ -95555,7 +96079,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '404': *6 @@ -95590,9 +96114,9 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: - default: *622 + default: *625 headers: Link: *58 '304': *37 @@ -95634,7 +96158,7 @@ paths: - docker - nuget - container - - *623 + - *626 - *19 - *17 responses: @@ -95644,10 +96168,10 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 - '400': *625 + default: *627 + '400': *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95667,16 +96191,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 responses: '200': description: Response content: application/json: - schema: *210 + schema: *213 examples: - default: &638 + default: &641 value: id: 40201 name: octo-name @@ -95789,8 +96313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 responses: '204': description: Response @@ -95820,8 +96344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 - name: token description: package token schema: @@ -95853,8 +96377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 - *19 - *17 - name: state @@ -95874,7 +96398,7 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: default: value: @@ -95923,15 +96447,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -95967,9 +96491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '204': description: Response @@ -95999,9 +96523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '204': description: Response @@ -96057,7 +96581,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: default: value: @@ -96129,9 +96653,9 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: - default: *626 + default: *629 headers: Link: *58 '304': *37 @@ -96244,7 +96768,7 @@ paths: type: array items: *60 examples: - default: &633 + default: &636 summary: Default response value: - id: 1296269 @@ -96548,9 +97072,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96588,9 +97112,9 @@ paths: application/json: schema: type: array - items: *472 + items: *475 examples: - default: *627 + default: *630 headers: Link: *58 '304': *37 @@ -96613,7 +97137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *187 + - *191 responses: '204': description: Response @@ -96636,7 +97160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *187 + - *191 responses: '204': description: Response @@ -96669,7 +97193,7 @@ paths: application/json: schema: type: array - items: &628 + items: &631 title: Social account description: Social media account type: object @@ -96684,7 +97208,7 @@ paths: - provider - url examples: - default: &629 + default: &632 value: - provider: twitter url: https://twitter.com/github @@ -96746,9 +97270,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *629 + default: *632 '422': *15 '304': *37 '404': *6 @@ -96835,7 +97359,7 @@ paths: application/json: schema: type: array - items: &630 + items: &633 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96855,7 +97379,7 @@ paths: - title - created_at examples: - default: &645 + default: &648 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96921,9 +97445,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: &631 + default: &634 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96954,7 +97478,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: - - &632 + - &635 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96966,9 +97490,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '404': *6 '304': *37 '403': *29 @@ -96991,7 +97515,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: - - *632 + - *635 responses: '204': description: Response @@ -97020,7 +97544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &646 + - &649 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 @@ -97045,11 +97569,11 @@ paths: type: array items: *60 examples: - default-response: *633 + default-response: *636 application/vnd.github.v3.star+json: schema: type: array - items: &647 + items: &650 title: Starred Repository description: Starred Repository type: object @@ -97205,8 +97729,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: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response if this repository is starred by you @@ -97234,8 +97758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -97259,8 +97783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -97295,7 +97819,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '304': *37 @@ -97332,7 +97856,7 @@ paths: application/json: schema: type: array - items: *261 + items: *264 examples: default: value: @@ -97418,10 +97942,10 @@ paths: application/json: schema: oneOf: - - *605 - - *604 + - *608 + - *607 examples: - default-response: &635 + default-response: &638 summary: Default response value: login: octocat @@ -97456,7 +97980,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &636 + response-with-git-hub-plan-information: &639 summary: Response with GitHub plan information value: login: octocat @@ -97516,7 +98040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *634 + - *637 - *17 responses: '200': @@ -97527,7 +98051,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: example: ; rel="next" @@ -97565,11 +98089,11 @@ paths: application/json: schema: oneOf: - - *605 - - *604 + - *608 + - *607 examples: - default-response: *635 - response-with-git-hub-plan-information: *636 + default-response: *638 + response-with-git-hub-plan-information: *639 '404': *6 x-github: githubCloudOnly: false @@ -97645,7 +98169,7 @@ paths: bundle_url: type: string examples: - default: *338 + default: *341 '201': description: Response content: @@ -97684,9 +98208,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 + default: *627 '403': *29 '401': *25 x-github: @@ -97969,7 +98493,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -98000,7 +98524,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -98090,9 +98614,9 @@ paths: application/json: schema: type: array - items: *613 + items: *616 examples: - default: *637 + default: *640 headers: Link: *58 x-github: @@ -98196,7 +98720,7 @@ paths: application/json: schema: *22 examples: - default: *469 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98272,9 +98796,9 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: - default: *622 + default: *625 headers: Link: *58 x-github: @@ -98313,7 +98837,7 @@ paths: - docker - nuget - container - - *623 + - *626 - *132 - *19 - *17 @@ -98324,12 +98848,12 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 + default: *627 '403': *29 '401': *25 - '400': *625 + '400': *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98349,17 +98873,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '200': description: Response content: application/json: - schema: *210 + schema: *213 examples: - default: *638 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98380,8 +98904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '204': @@ -98414,8 +98938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 - name: token description: package token @@ -98448,8 +98972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '200': @@ -98458,7 +98982,7 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: default: value: @@ -98516,16 +99040,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 - *132 responses: '200': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -98560,10 +99084,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *212 - - *213 - - *132 - *215 + - *216 + - *132 + - *218 responses: '204': description: Response @@ -98595,10 +99119,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *212 - - *213 - - *132 - *215 + - *216 + - *132 + - *218 responses: '204': description: Response @@ -98645,7 +99169,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -98928,7 +99452,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -98958,9 +99482,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98988,9 +99512,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: - default: *642 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99018,9 +99542,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: - default: *644 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99048,9 +99572,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *629 + default: *632 headers: Link: *58 x-github: @@ -99080,9 +99604,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *645 + default: *648 headers: Link: *58 x-github: @@ -99107,7 +99631,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *646 + - *649 - *48 - *17 - *19 @@ -99119,11 +99643,11 @@ paths: schema: anyOf: - type: array - items: *647 + items: *650 - type: array items: *60 examples: - default-response: *633 + default-response: *636 headers: Link: *58 x-github: @@ -99154,7 +99678,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -99282,7 +99806,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &648 + enterprise: &651 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99340,7 +99864,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &649 + installation: &652 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99359,7 +99883,7 @@ x-webhooks: required: - id - node_id - organization: &650 + organization: &653 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99419,13 +99943,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &651 + repository: &654 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &681 + properties: &684 id: description: Unique identifier of the repository example: 42 @@ -100108,7 +100632,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &682 + required: &685 - archive_url - assignees_url - blobs_url @@ -100259,10 +100783,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -100338,11 +100862,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: &652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: &655 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) @@ -100565,11 +101089,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: *652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: *655 sender: *4 required: - action @@ -100752,11 +101276,11 @@ x-webhooks: - everyone required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: *652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: *655 sender: *4 required: - action @@ -100840,7 +101364,7 @@ x-webhooks: type: string enum: - completed - check_run: &654 + check_run: &657 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100903,7 +101427,7 @@ x-webhooks: type: string pull_requests: type: array - items: *355 + items: *358 repository: *119 status: example: completed @@ -100941,7 +101465,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *653 + deployment: *656 details_url: example: https://example.com type: string @@ -100991,7 +101515,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *355 + items: *358 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101026,9 +101550,9 @@ x-webhooks: - output - app - pull_requests - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -101421,10 +101945,10 @@ x-webhooks: type: string enum: - created - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -101820,10 +102344,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 requested_action: description: The action requested by the user. type: object @@ -102228,10 +102752,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -103208,10 +103732,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -103881,10 +104405,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -104548,10 +105072,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -104714,7 +105238,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104859,20 +105383,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &655 + commit_oid: &658 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: *648 - installation: *649 - organization: *650 - ref: &656 + enterprise: *651 + installation: *652 + organization: *653 + ref: &659 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: *651 + repository: *654 sender: *4 required: - action @@ -105034,7 +105558,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105264,12 +105788,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105364,7 +105888,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105532,12 +106056,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105700,7 +106224,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105866,12 +106390,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105968,7 +106492,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106136,16 +106660,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *651 + repository: *654 sender: *4 required: - action @@ -106239,7 +106763,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106379,12 +106903,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -106641,10 +107165,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -106724,18 +107248,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *650 - pusher_type: &657 + organization: *653 + pusher_type: &660 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &658 + ref: &661 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106745,7 +107269,7 @@ x-webhooks: enum: - tag - branch - repository: *651 + repository: *654 sender: *4 required: - ref @@ -106827,10 +107351,10 @@ x-webhooks: type: string enum: - created - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -106915,9 +107439,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -106994,10 +107518,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -107074,10 +107598,10 @@ x-webhooks: type: string enum: - updated - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -107154,19 +107678,19 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - repository: *651 - organization: *650 + enterprise: *651 + installation: *652 + repository: *654 + organization: *653 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *231 + items: *234 old_property_values: type: array description: The old custom property values for the repository. - items: *231 + items: *234 required: - action - repository @@ -107242,18 +107766,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - pusher_type: *657 - ref: *658 + enterprise: *651 + installation: *652 + organization: *653 + pusher_type: *660 + ref: *661 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *651 + repository: *654 sender: *4 required: - ref @@ -107337,11 +107861,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107425,11 +107949,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107513,11 +108037,11 @@ x-webhooks: type: string enum: - created - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107599,11 +108123,11 @@ x-webhooks: type: string enum: - dismissed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107685,11 +108209,11 @@ x-webhooks: type: string enum: - fixed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107772,11 +108296,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107858,11 +108382,11 @@ x-webhooks: type: string enum: - reopened - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107939,9 +108463,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - key: &659 + enterprise: *651 + installation: *652 + key: &662 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107977,8 +108501,8 @@ x-webhooks: - verified - created_at - read_only - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -108055,11 +108579,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - key: *659 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + key: *662 + organization: *653 + repository: *654 sender: *4 required: - action @@ -108620,12 +109144,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: &663 + workflow: &666 title: Workflow type: object nullable: true @@ -109351,13 +109875,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *434 + deployment: *437 pull_requests: type: array - items: *519 - repository: *651 - organization: *650 - installation: *649 + items: *522 + repository: *654 + organization: *653 + installation: *652 sender: *4 responses: '200': @@ -109428,7 +109952,7 @@ x-webhooks: type: string enum: - approved - approver: &660 + approver: &663 type: object properties: avatar_url: @@ -109471,11 +109995,11 @@ x-webhooks: type: string comment: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - reviewers: &661 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + reviewers: &664 type: array items: type: object @@ -109554,7 +110078,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &662 + workflow_job_run: &665 type: object properties: conclusion: @@ -110285,18 +110809,18 @@ x-webhooks: type: string enum: - rejected - approver: *660 + approver: *663 comment: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - reviewers: *661 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + reviewers: *664 sender: *4 since: type: string - workflow_job_run: *662 + workflow_job_run: *665 workflow_job_runs: type: array items: @@ -111000,13 +111524,13 @@ x-webhooks: type: string enum: - requested - enterprise: *648 + enterprise: *651 environment: type: string - installation: *649 - organization: *650 - repository: *651 - requestor: &668 + installation: *652 + organization: *653 + repository: *654 + requestor: &671 title: User type: object nullable: true @@ -112905,12 +113429,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Deployment Workflow Run type: object @@ -113590,7 +114114,7 @@ x-webhooks: type: string enum: - answered - answer: &666 + answer: &669 type: object properties: author_association: @@ -113747,7 +114271,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &664 + discussion: &667 title: Discussion description: A Discussion in a repository. type: object @@ -114033,7 +114557,7 @@ x-webhooks: - id labels: type: array - items: *481 + items: *484 required: - repository_url - category @@ -114055,10 +114579,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114185,11 +114709,11 @@ x-webhooks: - from required: - category - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114272,11 +114796,11 @@ x-webhooks: type: string enum: - closed - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114358,7 +114882,7 @@ x-webhooks: type: string enum: - created - comment: &665 + comment: &668 type: object properties: author_association: @@ -114515,11 +115039,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114602,12 +115126,12 @@ x-webhooks: type: string enum: - deleted - comment: *665 - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + comment: *668 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114702,12 +115226,12 @@ x-webhooks: - from required: - body - comment: *665 - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + comment: *668 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114791,11 +115315,11 @@ x-webhooks: type: string enum: - created - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114877,11 +115401,11 @@ x-webhooks: type: string enum: - deleted - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114981,11 +115505,11 @@ x-webhooks: type: string required: - from - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115067,10 +115591,10 @@ x-webhooks: type: string enum: - labeled - discussion: *664 - enterprise: *648 - installation: *649 - label: &667 + discussion: *667 + enterprise: *651 + installation: *652 + label: &670 title: Label type: object properties: @@ -115102,8 +115626,8 @@ x-webhooks: - color - default - description - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115186,11 +115710,11 @@ x-webhooks: type: string enum: - locked - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115272,11 +115796,11 @@ x-webhooks: type: string enum: - pinned - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115358,11 +115882,11 @@ x-webhooks: type: string enum: - reopened - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115447,16 +115971,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *664 - new_repository: *651 + new_discussion: *667 + new_repository: *654 required: - new_discussion - new_repository - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115539,10 +116063,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *664 - old_answer: *666 - organization: *650 - repository: *651 + discussion: *667 + old_answer: *669 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115624,12 +116148,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *664 - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115712,11 +116236,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115798,11 +116322,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115875,7 +116399,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *648 + enterprise: *651 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116535,9 +117059,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - forkee @@ -116683,9 +117207,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pages: description: The pages that were updated. type: array @@ -116722,7 +117246,7 @@ x-webhooks: - action - sha - html_url - repository: *651 + repository: *654 sender: *4 required: - pages @@ -116798,10 +117322,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: &669 + organization: *653 + repositories: &672 description: An array of repository objects that the installation can access. type: array @@ -116827,8 +117351,8 @@ x-webhooks: - name - full_name - private - repository: *651 - requester: *668 + repository: *654 + requester: *671 sender: *4 required: - action @@ -116903,11 +117427,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -116983,11 +117507,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117063,10 +117587,10 @@ x-webhooks: type: string enum: - added - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories_added: &670 + organization: *653 + repositories_added: &673 description: An array of repository objects, which were added to the installation. type: array @@ -117112,15 +117636,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *651 - repository_selection: &671 + repository: *654 + repository_selection: &674 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *668 + requester: *671 sender: *4 required: - action @@ -117199,10 +117723,10 @@ x-webhooks: type: string enum: - removed - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories_added: *670 + organization: *653 + repositories_added: *673 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117229,9 +117753,9 @@ x-webhooks: - name - full_name - private - repository: *651 - repository_selection: *671 - requester: *668 + repository: *654 + repository_selection: *674 + requester: *671 sender: *4 required: - action @@ -117310,11 +117834,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117492,10 +118016,10 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 target_type: type: string @@ -117574,11 +118098,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117830,8 +118354,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118654,7 +119178,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -118987,8 +119511,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -119068,7 +119592,7 @@ x-webhooks: type: string enum: - deleted - comment: &672 + comment: &675 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119233,8 +119757,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120053,7 +120577,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -120388,8 +120912,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -120469,7 +120993,7 @@ x-webhooks: type: string enum: - edited - changes: &700 + changes: &703 description: The changes to the comment. type: object properties: @@ -120481,9 +121005,9 @@ x-webhooks: type: string required: - from - comment: *672 - enterprise: *648 - installation: *649 + comment: *675 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121305,7 +121829,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -121638,8 +122162,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -121721,10 +122245,10 @@ x-webhooks: type: string enum: - assigned - assignee: *668 - enterprise: *648 - installation: *649 - issue: &675 + assignee: *671 + enterprise: *651 + installation: *652 + issue: &678 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122542,7 +123066,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -122643,8 +123167,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -122724,8 +123248,8 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123548,7 +124072,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -123784,8 +124308,8 @@ x-webhooks: required: - state - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -123864,8 +124388,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124677,7 +125201,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -124777,8 +125301,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -124857,8 +125381,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125694,7 +126218,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -125773,7 +126297,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &673 + milestone: &676 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125911,8 +126435,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -126011,8 +126535,8 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126827,7 +127351,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -126931,9 +127455,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *667 - organization: *650 - repository: *651 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -127013,8 +127537,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127828,7 +128352,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -127932,9 +128456,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *667 - organization: *650 - repository: *651 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -128014,8 +128538,8 @@ x-webhooks: type: string enum: - locked - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128853,7 +129377,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -128934,8 +129458,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -129014,8 +129538,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129850,7 +130374,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -129928,9 +130452,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *673 - organization: *650 - repository: *651 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -131391,8 +131915,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132210,7 +132734,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -132310,8 +132834,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -132391,9 +132915,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *648 - installation: *649 - issue: &674 + enterprise: *651 + installation: *652 + issue: &677 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133205,7 +133729,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -133305,8 +133829,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -133385,8 +133909,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134303,9 +134827,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *189 - organization: *650 - repository: *651 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135200,7 +135724,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -135768,11 +136292,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *648 - installation: *649 - issue: *674 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *677 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135852,12 +136376,12 @@ x-webhooks: type: string enum: - typed - enterprise: *648 - installation: *649 - issue: *675 - type: *189 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135938,7 +136462,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &703 + assignee: &706 title: User type: object nullable: true @@ -136008,11 +136532,11 @@ x-webhooks: required: - login - id - enterprise: *648 - installation: *649 - issue: *675 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + organization: *653 + repository: *654 sender: *4 required: - action @@ -136091,12 +136615,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *648 - installation: *649 - issue: *675 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -136176,8 +136700,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137016,7 +137540,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -137094,8 +137618,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137175,11 +137699,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *648 - installation: *649 - issue: *674 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *677 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137258,12 +137782,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *648 - installation: *649 - issue: *675 - type: *189 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137343,11 +137867,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137425,11 +137949,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137539,11 +138063,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137625,9 +138149,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: &676 + enterprise: *651 + installation: *652 + marketplace_purchase: &679 title: Marketplace Purchase type: object required: @@ -137710,8 +138234,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *650 - previous_marketplace_purchase: &677 + organization: *653 + previous_marketplace_purchase: &680 title: Marketplace Purchase type: object properties: @@ -137791,7 +138315,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -137871,10 +138395,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137957,7 +138481,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -138039,10 +138563,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138124,7 +138648,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -138205,8 +138729,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 marketplace_purchase: title: Marketplace Purchase type: object @@ -138288,9 +138812,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *650 - previous_marketplace_purchase: *677 - repository: *651 + organization: *653 + previous_marketplace_purchase: *680 + repository: *654 sender: *4 required: - action @@ -138370,12 +138894,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 - previous_marketplace_purchase: *677 - repository: *651 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 + previous_marketplace_purchase: *680 + repository: *654 sender: *4 required: - action @@ -138477,11 +139001,11 @@ x-webhooks: type: string required: - to - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138581,11 +139105,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138664,11 +139188,11 @@ x-webhooks: type: string enum: - removed - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138746,11 +139270,11 @@ x-webhooks: type: string enum: - added - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138826,7 +139350,7 @@ x-webhooks: required: - login - id - team: &678 + team: &681 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139016,11 +139540,11 @@ x-webhooks: type: string enum: - removed - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139097,7 +139621,7 @@ x-webhooks: required: - login - id - team: *678 + team: *681 required: - action - scope @@ -139179,8 +139703,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *649 - merge_group: &680 + installation: *652 + merge_group: &683 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139199,15 +139723,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *679 + head_commit: *682 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139293,10 +139817,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *649 - merge_group: *680 - organization: *650 - repository: *651 + installation: *652 + merge_group: *683 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139369,7 +139893,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 + enterprise: *651 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139477,16 +140001,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *649 - organization: *650 + installation: *652 + organization: *653 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -139567,11 +140091,11 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139650,9 +140174,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - milestone: &683 + enterprise: *651 + installation: *652 + milestone: &686 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139789,8 +140313,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139869,11 +140393,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139983,11 +140507,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140067,11 +140591,11 @@ x-webhooks: type: string enum: - opened - enterprise: *648 - installation: *649 - milestone: *683 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *686 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140150,11 +140674,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *668 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + blocked_user: *671 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140233,11 +140757,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *668 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + blocked_user: *671 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140316,9 +140840,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - membership: &684 + enterprise: *651 + installation: *652 + membership: &687 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140410,8 +140934,8 @@ x-webhooks: - role - organization_url - user - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140489,11 +141013,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140572,8 +141096,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140689,10 +141213,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 - user: *668 + user: *671 required: - action - invitation @@ -140770,11 +141294,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140861,11 +141385,11 @@ x-webhooks: properties: from: type: string - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140941,9 +141465,9 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 package: description: Information about the package. type: object @@ -141442,7 +141966,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &685 + items: &688 title: Ruby Gems metadata type: object properties: @@ -141537,7 +142061,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -141613,9 +142137,9 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 package: description: Information about the package. type: object @@ -141968,7 +142492,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *685 + items: *688 source_url: type: string format: uri @@ -142038,7 +142562,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -142215,12 +142739,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *648 + enterprise: *651 id: type: integer - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - id @@ -142297,7 +142821,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &686 + personal_access_token_request: &689 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142443,10 +142967,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *648 - organization: *650 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142523,11 +143047,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *686 - enterprise: *648 - organization: *650 + personal_access_token_request: *689 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142603,11 +143127,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *686 - enterprise: *648 - organization: *650 + personal_access_token_request: *689 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142682,11 +143206,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *686 - organization: *650 - enterprise: *648 + personal_access_token_request: *689 + organization: *653 + enterprise: *651 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142791,7 +143315,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *687 + last_response: *690 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142823,8 +143347,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 zen: description: Random string of GitHub zen. @@ -143069,10 +143593,10 @@ x-webhooks: - from required: - note - enterprise: *648 - installation: *649 - organization: *650 - project_card: &688 + enterprise: *651 + installation: *652 + organization: *653 + project_card: &691 title: Project Card type: object properties: @@ -143191,7 +143715,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -143272,11 +143796,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project_card: *688 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_card: *691 + repository: *654 sender: *4 required: - action @@ -143356,9 +143880,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 project_card: title: Project Card type: object @@ -143486,8 +144010,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -143581,11 +144105,11 @@ x-webhooks: - from required: - note - enterprise: *648 - installation: *649 - organization: *650 - project_card: *688 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_card: *691 + repository: *654 sender: *4 required: - action @@ -143679,9 +144203,9 @@ x-webhooks: - from required: - column_id - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 project_card: allOf: - title: Project Card @@ -143871,7 +144395,7 @@ x-webhooks: type: string required: - after_id - repository: *651 + repository: *654 sender: *4 required: - action @@ -143951,10 +144475,10 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - organization: *650 - project: &690 + enterprise: *651 + installation: *652 + organization: *653 + project: &693 title: Project type: object properties: @@ -144078,7 +144602,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -144158,10 +144682,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project_column: &689 + enterprise: *651 + installation: *652 + organization: *653 + project_column: &692 title: Project Column type: object properties: @@ -144200,7 +144724,7 @@ x-webhooks: - name - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -144279,18 +144803,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -144380,11 +144904,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 + repository: *654 sender: *4 required: - action @@ -144464,11 +144988,11 @@ x-webhooks: type: string enum: - moved - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 + repository: *654 sender: *4 required: - action @@ -144548,11 +145072,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144632,18 +145156,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - project: *690 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -144745,11 +145269,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144828,11 +145352,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144913,9 +145437,9 @@ x-webhooks: type: string enum: - closed - installation: *649 - organization: *650 - projects_v2: &691 + installation: *652 + organization: *653 + projects_v2: &694 title: Projects v2 Project description: A projects v2 project type: object @@ -145058,9 +145582,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145141,9 +145665,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145260,9 +145784,9 @@ x-webhooks: type: string to: type: string - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145345,7 +145869,7 @@ x-webhooks: type: string enum: - archived - changes: &695 + changes: &698 type: object properties: archived_at: @@ -145359,9 +145883,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *649 - organization: *650 - projects_v2_item: &692 + installation: *652 + organization: *653 + projects_v2_item: &695 title: Projects v2 Item description: An item belonging to a project type: object @@ -145495,9 +146019,9 @@ x-webhooks: nullable: true to: type: string - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145579,9 +146103,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145662,9 +146186,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145770,7 +146294,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &693 + - &696 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145788,7 +146312,7 @@ x-webhooks: required: - id - name - - &694 + - &697 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145811,8 +146335,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *693 - - *694 + - *696 + - *697 required: - field_value - type: object @@ -145828,9 +146352,9 @@ x-webhooks: nullable: true required: - body - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145925,9 +146449,9 @@ x-webhooks: to: type: string nullable: true - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -146010,10 +146534,10 @@ x-webhooks: type: string enum: - restored - changes: *695 - installation: *649 - organization: *650 - projects_v2_item: *692 + changes: *698 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -146095,9 +146619,9 @@ x-webhooks: type: string enum: - reopened - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -146178,9 +146702,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2_status_update: &696 + installation: *652 + organization: *653 + projects_v2_status_update: &699 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146307,9 +146831,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2_status_update: *696 + installation: *652 + organization: *653 + projects_v2_status_update: *699 sender: *4 required: - action @@ -146445,9 +146969,9 @@ x-webhooks: type: string format: date nullable: true - installation: *649 - organization: *650 - projects_v2_status_update: *696 + installation: *652 + organization: *653 + projects_v2_status_update: *699 sender: *4 required: - action @@ -146518,10 +147042,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - repository @@ -146598,13 +147122,13 @@ x-webhooks: type: string enum: - assigned - assignee: *668 - enterprise: *648 - installation: *649 - number: &697 + assignee: *671 + enterprise: *651 + installation: *652 + number: &700 description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -148887,7 +149411,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -148969,11 +149493,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -151251,7 +151775,7 @@ x-webhooks: - draft reason: type: string - repository: *651 + repository: *654 sender: *4 required: - action @@ -151333,11 +151857,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -153615,7 +154139,7 @@ x-webhooks: - draft reason: type: string - repository: *651 + repository: *654 sender: *4 required: - action @@ -153697,13 +154221,13 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: &698 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: &701 allOf: - - *519 + - *522 - type: object properties: allow_auto_merge: @@ -153765,7 +154289,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *651 + repository: *654 sender: *4 required: - action @@ -153846,12 +154370,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -153931,11 +154455,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *648 - milestone: *502 - number: *697 - organization: *650 - pull_request: &699 + enterprise: *651 + milestone: *505 + number: *700 + organization: *653 + pull_request: &702 title: Pull Request type: object properties: @@ -156198,7 +156722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -156277,11 +156801,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -158563,7 +159087,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *651 + repository: *654 sender: *4 required: - action @@ -158687,12 +159211,12 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -158772,11 +159296,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -161043,7 +161567,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -161123,11 +161647,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *648 - installation: *649 - label: *667 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + label: *670 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -163409,7 +163933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -163490,10 +164014,10 @@ x-webhooks: type: string enum: - locked - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -165773,7 +166297,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -165853,12 +166377,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *648 - milestone: *502 - number: *697 - organization: *650 - pull_request: *699 - repository: *651 + enterprise: *651 + milestone: *505 + number: *700 + organization: *653 + pull_request: *702 + repository: *654 sender: *4 required: - action @@ -165937,12 +166461,12 @@ x-webhooks: type: string enum: - opened - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166023,12 +166547,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166108,12 +166632,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166479,9 +167003,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -168651,7 +169175,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -168731,7 +169255,7 @@ x-webhooks: type: string enum: - deleted - comment: &701 + comment: &704 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169016,9 +169540,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -171176,7 +171700,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -171256,11 +171780,11 @@ x-webhooks: type: string enum: - edited - changes: *700 - comment: *701 - enterprise: *648 - installation: *649 - organization: *650 + changes: *703 + comment: *704 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -173421,7 +173945,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -173502,9 +174026,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -175677,7 +176201,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 review: description: The review that was affected. type: object @@ -175920,9 +176444,9 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -177976,8 +178500,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 - review: &702 + repository: *654 + review: &705 description: The review that was affected. type: object properties: @@ -178206,12 +178730,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -180494,7 +181018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_reviewer: title: User type: object @@ -180578,12 +181102,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -182873,7 +183397,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183065,12 +183589,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -185355,7 +185879,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_reviewer: title: User type: object @@ -185440,12 +185964,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -187721,7 +188245,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187902,9 +188426,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -190079,8 +190603,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 - review: *702 + repository: *654 + review: *705 sender: *4 required: - action @@ -190160,9 +190684,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -192232,7 +192756,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 sender: *4 thread: type: object @@ -192615,9 +193139,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -194673,7 +195197,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 sender: *4 thread: type: object @@ -195059,10 +195583,10 @@ x-webhooks: type: string before: type: string - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -197333,7 +197857,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -197415,11 +197939,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *703 - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + assignee: *706 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -199702,7 +200226,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -199781,11 +200305,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *648 - installation: *649 - label: *667 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + label: *670 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -202058,7 +202582,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -202139,10 +202663,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -204407,7 +204931,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -204607,7 +205131,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *648 + enterprise: *651 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204699,8 +205223,8 @@ x-webhooks: - url - author - committer - installation: *649 - organization: *650 + installation: *652 + organization: *653 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205275,9 +205799,9 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 registry_package: type: object properties: @@ -205723,7 +206247,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *685 + items: *688 summary: type: string tag_name: @@ -205777,7 +206301,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -205855,9 +206379,9 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 registry_package: type: object properties: @@ -206165,7 +206689,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *685 + items: *688 summary: type: string tag_name: @@ -206214,7 +206738,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -206291,10 +206815,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - release: &704 + enterprise: *651 + installation: *652 + organization: *653 + release: &707 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206599,7 +207123,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *651 + repository: *654 sender: *4 required: - action @@ -206676,11 +207200,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -206797,11 +207321,11 @@ x-webhooks: type: boolean required: - to - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -206879,9 +207403,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207190,7 +207714,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *651 + repository: *654 sender: *4 required: - action @@ -207266,10 +207790,10 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - release: &705 + enterprise: *651 + installation: *652 + organization: *653 + release: &708 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207575,7 +208099,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *651 + repository: *654 sender: *4 required: - action @@ -207651,11 +208175,11 @@ x-webhooks: type: string enum: - released - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -207731,11 +208255,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *648 - installation: *649 - organization: *650 - release: *705 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *708 + repository: *654 sender: *4 required: - action @@ -207811,11 +208335,11 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_advisory: *579 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_advisory: *582 sender: *4 required: - action @@ -207891,11 +208415,11 @@ x-webhooks: type: string enum: - reported - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_advisory: *579 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_advisory: *582 sender: *4 required: - action @@ -207971,10 +208495,10 @@ x-webhooks: type: string enum: - archived - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208051,10 +208575,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208132,10 +208656,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208219,10 +208743,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208334,10 +208858,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208409,10 +208933,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 status: type: string @@ -208493,10 +209017,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208573,10 +209097,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208670,10 +209194,10 @@ x-webhooks: - name required: - repository - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208753,11 +209277,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 sender: *4 required: - action @@ -208835,11 +209359,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 sender: *4 required: - action @@ -208917,11 +209441,11 @@ x-webhooks: type: string enum: - edited - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 changes: type: object properties: @@ -208940,16 +209464,16 @@ x-webhooks: properties: added: type: array - items: *235 + items: *238 deleted: type: array - items: *235 + items: *238 updated: type: array items: type: object properties: - condition: *235 + condition: *238 changes: type: object properties: @@ -208982,16 +209506,16 @@ x-webhooks: properties: added: type: array - items: *240 + items: *243 deleted: type: array - items: *240 + items: *243 updated: type: array items: type: object properties: - rule: *240 + rule: *243 changes: type: object properties: @@ -209225,10 +209749,10 @@ x-webhooks: - from required: - owner - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209306,10 +209830,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209387,7 +209911,7 @@ x-webhooks: type: string enum: - create - alert: &706 + alert: &709 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209508,10 +210032,10 @@ x-webhooks: type: string enum: - open - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209717,10 +210241,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209798,11 +210322,11 @@ x-webhooks: type: string enum: - reopen - alert: *706 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210001,10 +210525,10 @@ x-webhooks: enum: - fixed - open - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210082,7 +210606,7 @@ x-webhooks: type: string enum: - created - alert: &707 + alert: &710 type: object properties: number: *54 @@ -210193,10 +210717,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210277,11 +210801,11 @@ x-webhooks: type: string enum: - created - alert: *707 - installation: *649 - location: *708 - organization: *650 - repository: *651 + alert: *710 + installation: *652 + location: *711 + organization: *653 + repository: *654 sender: *4 required: - location @@ -210519,11 +211043,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210601,11 +211125,11 @@ x-webhooks: type: string enum: - reopened - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210683,11 +211207,11 @@ x-webhooks: type: string enum: - resolved - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210765,11 +211289,11 @@ x-webhooks: type: string enum: - validated - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210895,10 +211419,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *651 - enterprise: *648 - installation: *649 - organization: *650 + repository: *654 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -210976,11 +211500,11 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - security_advisory: &709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + security_advisory: &712 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211163,11 +211687,11 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - security_advisory: *709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + security_advisory: *712 sender: *4 required: - action @@ -211240,10 +211764,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211427,11 +211951,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *234 - enterprise: *648 - installation: *649 - organization: *650 - repository: *287 + security_and_analysis: *237 + enterprise: *651 + installation: *652 + organization: *653 + repository: *290 sender: *4 required: - changes @@ -211509,12 +212033,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: &710 + sponsorship: &713 type: object properties: created_at: @@ -211815,12 +212339,12 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - sponsorship @@ -211908,12 +212432,12 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -211990,17 +212514,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &711 + effective_date: &714 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: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - sponsorship @@ -212074,7 +212598,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &712 + changes: &715 type: object properties: tier: @@ -212118,13 +212642,13 @@ x-webhooks: - from required: - tier - effective_date: *711 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + effective_date: *714 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -212201,13 +212725,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *712 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + changes: *715 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -212281,10 +212805,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212367,10 +212891,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212790,15 +213314,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *648 + enterprise: *651 id: description: The unique identifier of the status. type: integer - installation: *649 + installation: *652 name: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 sha: description: The Commit SHA. @@ -212913,9 +213437,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213005,9 +213529,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213097,9 +213621,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213189,9 +213713,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213268,12 +213792,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - team: &713 + team: &716 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213463,9 +213987,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -213923,7 +214447,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -213999,9 +214523,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -214459,7 +214983,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -214536,9 +215060,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -214996,7 +215520,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -215140,9 +215664,9 @@ x-webhooks: - from required: - permissions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -215600,7 +216124,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - changes @@ -215678,9 +216202,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -216138,7 +216662,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -216214,10 +216738,10 @@ x-webhooks: type: string enum: - started - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -216290,16 +216814,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *648 + enterprise: *651 inputs: type: object nullable: true additionalProperties: true - installation: *649 - organization: *650 + installation: *652 + organization: *653 ref: type: string - repository: *651 + repository: *654 sender: *4 workflow: type: string @@ -216381,10 +216905,10 @@ x-webhooks: type: string enum: - completed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: allOf: @@ -216621,7 +217145,7 @@ x-webhooks: type: string required: - conclusion - deployment: *434 + deployment: *437 required: - action - repository @@ -216700,10 +217224,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: allOf: @@ -216963,7 +217487,7 @@ x-webhooks: required: - status - steps - deployment: *434 + deployment: *437 required: - action - repository @@ -217042,10 +217566,10 @@ x-webhooks: type: string enum: - queued - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: type: object @@ -217180,7 +217704,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *434 + deployment: *437 required: - action - repository @@ -217259,10 +217783,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: type: object @@ -217398,7 +217922,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *434 + deployment: *437 required: - action - repository @@ -217478,12 +218002,12 @@ x-webhooks: type: string enum: - completed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object @@ -218482,12 +219006,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object @@ -219471,12 +219995,12 @@ x-webhooks: type: string enum: - requested - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 1c7ab9a912..f14ec9647d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -179,6 +179,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -64953,62 +64957,2658 @@ } } } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "blocking" - } - }, - "put": { - "summary": "Block a user from an organization", - "description": "Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned.", - "tags": [ - "orgs" - ], - "operationId": "orgs/block-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + }, + "put": { + "summary": "Block a user from an organization", + "description": "Blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned.", + "tags": [ + "orgs" + ], + "operationId": "orgs/block-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/blocking#block-a-user-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + }, + "422": { + "description": "Validation failed, or the endpoint has been spammed.", + "content": { + "application/json": { + "schema": { + "title": "Validation Error", + "description": "Validation Error", + "type": "object", + "required": [ + "message", + "documentation_url" + ], + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "errors": { + "type": "array", + "items": { + "type": "object", + "required": [ + "code" + ], + "properties": { + "resource": { + "type": "string" + }, + "field": { + "type": "string" + }, + "message": { + "type": "string" + }, + "code": { + "type": "string" + }, + "index": { + "type": "integer" + }, + "value": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "integer", + "nullable": true + }, + { + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + ] + } + } + } + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + }, + "delete": { + "summary": "Unblock a user from an organization", + "description": "Unblocks the given user on behalf of the specified organization.", + "tags": [ + "orgs" + ], + "operationId": "orgs/unblock-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "orgs", + "subcategory": "blocking" + } + } + }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + } + } + } + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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" + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + } + } }, - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "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" + } + } + } + } } - } - ], - "responses": { - "204": { - "description": "Response" }, "422": { - "description": "Validation failed, or the endpoint has been spammed.", + "description": "Unprocessable Entity", "content": { "application/json": { "schema": { - "title": "Validation Error", - "description": "Validation Error", + "title": "Basic Error", + "description": "Basic Error", "type": "object", - "required": [ - "message", - "documentation_url" - ], "properties": { "message": { "type": "string" @@ -65016,50 +67616,32 @@ "documentation_url": { "type": "string" }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "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" } } } @@ -65070,20 +67652,20 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "orgs", - "subcategory": "blocking" + "category": "campaigns", + "subcategory": "campaigns" } }, "delete": { - "summary": "Unblock a user from an organization", - "description": "Unblocks the given user on behalf of the specified organization.", + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", "tags": [ - "orgs" + "campaigns" ], - "operationId": "orgs/unblock-user", + "operationId": "campaigns/delete-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/orgs/blocking#unblock-a-user-from-an-organization" + "url": "https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization" }, "parameters": [ { @@ -65096,25 +67678,72 @@ } }, { - "name": "username", - "description": "The handle for the GitHub user account.", + "name": "campaign_number", + "description": "The campaign number.", "in": "path", "required": true, "schema": { - "type": "string" + "type": "integer" } } ], "responses": { "204": { - "description": "Response" + "description": "Deletion successful" + }, + "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": true, - "category": "orgs", - "subcategory": "blocking" + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -124402,7 +127031,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -125684,7 +128313,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -126973,7 +129602,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -128903,7 +131532,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -130210,7 +132839,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -131495,7 +134124,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -281292,6 +283921,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -281326,42 +283961,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -281628,6 +284234,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -281662,42 +284274,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -407009,7 +409592,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -408721,7 +411304,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -409793,7 +412376,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -411072,7 +413655,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -413021,7 +415604,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -414108,7 +416691,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -415383,7 +417966,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1050924,7 +1053507,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1053773,7 +1056356,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1056622,7 +1059205,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1057622,7 +1060205,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1058450,7 +1061033,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1059281,7 +1061864,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 5403169d09..4abf0ec91d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -95,6 +95,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -847,7 +849,7 @@ paths: - subscriptions_url - type - url - type: &253 + type: &256 type: string description: The type of credit the user is receiving. enum: @@ -1013,7 +1015,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &581 + - &584 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1576,7 +1578,7 @@ paths: schema: type: integer default: 30 - - &166 + - &170 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1592,7 +1594,7 @@ paths: application/json: schema: type: array - items: &167 + items: &171 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1672,7 +1674,7 @@ paths: - installation_id - repository_id examples: - default: &168 + default: &172 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1800,7 +1802,7 @@ paths: description: Response content: application/json: - schema: &169 + schema: &173 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1914,7 +1916,7 @@ paths: - request - response examples: - default: &170 + default: &174 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2841,7 +2843,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &232 + properties: &235 id: description: Unique identifier of the repository example: 42 @@ -3270,7 +3272,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &233 + required: &236 - archive_url - assignees_url - blobs_url @@ -7476,7 +7478,7 @@ paths: description: Response content: application/json: - schema: &140 + schema: &143 type: array description: A list of default code security configurations items: @@ -7492,7 +7494,7 @@ paths: default configuration: *42 examples: - default: &141 + default: &144 value: - default_for_new_repos: public configuration: @@ -7800,7 +7802,7 @@ paths: - *41 - *44 responses: - '204': &142 + '204': &145 description: A header with no content is returned. '400': *14 '403': *29 @@ -7927,7 +7929,7 @@ paths: default: value: default_for_new_repos: all - configuration: &139 + configuration: &142 value: id: 1325 target_type: organization @@ -8010,7 +8012,7 @@ paths: application/json: schema: type: array - items: &143 + items: &146 type: object description: Repositories associated with a code security configuration and attachment status @@ -8311,7 +8313,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &144 + repository: &147 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8405,7 +8407,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &149 + - &153 name: state in: query description: |- @@ -8414,7 +8416,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &150 + - &154 name: severity in: query description: |- @@ -8423,7 +8425,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &151 + - &155 name: ecosystem in: query description: |- @@ -8432,14 +8434,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &152 + - &156 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 - - &153 + - &157 name: epss_percentage in: query description: |- @@ -8451,7 +8453,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 - - &154 + - &158 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8461,7 +8463,7 @@ paths: enum: - development - runtime - - &155 + - &159 name: sort in: query description: |- @@ -8479,7 +8481,7 @@ paths: - *48 - *39 - *40 - - &156 + - &160 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8492,7 +8494,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &157 + - &161 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8512,7 +8514,7 @@ paths: application/json: schema: type: array - items: &158 + items: &162 type: object description: A Dependabot alert. properties: @@ -8578,7 +8580,7 @@ paths: - unknown - direct - transitive - security_advisory: &426 + security_advisory: &429 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8797,13 +8799,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &133 + updated_at: &136 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: &135 + dismissed_at: &138 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8833,14 +8835,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &134 + fixed_at: &137 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &427 + auto_dismissed_at: &430 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8866,7 +8868,7 @@ paths: - repository additionalProperties: false examples: - default: &159 + default: &163 value: - number: 2 state: dismissed @@ -9213,7 +9215,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &244 + - &247 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9224,7 +9226,7 @@ paths: enum: - open - resolved - - &245 + - &248 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9234,7 +9236,7 @@ paths: required: false schema: type: string - - &246 + - &249 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9243,7 +9245,7 @@ paths: required: false schema: type: string - - &247 + - &250 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. @@ -9259,7 +9261,7 @@ paths: - *17 - *39 - *40 - - &248 + - &251 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9268,7 +9270,7 @@ paths: required: false schema: type: string - - &249 + - &252 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9277,7 +9279,7 @@ paths: schema: type: boolean default: false - - &250 + - &253 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9293,7 +9295,7 @@ paths: application/json: schema: type: array - items: &251 + items: &254 type: object properties: number: *54 @@ -9312,14 +9314,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &573 + state: &576 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: &574 + resolution: &577 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9421,7 +9423,7 @@ paths: is base64 encoded nullable: true examples: - default: &252 + default: &255 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9757,7 +9759,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &475 + properties: &478 id: type: integer format: int64 @@ -9868,7 +9870,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &411 + properties: &414 url: type: string format: uri @@ -9938,7 +9940,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &412 + required: &415 - closed_issues - creator - description @@ -10017,7 +10019,7 @@ paths: timeline_url: type: string format: uri - type: &189 + type: &192 title: Issue Type description: The type of issue. type: object @@ -10142,7 +10144,7 @@ paths: - total - completed - percent_completed - required: &476 + required: &479 - assignee - closed_at - comments @@ -10164,7 +10166,7 @@ paths: - author_association - created_at - updated_at - comment: &473 + comment: &476 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10731,7 +10733,7 @@ paths: url: type: string format: uri - user: &604 + user: &607 title: Public User description: Public User type: object @@ -12601,7 +12603,7 @@ paths: - closed - all default: open - - &192 + - &195 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12652,7 +12654,7 @@ paths: type: array items: *77 examples: - default: &193 + default: &196 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14036,14 +14038,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &276 + - &279 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &277 + - &280 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14114,7 +14116,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &288 + '301': &291 description: Moved permanently content: application/json: @@ -14136,7 +14138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &505 + - &508 name: all description: If `true`, show notifications marked as read. in: query @@ -14144,7 +14146,7 @@ paths: schema: type: boolean default: false - - &506 + - &509 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14154,7 +14156,7 @@ paths: type: boolean default: false - *67 - - &507 + - &510 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: @@ -14190,7 +14192,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &161 + properties: &165 id: type: integer format: int64 @@ -14466,7 +14468,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &234 + security_and_analysis: &237 nullable: true type: object properties: @@ -14530,7 +14532,7 @@ paths: enum: - enabled - disabled - required: &162 + required: &166 - archive_url - assignees_url - blobs_url @@ -14618,7 +14620,7 @@ paths: - url - subscription_url examples: - default: &508 + default: &511 value: - id: '1' repository: @@ -15160,11 +15162,11 @@ paths: application/json: schema: type: array - items: &199 + items: &202 title: Organization Simple description: A GitHub organization. type: object - properties: &147 + properties: &150 login: type: string example: github @@ -15205,7 +15207,7 @@ paths: type: string example: A great organization nullable: true - required: &148 + required: &151 - login - url - id @@ -15219,7 +15221,7 @@ paths: - avatar_url - description examples: - default: &622 + default: &625 value: - login: github id: 1 @@ -15371,7 +15373,7 @@ paths: repositoryName: github/example '400': *14 '403': *29 - '500': &145 + '500': &148 description: Internal Error content: application/json: @@ -16128,7 +16130,7 @@ paths: type: integer repository_cache_usages: type: array - items: &293 + items: &296 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16996,7 +16998,7 @@ paths: - all - local_only - selected - selected_actions_url: &299 + selected_actions_url: &302 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` @@ -17086,7 +17088,7 @@ paths: type: array items: *60 examples: - default: &616 + default: &619 value: total_count: 1 repositories: @@ -17414,7 +17416,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &306 type: object properties: default_workflow_permissions: &112 @@ -17465,7 +17467,7 @@ paths: required: false content: application/json: - schema: &304 + schema: &307 type: object properties: default_workflow_permissions: *112 @@ -17954,7 +17956,7 @@ paths: type: array items: *119 examples: - default: &607 + default: &610 value: total_count: 1 repositories: @@ -18596,7 +18598,7 @@ paths: application/json: schema: type: array - items: &305 + items: &308 title: Runner Application description: Runner Application type: object @@ -18621,7 +18623,7 @@ paths: - download_url - filename examples: - default: &306 + default: &309 value: - os: osx architecture: x64 @@ -18707,7 +18709,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &307 + '201': &310 description: Response content: application/json: @@ -18818,7 +18820,7 @@ paths: - token - expires_at examples: - default: &308 + default: &311 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18857,7 +18859,7 @@ paths: application/json: schema: *123 examples: - default: &309 + default: &312 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18891,7 +18893,7 @@ paths: application/json: schema: *121 examples: - default: &310 + default: &313 value: id: 23 name: MBP @@ -19116,7 +19118,7 @@ paths: - *94 - *120 responses: - '200': &311 + '200': &314 description: Response content: application/json: @@ -19173,7 +19175,7 @@ paths: parameters: - *94 - *120 - - &312 + - &315 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19303,7 +19305,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &327 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19332,7 +19334,7 @@ paths: - key_id - key examples: - default: &325 + default: &328 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19745,7 +19747,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &298 + - &301 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)." @@ -20280,7 +20282,7 @@ paths: bundle_url: type: string examples: - default: &338 + default: &341 value: attestations: - bundle: @@ -20399,7 +20401,7 @@ paths: type: array items: *4 examples: - default: &194 + default: &197 value: - login: octocat id: 1 @@ -20500,6 +20502,684 @@ paths: enabledForGitHubApps: true category: orgs subcategory: blocking + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - *94 + - *19 + - *17 + - *48 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &133 + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &134 + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, + in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: *4 + team_managers: + description: The campaign team managers + type: array + items: &152 + title: Team + description: Groups of organization members that gives permissions + on specified repositories. + type: object + properties: + id: + type: integer + node_id: + type: string + name: + type: string + slug: + type: string + description: + type: string + nullable: true + privacy: + type: string + notification_setting: + type: string + permission: + type: string + permissions: + type: object + properties: + pull: + type: boolean + triage: + type: boolean + push: + type: boolean + maintain: + type: boolean + admin: + type: boolean + required: + - pull + - triage + - push + - maintain + - admin + url: + type: string + format: uri + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + title: Team Simple + description: Groups of organization members that gives + permissions on specified repositories. + type: object + properties: &210 + id: + description: Unique identifier of the team + type: integer + example: 1 + node_id: + type: string + example: MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + example: https://api.github.com/organizations/1/team/1 + members_url: + type: string + example: https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + example: Justice League + description: + description: Description of the team + type: string + nullable: true + example: A great team. + permission: + description: Permission that the team will have for + its repositories + type: string + example: admin + privacy: + description: The level of privacy this team should + have + type: string + example: closed + notification_setting: + description: The notification setting the team has + set + type: string + example: notifications_enabled + html_url: + type: string + format: uri + example: https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + example: https://api.github.com/organizations/1/team/1/repos + slug: + type: string + example: justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps + to within LDAP environment + example: uid=example,ou=users,dc=github,dc=com + type: string + required: &211 + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + nullable: true + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + - parent + published_at: + description: The date and time the campaign was published, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign + is still open. + type: string + format: date-time + nullable: true + state: *133 + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link + examples: + default: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited + by attackers. This reduces risk, prevents breaches and can help + protect sensitive data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + headers: + Link: *58 + '404': *6 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - *94 + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: &135 + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '429': + description: Too Many Requests + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: *135 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#update-a-campaign + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: *133 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *134 + examples: + default: *135 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - *94 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *65 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -20517,17 +21197,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &364 + - &367 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: &136 + schema: &139 type: string description: The name of the tool used to generate the code scanning analysis. - - &365 + - &368 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 @@ -20535,7 +21215,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &137 + schema: &140 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -20550,7 +21230,7 @@ paths: be returned. in: query required: false - schema: &367 + schema: &370 type: string description: State of a code scanning alert. enum: @@ -20573,7 +21253,7 @@ paths: be returned. in: query required: false - schema: &368 + schema: &371 type: string description: Severity of a code scanning alert. enum: @@ -20596,16 +21276,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: &369 + instances_url: &372 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &138 + state: &141 type: string description: State of a code scanning alert. nullable: true @@ -20613,7 +21293,7 @@ paths: - open - dismissed - fixed - fixed_at: *134 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -20621,8 +21301,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: &370 + dismissed_at: *138 + dismissed_reason: &373 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -20631,13 +21311,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &371 + dismissed_comment: &374 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &372 + rule: &375 type: object properties: id: @@ -20690,25 +21370,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &373 + tool: &376 type: object properties: - name: *136 + name: *139 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *137 - most_recent_instance: &374 + guid: *140 + most_recent_instance: &377 type: object properties: - ref: &366 + ref: &369 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &384 + analysis_key: &387 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20719,13 +21399,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &385 + category: &388 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: *138 + state: *141 commit_sha: type: string message: @@ -21351,7 +22031,7 @@ paths: application/json: schema: *42 examples: - default: *139 + default: *142 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21379,9 +22059,9 @@ paths: description: Response content: application/json: - schema: *140 + schema: *143 examples: - default: *141 + default: *144 '304': *37 '403': *29 '404': *6 @@ -21430,7 +22110,7 @@ paths: - 32 - 91 responses: - '204': *142 + '204': *145 '400': *14 '403': *29 '404': *6 @@ -21465,7 +22145,7 @@ paths: application/json: schema: *42 examples: - default: *139 + default: *142 '304': *37 '403': *29 '404': *6 @@ -21727,7 +22407,7 @@ paths: - *94 - *44 responses: - '204': *142 + '204': *145 '400': *14 '403': *29 '404': *6 @@ -21865,7 +22545,7 @@ paths: default: value: default_for_new_repos: all - configuration: *139 + configuration: *142 '403': *29 '404': *6 x-github: @@ -21918,13 +22598,13 @@ paths: application/json: schema: type: array - items: *143 + items: *146 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *144 + repository: *147 '403': *29 '404': *6 x-github: @@ -21964,7 +22644,7 @@ paths: type: integer codespaces: type: array - items: &195 + items: &198 type: object title: Codespace description: A codespace. @@ -21994,7 +22674,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &397 + properties: &400 name: type: string description: The name of the machine. @@ -22036,7 +22716,7 @@ paths: - ready - in_progress nullable: true - required: &398 + required: &401 - name - display_name - operating_system @@ -22241,7 +22921,7 @@ paths: - pulls_url - recent_folders examples: - default: &196 + default: &199 value: total_count: 3 codespaces: @@ -22651,7 +23331,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -22717,7 +23397,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22772,7 +23452,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22826,7 +23506,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22865,7 +23545,7 @@ paths: type: integer secrets: type: array - items: &146 + items: &149 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -22904,7 +23584,7 @@ paths: - updated_at - visibility examples: - default: &399 + default: &402 value: total_count: 2 secrets: @@ -22942,7 +23622,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22971,7 +23651,7 @@ paths: - key_id - key examples: - default: &401 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23001,9 +23681,9 @@ paths: description: Response content: application/json: - schema: *146 + schema: *149 examples: - default: &403 + default: &406 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23415,7 +24095,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23470,7 +24150,7 @@ paths: currently being billed. seats: type: array - items: &198 + items: &201 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -23481,152 +24161,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *147 - required: *148 + properties: *150 + required: *151 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &188 - title: Team - description: Groups of organization members that gives - permissions on specified repositories. - type: object - properties: - id: - type: integer - node_id: - type: string - name: - type: string - slug: - type: string - description: - type: string - nullable: true - privacy: - type: string - notification_setting: - type: string - permission: - type: string - permissions: - type: object - properties: - pull: - type: boolean - triage: - type: boolean - push: - type: boolean - maintain: - type: boolean - admin: - type: boolean - required: - - pull - - triage - - push - - maintain - - admin - url: - type: string - format: uri - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - title: Team Simple - description: Groups of organization members that gives - permissions on specified repositories. - type: object - properties: &207 - id: - description: Unique identifier of the team - type: integer - example: 1 - node_id: - type: string - example: MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - example: https://api.github.com/organizations/1/team/1 - members_url: - type: string - example: https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - example: Justice League - description: - description: Description of the team - type: string - nullable: true - example: A great team. - permission: - description: Permission that the team will have - for its repositories - type: string - example: admin - privacy: - description: The level of privacy this team should - have - type: string - example: closed - notification_setting: - description: The notification setting the team - has set - type: string - example: notifications_enabled - html_url: - type: string - format: uri - example: https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - example: https://api.github.com/organizations/1/team/1/repos - slug: - type: string - example: justice-league - ldap_dn: - description: Distinguished Name (DN) that team - maps to within LDAP environment - example: uid=example,ou=users,dc=github,dc=com - type: string - required: &208 - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - nullable: true - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent + - *152 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -23791,7 +24333,7 @@ paths: site_admin: false headers: Link: *58 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23866,7 +24408,7 @@ paths: default: value: seats_created: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -23944,7 +24486,7 @@ paths: default: value: seats_cancelled: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24023,7 +24565,7 @@ paths: default: value: seats_created: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24101,7 +24643,7 @@ paths: default: value: seats_cancelled: 5 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -24172,7 +24714,7 @@ paths: application/json: schema: type: array - items: &258 + items: &261 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -24479,7 +25021,7 @@ paths: - date additionalProperties: true examples: - default: &259 + default: &262 value: - date: '2024-06-24' total_active_users: 24 @@ -24578,10 +25120,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *145 + '500': *148 '403': *29 '404': *6 - '422': &260 + '422': &263 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -24609,18 +25151,18 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *94 - - *149 - - *150 - - *151 - - *152 - *153 - *154 - *155 + - *156 + - *157 + - *158 + - *159 - *48 - *39 - *40 - - *156 - - *157 + - *160 + - *161 - *17 responses: '200': @@ -24629,9 +25171,9 @@ paths: application/json: schema: type: array - items: *158 + items: *162 examples: - default: *159 + default: *163 '304': *37 '400': *14 '403': *29 @@ -24675,7 +25217,7 @@ paths: type: integer secrets: type: array - items: &160 + items: &164 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24752,7 +25294,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &433 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24769,7 +25311,7 @@ paths: - key_id - key examples: - default: &431 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24799,7 +25341,7 @@ paths: description: Response content: application/json: - schema: *160 + schema: *164 examples: default: value: @@ -25096,7 +25638,7 @@ paths: application/json: schema: type: array - items: &210 + items: &213 title: Package description: A software package type: object @@ -25146,8 +25688,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *161 - required: *162 + properties: *165 + required: *166 nullable: true created_at: type: string @@ -25166,7 +25708,7 @@ paths: - created_at - updated_at examples: - default: &211 + default: &214 value: - id: 197 name: hello_docker @@ -25333,7 +25875,7 @@ paths: application/json: schema: type: array - items: &185 + items: &189 title: Organization Invitation description: Organization Invitation type: object @@ -25380,7 +25922,7 @@ paths: - invitation_teams_url - node_id examples: - default: &186 + default: &190 value: - id: 1 login: monalisa @@ -25447,7 +25989,7 @@ paths: application/json: schema: type: array - items: &163 + items: &167 title: Org Hook description: Org Hook type: object @@ -25618,9 +26160,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: - default: &164 + default: &168 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25668,7 +26210,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *94 - - &165 + - &169 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -25681,9 +26223,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: - default: *164 + default: *168 '404': *6 x-github: githubCloudOnly: false @@ -25711,7 +26253,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *94 - - *165 + - *169 requestBody: required: false content: @@ -25756,7 +26298,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -25798,7 +26340,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *94 - - *165 + - *169 responses: '204': description: Response @@ -25826,7 +26368,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *94 - - *165 + - *169 responses: '200': description: Response @@ -25857,7 +26399,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *94 - - *165 + - *169 requestBody: required: false content: @@ -25908,9 +26450,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *17 - - *166 + - *170 responses: '200': description: Response @@ -25918,9 +26460,9 @@ paths: application/json: schema: type: array - items: *167 + items: *171 examples: - default: *168 + default: *172 '400': *14 '422': *15 x-github: @@ -25946,16 +26488,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *16 responses: '200': description: Response content: application/json: - schema: *169 + schema: *173 examples: - default: *170 + default: *174 '400': *14 '422': *15 x-github: @@ -25981,7 +26523,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *94 - - *165 + - *169 - *16 responses: '202': *47 @@ -26011,7 +26553,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *94 - - *165 + - *169 responses: '204': description: Response @@ -26034,7 +26576,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *94 - - &175 + - &179 name: actor_type in: path description: The type of the actor @@ -26047,14 +26589,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &176 + - &180 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &171 + - &175 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -26062,7 +26604,7 @@ paths: required: true schema: type: string - - &172 + - &176 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -26156,12 +26698,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *94 - - *171 - - *172 + - *175 + - *176 - *19 - *17 - *48 - - &181 + - &185 name: sort description: The property to sort the results by. in: query @@ -26240,14 +26782,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *94 - - *171 - - *172 + - *175 + - *176 responses: '200': description: Response content: application/json: - schema: &173 + schema: &177 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -26263,7 +26805,7 @@ paths: type: integer format: int64 examples: - default: &174 + default: &178 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -26284,23 +26826,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *94 - - &177 + - &181 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *171 - - *172 + - *175 + - *176 responses: '200': description: Response content: application/json: - schema: *173 + schema: *177 examples: - default: *174 + default: *178 x-github: enabledForGitHubApps: true category: orgs @@ -26319,18 +26861,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *94 - - *171 - - *172 - *175 - *176 + - *179 + - *180 responses: '200': description: Response content: application/json: - schema: *173 + schema: *177 examples: - default: *174 + default: *178 x-github: enabledForGitHubApps: true category: orgs @@ -26348,9 +26890,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *94 - - *171 - - *172 - - &178 + - *175 + - *176 + - &182 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -26363,7 +26905,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &183 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -26379,7 +26921,7 @@ paths: type: integer format: int64 examples: - default: &180 + default: &184 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -26416,18 +26958,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *94 - - *177 - - *171 - - *172 - - *178 + - *181 + - *175 + - *176 + - *182 responses: '200': description: Response content: application/json: - schema: *179 + schema: *183 examples: - default: *180 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -26445,19 +26987,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *94 + - *179 + - *180 - *175 - *176 - - *171 - - *172 - - *178 + - *182 responses: '200': description: Response content: application/json: - schema: *179 + schema: *183 examples: - default: *180 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -26475,13 +27017,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *94 - - *177 - - *171 - - *172 + - *181 + - *175 + - *176 - *19 - *17 - *48 - - *181 + - *185 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -26562,7 +27104,7 @@ paths: application/json: schema: *22 examples: - default: &469 + default: &472 value: id: 1 account: @@ -26728,12 +27270,12 @@ paths: application/json: schema: anyOf: - - &183 + - &187 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &182 + limit: &186 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26758,7 +27300,7 @@ paths: properties: {} additionalProperties: false examples: - default: &184 + default: &188 value: limit: collaborators_only origin: organization @@ -26787,13 +27329,13 @@ paths: required: true content: application/json: - schema: &470 + schema: &473 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *182 + limit: *186 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26817,9 +27359,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: - default: *184 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -26895,9 +27437,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 '404': *6 @@ -26974,7 +27516,7 @@ paths: description: Response content: application/json: - schema: *185 + schema: *189 examples: default: value: @@ -27029,7 +27571,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &187 + - &191 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27060,7 +27602,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *187 + - *191 - *17 - *19 responses: @@ -27070,9 +27612,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: &209 + default: &212 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27115,7 +27657,7 @@ paths: application/json: schema: type: array - items: *189 + items: *192 examples: default: value: @@ -27200,9 +27742,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *192 examples: - default: &190 + default: &193 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -27235,7 +27777,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *94 - - &191 + - &194 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -27288,9 +27830,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *192 examples: - default: *190 + default: *193 '404': *6 '422': *7 x-github: @@ -27315,7 +27857,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *94 - - *191 + - *194 responses: '204': description: Response @@ -27378,7 +27920,7 @@ paths: - closed - all default: open - - *192 + - *195 - name: type description: Can be the name of an issue type. in: query @@ -27409,7 +27951,7 @@ paths: type: array items: *77 examples: - default: *193 + default: *196 headers: Link: *58 '404': *6 @@ -27467,7 +28009,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '422': *15 @@ -27563,11 +28105,11 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27592,7 +28134,7 @@ paths: parameters: - *94 - *132 - - &197 + - &200 name: codespace_name in: path required: true @@ -27602,7 +28144,7 @@ paths: responses: '202': *47 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27627,15 +28169,15 @@ paths: parameters: - *94 - *132 - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: &396 + default: &399 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27777,7 +28319,7 @@ paths: recent_folders: [] template: '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27815,7 +28357,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *198 + schema: *201 examples: default: value: @@ -27858,7 +28400,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -27890,7 +28432,7 @@ paths: description: Response content: application/json: - schema: &200 + schema: &203 title: Org Membership description: Org Membership type: object @@ -27919,7 +28461,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *199 + organization: *202 user: title: Simple User description: A GitHub user. @@ -27942,7 +28484,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &201 + response-if-user-has-an-active-admin-membership-with-organization: &204 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28039,9 +28581,9 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: - response-if-user-already-had-membership-with-organization: *201 + response-if-user-already-had-membership-with-organization: *204 '422': *15 '403': *29 x-github: @@ -28109,7 +28651,7 @@ paths: application/json: schema: type: array - items: &202 + items: &205 title: Migration description: A migration. type: object @@ -28438,7 +28980,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -28617,7 +29159,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &203 + - &206 name: migration_id description: The unique identifier of the migration. in: path @@ -28644,7 +29186,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -28814,7 +29356,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *203 + - *206 responses: '302': description: Response @@ -28836,7 +29378,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *203 + - *206 responses: '204': description: Response @@ -28860,8 +29402,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *203 - - &621 + - *206 + - &624 name: repo_name description: repo_name parameter in: path @@ -28889,7 +29431,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *203 + - *206 - *17 - *19 responses: @@ -28901,7 +29443,7 @@ paths: type: array items: *119 examples: - default: &216 + default: &219 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29054,7 +29596,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &206 + items: &209 title: Organization Role description: Organization roles type: object @@ -29202,7 +29744,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - &204 + - &207 name: team_slug description: The slug of the team name. in: path @@ -29234,8 +29776,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *204 - - &205 + - *207 + - &208 name: role_id description: The unique identifier of the role. in: path @@ -29271,8 +29813,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *204 - - *205 + - *207 + - *208 responses: '204': description: Response @@ -29325,7 +29867,7 @@ paths: parameters: - *94 - *132 - - *205 + - *208 responses: '204': description: Response @@ -29357,7 +29899,7 @@ paths: parameters: - *94 - *132 - - *205 + - *208 responses: '204': description: Response @@ -29386,13 +29928,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *205 + - *208 responses: '200': description: Response content: application/json: - schema: *206 + schema: *209 examples: default: value: @@ -29443,7 +29985,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *205 + - *208 - *17 - *19 responses: @@ -29521,8 +30063,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 nullable: true required: - id @@ -29537,7 +30079,7 @@ paths: - slug - parent examples: - default: *209 + default: *212 headers: Link: *58 '404': @@ -29567,7 +30109,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *205 + - *208 - *17 - *19 responses: @@ -29595,13 +30137,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &254 + items: &257 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 name: nullable: true type: string @@ -29696,7 +30238,7 @@ paths: - type - url examples: - default: *194 + default: *197 headers: Link: *58 '404': @@ -29744,7 +30286,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -29886,7 +30428,7 @@ paths: - nuget - container - *94 - - &623 + - &626 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29922,12 +30464,12 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *211 + default: *214 '403': *29 '401': *25 - '400': &625 + '400': &628 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29949,7 +30491,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &212 + - &215 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -29967,7 +30509,7 @@ paths: - docker - nuget - container - - &213 + - &216 name: package_name description: The name of the package. in: path @@ -29980,7 +30522,7 @@ paths: description: Response content: application/json: - schema: *210 + schema: *213 examples: default: value: @@ -30032,8 +30574,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 responses: '204': @@ -30066,8 +30608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - name: token description: package token @@ -30100,8 +30642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - *19 - *17 @@ -30122,7 +30664,7 @@ paths: application/json: schema: type: array - items: &214 + items: &217 title: Package Version description: A version of a software package type: object @@ -30247,10 +30789,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *212 - - *213 + - *215 + - *216 - *94 - - &215 + - &218 name: package_version_id description: Unique identifier of the package version. in: path @@ -30262,7 +30804,7 @@ paths: description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -30298,10 +30840,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *212 - - *213 - - *94 - *215 + - *216 + - *94 + - *218 responses: '204': description: Response @@ -30333,10 +30875,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *212 - - *213 - - *94 - *215 + - *216 + - *94 + - *218 responses: '204': description: Response @@ -30366,7 +30908,7 @@ paths: - *94 - *17 - *19 - - &217 + - &220 name: sort description: The property by which to sort the results. in: query @@ -30377,7 +30919,7 @@ paths: - created_at default: created_at - *48 - - &218 + - &221 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -30388,7 +30930,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &219 + - &222 name: repository description: The name of the repository to use to filter the results. in: query @@ -30396,7 +30938,7 @@ paths: schema: type: string example: Hello-World - - &220 + - &223 name: permission description: The permission to use to filter the results. in: query @@ -30404,7 +30946,7 @@ paths: schema: type: string example: issues_read - - &221 + - &224 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30414,7 +30956,7 @@ paths: schema: type: string format: date-time - - &222 + - &225 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30424,7 +30966,7 @@ paths: schema: type: string format: date-time - - &223 + - &226 name: token_id description: The ID of the token in: query @@ -30436,7 +30978,7 @@ paths: type: string example: token_id[]=1,token_id[]=2 responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30629,7 +31171,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30690,11 +31232,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30726,7 +31268,7 @@ paths: - *17 - *19 responses: - '500': *145 + '500': *148 '404': *6 '403': *29 '200': @@ -30737,7 +31279,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -30763,16 +31305,16 @@ paths: - *94 - *17 - *19 - - *217 - - *48 - - *218 - - *219 - *220 + - *48 - *221 - *222 - *223 + - *224 + - *225 + - *226 responses: - '500': *145 + '500': *148 '422': *15 '404': *6 '403': *29 @@ -30954,7 +31496,7 @@ paths: - 1296269 - 1296280 responses: - '500': *145 + '500': *148 '404': *6 '202': *47 '403': *29 @@ -31007,9 +31549,9 @@ paths: value: action: revoke responses: - '500': *145 + '500': *148 '404': *6 - '204': *142 + '204': *145 '403': *29 '422': *15 x-github: @@ -31041,7 +31583,7 @@ paths: - *17 - *19 responses: - '500': *145 + '500': *148 '404': *6 '403': *29 '200': @@ -31052,7 +31594,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -31096,7 +31638,7 @@ paths: type: integer configurations: type: array - items: &224 + items: &227 title: Organization private registry description: Private registry configuration for an organization type: object @@ -31302,7 +31844,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &225 + org-private-registry-with-selected-visibility: &228 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -31402,9 +31944,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *224 + schema: *227 examples: - default: *225 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -31554,7 +32096,7 @@ paths: application/json: schema: type: array - items: &226 + items: &229 title: Project description: Projects are a way to organize columns and cards of work. @@ -31727,7 +32269,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: default: value: @@ -31765,7 +32307,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &285 + '410': &288 description: Gone content: application/json: @@ -31800,7 +32342,7 @@ paths: application/json: schema: type: array - items: &227 + items: &230 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -31866,7 +32408,7 @@ paths: - property_name - value_type examples: - default: &228 + default: &231 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -31925,7 +32467,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *227 + items: *230 minItems: 1 maxItems: 100 required: @@ -31955,9 +32497,9 @@ paths: application/json: schema: type: array - items: *227 + items: *230 examples: - default: *228 + default: *231 '403': *29 '404': *6 x-github: @@ -31979,7 +32521,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &229 + - &232 name: custom_property_name description: The custom property name in: path @@ -31991,9 +32533,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: &230 + default: &233 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32028,7 +32570,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *229 + - *232 requestBody: required: true content: @@ -32097,9 +32639,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *230 examples: - default: *230 + default: *233 '403': *29 '404': *6 x-github: @@ -32123,9 +32665,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *229 + - *232 responses: - '204': *142 + '204': *145 '403': *29 '404': *6 x-github: @@ -32184,7 +32726,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &231 + items: &234 title: Custom Property Value description: Custom property name and associated value type: object @@ -32271,7 +32813,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *231 + items: *234 required: - repository_names - properties @@ -32324,7 +32866,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -32463,7 +33005,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -32665,7 +33207,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &290 title: Full Repository description: Full Repository type: object @@ -32942,8 +33484,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *232 - required: *233 + properties: *235 + required: *236 nullable: true temp_clone_token: type: string @@ -33058,7 +33600,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &418 + properties: &421 url: type: string format: uri @@ -33074,12 +33616,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &419 + required: &422 - url - key - name - html_url - security_and_analysis: *234 + security_and_analysis: *237 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -33163,7 +33705,7 @@ paths: - network_count - subscribers_count examples: - default: &289 + default: &292 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33684,7 +34226,7 @@ paths: - *94 - *17 - *19 - - &558 + - &561 name: targets description: | A comma-separated list of rule targets to filter by. @@ -33702,7 +34244,7 @@ paths: application/json: schema: type: array - items: &241 + items: &244 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -33737,7 +34279,7 @@ paths: source: type: string description: The name of the source - enforcement: &237 + enforcement: &240 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -33750,7 +34292,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &238 + items: &241 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -33815,7 +34357,7 @@ paths: conditions: nullable: true anyOf: - - &235 + - &238 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -33839,7 +34381,7 @@ paths: match. items: type: string - - &239 + - &242 title: Organization ruleset conditions type: object description: |- @@ -33853,7 +34395,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -33887,7 +34429,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -33909,7 +34451,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *235 + - *238 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -33922,7 +34464,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &236 + items: &239 title: Repository ruleset property targeting definition type: object @@ -33955,17 +34497,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *236 + items: *239 required: - repository_property rules: type: array - items: &240 + items: &243 title: Repository Rule type: object description: A repository rule. oneOf: - - &536 + - &539 title: creation description: Only allow users with bypass permission to create matching refs. @@ -33977,7 +34519,7 @@ paths: type: string enum: - creation - - &537 + - &540 title: update description: Only allow users with bypass permission to update matching refs. @@ -33998,7 +34540,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &539 + - &542 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -34010,7 +34552,7 @@ paths: type: string enum: - deletion - - &540 + - &543 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -34022,7 +34564,7 @@ paths: type: string enum: - required_linear_history - - &541 + - &544 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -34100,7 +34642,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &542 + - &545 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -34124,7 +34666,7 @@ paths: type: string required: - required_deployment_environments - - &543 + - &546 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -34136,7 +34678,7 @@ paths: type: string enum: - required_signatures - - &544 + - &547 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -34165,11 +34707,9 @@ paths: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot + for new pull requests, if the author has access + to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will @@ -34200,7 +34740,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &545 + - &548 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -34248,7 +34788,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &546 + - &549 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -34260,7 +34800,7 @@ paths: type: string enum: - non_fast_forward - - &547 + - &550 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -34296,7 +34836,7 @@ paths: required: - operator - pattern - - &548 + - &551 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -34332,7 +34872,7 @@ paths: required: - operator - pattern - - &549 + - &552 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -34368,7 +34908,7 @@ paths: required: - operator - pattern - - &550 + - &553 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -34404,7 +34944,7 @@ paths: required: - operator - pattern - - &551 + - &554 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -34440,7 +34980,7 @@ paths: required: - operator - pattern - - &552 + - &555 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -34465,7 +35005,7 @@ paths: type: string required: - restricted_file_paths - - &553 + - &556 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -34489,7 +35029,7 @@ paths: maximum: 256 required: - max_file_path_length - - &554 + - &557 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -34512,7 +35052,7 @@ paths: type: string required: - restricted_file_extensions - - &555 + - &558 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -34537,7 +35077,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &559 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -34587,7 +35127,7 @@ paths: - repository_id required: - workflows - - &557 + - &560 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -34684,7 +35224,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -34721,16 +35261,16 @@ paths: - push - repository default: branch - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *239 + items: *241 + conditions: *242 rules: type: array description: An array of rules within the ruleset. - items: *240 + items: *243 required: - name - enforcement @@ -34768,9 +35308,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &242 + default: &245 value: id: 21 name: super cool ruleset @@ -34810,7 +35350,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -34825,7 +35365,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &559 + - &562 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 @@ -34840,7 +35380,7 @@ paths: in: query schema: type: string - - &560 + - &563 name: time_period description: |- The time period to filter by. @@ -34856,14 +35396,14 @@ paths: - week - month default: day - - &561 + - &564 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 - - &562 + - &565 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -34883,7 +35423,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &566 title: Rule Suites description: Response type: array @@ -34938,7 +35478,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &567 value: - id: 21 actor_id: 12 @@ -34962,7 +35502,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34982,7 +35522,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &565 + - &568 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -34998,7 +35538,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &569 title: Rule Suite description: Response type: object @@ -35097,7 +35637,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &570 value: id: 21 actor_id: 12 @@ -35132,7 +35672,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35170,11 +35710,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 - '500': *145 + '500': *148 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -35216,16 +35756,16 @@ paths: - tag - push - repository - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *239 + items: *241 + conditions: *242 rules: description: An array of rules within the ruleset. type: array - items: *240 + items: *243 examples: default: value: @@ -35260,11 +35800,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *242 + default: *245 '404': *6 - '500': *145 + '500': *148 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -35291,7 +35831,7 @@ paths: '204': description: Response '404': *6 - '500': *145 + '500': *148 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -35319,7 +35859,7 @@ paths: application/json: schema: type: array - items: &243 + items: &246 title: Ruleset version type: object description: The historical version of a ruleset @@ -35343,7 +35883,7 @@ paths: type: string format: date-time examples: - default: &569 + default: &572 value: - version_id: 3 actor: @@ -35361,7 +35901,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35396,9 +35936,9 @@ paths: description: Response content: application/json: - schema: &570 + schema: &573 allOf: - - *243 + - *246 - type: object required: - state @@ -35445,7 +35985,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35468,14 +36008,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *244 - - *245 - - *246 - *247 + - *248 + - *249 + - *250 - *48 - *19 - *17 - - &571 + - &574 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 @@ -35485,7 +36025,7 @@ paths: required: false schema: type: string - - &572 + - &575 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 @@ -35495,9 +36035,9 @@ paths: required: false schema: type: string - - *248 - - *249 - - *250 + - *251 + - *252 + - *253 responses: '200': description: Response @@ -35505,9 +36045,9 @@ paths: application/json: schema: type: array - items: *251 + items: *254 examples: - default: *252 + default: *255 headers: Link: *58 '404': *6 @@ -35577,7 +36117,7 @@ paths: application/json: schema: type: array - items: &579 + items: &582 description: A repository security advisory. type: object properties: @@ -35797,7 +36337,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 credits_detailed: type: array nullable: true @@ -35807,7 +36347,7 @@ paths: type: object properties: user: *4 - type: *253 + type: *256 state: type: string description: The state of the user's acceptance of the @@ -35831,7 +36371,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *188 + items: *152 private_fork: readOnly: true nullable: true @@ -35868,7 +36408,7 @@ paths: - private_fork additionalProperties: false examples: - default: &580 + default: &583 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -36255,9 +36795,9 @@ paths: application/json: schema: type: array - items: *254 + items: *257 examples: - default: *209 + default: *212 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36281,7 +36821,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -36307,7 +36847,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -36342,7 +36882,7 @@ paths: description: Response content: application/json: - schema: &639 + schema: &642 type: object properties: total_minutes_used: @@ -36412,7 +36952,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &640 + default: &643 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -36448,7 +36988,7 @@ paths: description: Response content: application/json: - schema: &641 + schema: &644 type: object properties: total_gigabytes_bandwidth_used: @@ -36466,7 +37006,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &642 + default: &645 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -36498,7 +37038,7 @@ paths: description: Response content: application/json: - schema: &643 + schema: &646 type: object properties: days_left_in_billing_cycle: @@ -36516,7 +37056,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &644 + default: &647 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -36558,7 +37098,7 @@ paths: type: integer network_configurations: type: array - items: &255 + items: &258 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -36678,9 +37218,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: &256 + default: &259 value: id: 123456789ABCDEF name: My network configuration @@ -36709,7 +37249,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - &257 + - &260 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -36721,9 +37261,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: *256 + default: *259 headers: Link: *58 x-github: @@ -36745,7 +37285,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *94 - - *257 + - *260 requestBody: required: true content: @@ -36784,9 +37324,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *258 examples: - default: *256 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36806,7 +37346,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *94 - - *257 + - *260 responses: '204': description: Response @@ -36914,7 +37454,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *204 + - *207 - 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`). @@ -36946,13 +37486,13 @@ paths: application/json: schema: type: array - items: *258 + items: *261 examples: - default: *259 - '500': *145 + default: *262 + '500': *148 '403': *29 '404': *6 - '422': *260 + '422': *263 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36980,9 +37520,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 headers: Link: *58 '403': *29 @@ -37076,7 +37616,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &264 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -37139,8 +37679,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *207 - required: *208 + properties: *210 + required: *211 nullable: true members_count: type: integer @@ -37386,7 +37926,7 @@ paths: - repos_count - organization examples: - default: &262 + default: &265 value: id: 1 node_id: MDQ6VGVhbTE= @@ -37457,15 +37997,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *204 + - *207 responses: '200': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 x-github: githubCloudOnly: false @@ -37487,7 +38027,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *204 + - *207 requestBody: required: false content: @@ -37549,16 +38089,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '201': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 '422': *15 '403': *29 @@ -37584,7 +38124,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *204 + - *207 responses: '204': description: Response @@ -37611,7 +38151,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *204 + - *207 - *48 - *17 - *19 @@ -37628,7 +38168,7 @@ paths: application/json: schema: type: array - items: &263 + items: &266 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -37727,7 +38267,7 @@ paths: - updated_at - url examples: - default: &594 + default: &597 value: - author: login: octocat @@ -37802,7 +38342,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *204 + - *207 requestBody: required: true content: @@ -37836,9 +38376,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: &264 + default: &267 value: author: login: octocat @@ -37911,8 +38451,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *204 - - &265 + - *207 + - &268 name: discussion_number description: The number that identifies the discussion. in: path @@ -37924,9 +38464,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37949,8 +38489,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: false content: @@ -37973,9 +38513,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: &595 + default: &598 value: author: login: octocat @@ -38046,8 +38586,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 responses: '204': description: Response @@ -38074,8 +38614,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *204 - - *265 + - *207 + - *268 - *48 - *17 - *19 @@ -38086,7 +38626,7 @@ paths: application/json: schema: type: array - items: &266 + items: &269 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -38158,7 +38698,7 @@ paths: - updated_at - url examples: - default: &596 + default: &599 value: - author: login: octocat @@ -38227,8 +38767,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: true content: @@ -38250,9 +38790,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: &267 + default: &270 value: author: login: octocat @@ -38319,9 +38859,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *204 - - *265 - - &268 + - *207 + - *268 + - &271 name: comment_number description: The number that identifies the comment. in: path @@ -38333,9 +38873,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38358,9 +38898,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 requestBody: required: true content: @@ -38382,9 +38922,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: &597 + default: &600 value: author: login: octocat @@ -38449,9 +38989,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 responses: '204': description: Response @@ -38478,9 +39018,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 - 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. @@ -38506,7 +39046,7 @@ paths: application/json: schema: type: array - items: &269 + items: &272 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -38549,7 +39089,7 @@ paths: - content - created_at examples: - default: &271 + default: &274 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38600,9 +39140,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *204 - - *265 + - *207 - *268 + - *271 requestBody: required: true content: @@ -38635,9 +39175,9 @@ paths: team discussion comment content: application/json: - schema: *269 + schema: *272 examples: - default: &270 + default: &273 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -38666,9 +39206,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38692,10 +39232,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *204 - - *265 + - *207 - *268 - - &272 + - *271 + - &275 name: reaction_id description: The unique identifier of the reaction. in: path @@ -38728,8 +39268,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 - 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. @@ -38755,9 +39295,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -38784,8 +39324,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *204 - - *265 + - *207 + - *268 requestBody: required: true content: @@ -38817,16 +39357,16 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -38850,9 +39390,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *204 - - *265 - - *272 + - *207 + - *268 + - *275 responses: '204': description: Response @@ -38877,7 +39417,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -38887,9 +39427,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 x-github: @@ -38912,7 +39452,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *204 + - *207 - name: role description: Filters members returned by their role in the team. in: query @@ -38935,7 +39475,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -38966,14 +39506,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 responses: '200': description: Response content: application/json: - schema: &273 + schema: &276 title: Team Membership description: Team Membership type: object @@ -39000,7 +39540,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &598 + response-if-user-is-a-team-maintainer: &601 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -39037,7 +39577,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 requestBody: required: false @@ -39063,9 +39603,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-users-membership-with-team-is-now-pending: &599 + response-if-users-membership-with-team-is-now-pending: &602 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -39101,7 +39641,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *204 + - *207 - *132 responses: '204': @@ -39128,7 +39668,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -39138,7 +39678,7 @@ paths: application/json: schema: type: array - items: &274 + items: &277 title: Team Project description: A team's access to a project. type: object @@ -39206,7 +39746,7 @@ paths: - updated_at - permissions examples: - default: &600 + default: &603 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39270,8 +39810,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *204 - - &275 + - *207 + - &278 name: project_id description: The unique identifier of the project. in: path @@ -39283,9 +39823,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: &601 + default: &604 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -39348,8 +39888,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *204 - - *275 + - *207 + - *278 requestBody: required: false content: @@ -39416,8 +39956,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *204 - - *275 + - *207 + - *278 responses: '204': description: Response @@ -39445,7 +39985,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -39457,7 +39997,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -39487,15 +40027,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &602 + schema: &605 title: Team Repository description: A team's access to a repository. type: object @@ -40065,9 +40605,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 requestBody: required: false content: @@ -40113,9 +40653,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *204 - - *276 - - *277 + - *207 + - *279 + - *280 responses: '204': description: Response @@ -40140,7 +40680,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *204 + - *207 - *17 - *19 responses: @@ -40150,9 +40690,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - response-if-child-teams-exist: &603 + response-if-child-teams-exist: &606 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -40279,7 +40819,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &278 + - &281 name: card_id description: The unique identifier of the card. in: path @@ -40291,7 +40831,7 @@ paths: description: Response content: application/json: - schema: &279 + schema: &282 title: Project Card description: Project cards represent a scope of work. type: object @@ -40358,7 +40898,7 @@ paths: - created_at - updated_at examples: - default: &280 + default: &283 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -40414,7 +40954,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *278 + - *281 requestBody: required: false content: @@ -40441,9 +40981,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - default: *280 + default: *283 '304': *37 '403': *29 '401': *25 @@ -40470,7 +41010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *278 + - *281 responses: '204': description: Response @@ -40514,7 +41054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *278 + - *281 requestBody: required: true content: @@ -40625,7 +41165,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &281 + - &284 name: column_id description: The unique identifier of the column. in: path @@ -40637,7 +41177,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &285 title: Project Column description: Project columns contain cards of work. type: object @@ -40683,7 +41223,7 @@ paths: - created_at - updated_at examples: - default: &283 + default: &286 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -40718,7 +41258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *281 + - *284 requestBody: required: true content: @@ -40742,9 +41282,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 '304': *37 '403': *29 '401': *25 @@ -40769,7 +41309,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *281 + - *284 responses: '204': description: Response @@ -40798,7 +41338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *281 + - *284 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -40819,7 +41359,7 @@ paths: application/json: schema: type: array - items: *279 + items: *282 examples: default: value: @@ -40878,7 +41418,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *281 + - *284 requestBody: required: true content: @@ -40918,9 +41458,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *282 examples: - default: *280 + default: *283 '304': *37 '403': *29 '401': *25 @@ -40976,7 +41516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *281 + - *284 requestBody: required: true content: @@ -41036,15 +41576,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *275 + - *278 responses: '200': description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: &284 + default: &287 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -41101,7 +41641,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *275 + - *278 requestBody: required: false content: @@ -41147,9 +41687,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *284 + default: *287 '404': description: Not Found if the authenticated user does not have access to the project @@ -41170,7 +41710,7 @@ paths: items: type: string '401': *25 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -41193,7 +41733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *275 + - *278 responses: '204': description: Delete Success @@ -41214,7 +41754,7 @@ paths: items: type: string '401': *25 - '410': *285 + '410': *288 '404': *6 x-github: githubCloudOnly: false @@ -41238,7 +41778,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *275 + - *278 - 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 @@ -41265,7 +41805,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -41295,7 +41835,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *275 + - *278 - *132 requestBody: required: false @@ -41348,7 +41888,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *275 + - *278 - *132 responses: '204': @@ -41380,7 +41920,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *275 + - *278 - *132 responses: '200': @@ -41454,7 +41994,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *275 + - *278 - *17 - *19 responses: @@ -41464,7 +42004,7 @@ paths: application/json: schema: type: array - items: *282 + items: *285 examples: default: value: @@ -41502,7 +42042,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *275 + - *278 requestBody: required: true content: @@ -41525,7 +42065,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: default: value: @@ -41589,7 +42129,7 @@ paths: resources: type: object properties: - core: &286 + core: &289 title: Rate Limit type: object properties: @@ -41606,20 +42146,20 @@ paths: - remaining - reset - used - graphql: *286 - search: *286 - code_search: *286 - source_import: *286 - integration_manifest: *286 - code_scanning_upload: *286 - actions_runner_registration: *286 - scim: *286 - dependency_snapshots: *286 - code_scanning_autofix: *286 + graphql: *289 + search: *289 + code_search: *289 + source_import: *289 + integration_manifest: *289 + code_scanning_upload: *289 + actions_runner_registration: *289 + scim: *289 + dependency_snapshots: *289 + code_scanning_autofix: *289 required: - core - search - rate: *286 + rate: *289 required: - rate - resources @@ -41723,14 +42263,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *287 + schema: *290 examples: default-response: summary: Default response @@ -42231,7 +42771,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *288 + '301': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42249,8 +42789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -42494,10 +43034,10 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 - '307': &290 + default: *292 + '307': &293 description: Temporary Redirect content: application/json: @@ -42526,8 +43066,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -42549,7 +43089,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *290 + '307': *293 '404': *6 x-github: githubCloudOnly: false @@ -42572,11 +43112,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - - &316 + - &319 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -42599,7 +43139,7 @@ paths: type: integer artifacts: type: array - items: &291 + items: &294 title: Artifact description: An artifact type: object @@ -42677,7 +43217,7 @@ paths: - expires_at - updated_at examples: - default: &317 + default: &320 value: total_count: 2 artifacts: @@ -42738,9 +43278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *276 - - *277 - - &292 + - *279 + - *280 + - &295 name: artifact_id description: The unique identifier of the artifact. in: path @@ -42752,7 +43292,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: default: value: @@ -42790,9 +43330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *276 - - *277 - - *292 + - *279 + - *280 + - *295 responses: '204': description: Response @@ -42816,9 +43356,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *276 - - *277 - - *292 + - *279 + - *280 + - *295 - name: archive_format in: path required: true @@ -42832,7 +43372,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': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42855,14 +43395,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: default: value: @@ -42888,11 +43428,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - - &294 + - &297 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 @@ -42926,7 +43466,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &298 title: Repository actions caches description: Repository actions caches type: object @@ -42968,7 +43508,7 @@ paths: - total_count - actions_caches examples: - default: &296 + default: &299 value: total_count: 1 actions_caches: @@ -43000,23 +43540,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: - - *276 - - *277 + - *279 + - *280 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *294 + - *297 responses: '200': description: Response content: application/json: - schema: *295 + schema: *298 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43036,8 +43576,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: - - *276 - - *277 + - *279 + - *280 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -43068,9 +43608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *276 - - *277 - - &297 + - *279 + - *280 + - &300 name: job_id description: The unique identifier of the job. in: path @@ -43082,7 +43622,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &323 title: Job description: Information of a job execution in a workflow run type: object @@ -43389,9 +43929,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *276 - - *277 - - *297 + - *279 + - *280 + - *300 responses: '302': description: Response @@ -43419,9 +43959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *276 - - *277 - - *297 + - *279 + - *280 + - *300 requestBody: required: false content: @@ -43466,8 +44006,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Status response @@ -43517,8 +44057,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -43581,8 +44121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -43600,7 +44140,7 @@ paths: type: integer secrets: type: array - items: &322 + items: &325 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -43620,7 +44160,7 @@ paths: - created_at - updated_at examples: - default: &323 + default: &326 value: total_count: 2 secrets: @@ -43653,9 +44193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *276 - - *277 - - *298 + - *279 + - *280 + - *301 - *19 responses: '200': @@ -43672,7 +44212,7 @@ paths: type: integer variables: type: array - items: &326 + items: &329 title: Actions Variable type: object properties: @@ -43702,7 +44242,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &330 value: total_count: 2 variables: @@ -43735,8 +44275,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -43745,11 +44285,11 @@ paths: schema: type: object properties: - enabled: &300 + enabled: &303 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *108 - selected_actions_url: *299 + selected_actions_url: *302 required: - enabled examples: @@ -43776,8 +44316,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -43788,7 +44328,7 @@ paths: schema: type: object properties: - enabled: *300 + enabled: *303 allowed_actions: *108 required: - enabled @@ -43818,14 +44358,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &301 + schema: &304 type: object properties: access_level: @@ -43842,7 +44382,7 @@ paths: required: - access_level examples: - default: &302 + default: &305 value: access_level: organization x-github: @@ -43866,15 +44406,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: application/json: - schema: *301 + schema: *304 examples: - default: *302 + default: *305 responses: '204': description: Response @@ -43898,8 +44438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -43926,8 +44466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -43959,14 +44499,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: default: *114 x-github: @@ -43989,8 +44529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Success response @@ -44001,7 +44541,7 @@ paths: required: true content: application/json: - schema: *304 + schema: *307 examples: default: *114 x-github: @@ -44030,8 +44570,8 @@ paths: in: query schema: type: string - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -44075,8 +44615,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -44084,9 +44624,9 @@ paths: application/json: schema: type: array - items: *305 + items: *308 examples: - default: *306 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44108,8 +44648,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -44152,7 +44692,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *307 + '201': *310 '404': *6 '422': *7 '409': *46 @@ -44183,8 +44723,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -44192,7 +44732,7 @@ paths: application/json: schema: *123 examples: - default: *308 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44220,8 +44760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -44229,7 +44769,7 @@ paths: application/json: schema: *123 examples: - default: *309 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44251,8 +44791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 responses: '200': @@ -44261,7 +44801,7 @@ paths: application/json: schema: *121 examples: - default: *310 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44282,8 +44822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 responses: '204': @@ -44309,8 +44849,8 @@ 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: - - *276 - - *277 + - *279 + - *280 - *120 responses: '200': *125 @@ -44335,8 +44875,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-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 requestBody: required: true @@ -44385,8 +44925,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-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *120 requestBody: required: true @@ -44436,11 +44976,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: - - *276 - - *277 + - *279 + - *280 - *120 responses: - '200': *311 + '200': *314 '404': *6 x-github: githubCloudOnly: false @@ -44467,10 +45007,10 @@ 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: - - *276 - - *277 + - *279 + - *280 - *120 - - *312 + - *315 responses: '200': *125 '404': *6 @@ -44498,9 +45038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *276 - - *277 - - &330 + - *279 + - *280 + - &333 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. @@ -44508,7 +45048,7 @@ paths: required: false schema: type: string - - &331 + - &334 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -44516,7 +45056,7 @@ paths: required: false schema: type: string - - &332 + - &335 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -44525,7 +45065,7 @@ paths: required: false schema: type: string - - &333 + - &336 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 @@ -44552,7 +45092,7 @@ paths: - pending - *17 - *19 - - &334 + - &337 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)." @@ -44561,7 +45101,7 @@ paths: schema: type: string format: date-time - - &313 + - &316 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -44570,13 +45110,13 @@ paths: schema: type: boolean default: false - - &335 + - &338 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &336 + - &339 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -44599,7 +45139,7 @@ paths: type: integer workflow_runs: type: array - items: &314 + items: &317 title: Workflow Run description: An invocation of a workflow type: object @@ -44694,7 +45234,7 @@ paths: that triggered the run. type: array nullable: true - items: &355 + items: &358 title: Pull Request Minimal type: object properties: @@ -44813,7 +45353,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &359 + properties: &362 id: type: string description: SHA for the commit @@ -44864,7 +45404,7 @@ paths: - name - email nullable: true - required: &360 + required: &363 - id - tree_id - message @@ -44911,7 +45451,7 @@ paths: - workflow_url - pull_requests examples: - default: &337 + default: &340 value: total_count: 1 workflow_runs: @@ -45147,24 +45687,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *276 - - *277 - - &315 + - *279 + - *280 + - &318 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *314 + schema: *317 examples: - default: &318 + default: &321 value: id: 30433642 name: Build @@ -45405,9 +45945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '204': description: Response @@ -45430,9 +45970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -45551,9 +46091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '201': description: Response @@ -45586,12 +46126,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 - *17 - *19 - - *316 + - *319 responses: '200': description: Response @@ -45607,9 +46147,9 @@ paths: type: integer artifacts: type: array - items: *291 + items: *294 examples: - default: *317 + default: *320 headers: Link: *58 x-github: @@ -45633,25 +46173,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *276 - - *277 - - *315 - - &319 + - *279 + - *280 + - *318 + - &322 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *313 + - *316 responses: '200': description: Response content: application/json: - schema: *314 + schema: *317 examples: - default: *318 + default: *321 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45674,10 +46214,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *276 - - *277 - - *315 - - *319 + - *279 + - *280 + - *318 + - *322 - *17 - *19 responses: @@ -45695,9 +46235,9 @@ paths: type: integer jobs: type: array - items: *320 + items: *323 examples: - default: &321 + default: &324 value: total_count: 1 jobs: @@ -45810,10 +46350,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *276 - - *277 - - *315 - - *319 + - *279 + - *280 + - *318 + - *322 responses: '302': description: Response @@ -45841,9 +46381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '202': description: Response @@ -45876,9 +46416,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: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: true content: @@ -45945,9 +46485,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '202': description: Response @@ -45980,9 +46520,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 - 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 @@ -46012,9 +46552,9 @@ paths: type: integer jobs: type: array - items: *320 + items: *323 examples: - default: *321 + default: *324 headers: Link: *58 x-github: @@ -46039,9 +46579,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '302': description: Response @@ -46068,14 +46608,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '204': description: Response '403': *29 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46097,9 +46637,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -46159,7 +46699,7 @@ paths: items: type: object properties: - type: &439 + type: &442 type: string description: The type of reviewer. enum: @@ -46169,7 +46709,7 @@ paths: reviewer: anyOf: - *4 - - *188 + - *152 required: - environment - wait_timer @@ -46244,9 +46784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: true content: @@ -46293,7 +46833,7 @@ paths: application/json: schema: type: array - items: &434 + items: &437 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -46399,7 +46939,7 @@ paths: - created_at - updated_at examples: - default: &435 + default: &438 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -46455,9 +46995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: false content: @@ -46501,9 +47041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 requestBody: required: false content: @@ -46556,9 +47096,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *276 - - *277 - - *315 + - *279 + - *280 + - *318 responses: '200': description: Response @@ -46695,8 +47235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -46714,9 +47254,9 @@ paths: type: integer secrets: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *58 x-github: @@ -46741,16 +47281,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *324 + schema: *327 examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46772,17 +47312,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: &452 + default: &455 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -46808,8 +47348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -46867,8 +47407,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -46894,9 +47434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *276 - - *277 - - *298 + - *279 + - *280 + - *301 - *19 responses: '200': @@ -46913,9 +47453,9 @@ paths: type: integer variables: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *58 x-github: @@ -46938,8 +47478,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -46991,17 +47531,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 responses: '200': description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: &453 + default: &456 value: name: USERNAME value: octocat @@ -47027,8 +47567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 requestBody: required: true @@ -47071,8 +47611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 responses: '204': @@ -47098,8 +47638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -47117,7 +47657,7 @@ paths: type: integer workflows: type: array - items: &328 + items: &331 title: Workflow description: A GitHub Actions workflow type: object @@ -47224,9 +47764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *276 - - *277 - - &329 + - *279 + - *280 + - &332 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -47241,7 +47781,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *331 examples: default: value: @@ -47274,9 +47814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47301,9 +47841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47354,9 +47894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '204': description: Response @@ -47383,19 +47923,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *276 - - *277 - - *329 - - *330 - - *331 + - *279 + - *280 - *332 - *333 - - *17 - - *19 - *334 - - *313 - *335 - *336 + - *17 + - *19 + - *337 + - *316 + - *338 + - *339 responses: '200': description: Response @@ -47411,9 +47951,9 @@ paths: type: integer workflow_runs: type: array - items: *314 + items: *317 examples: - default: *337 + default: *340 headers: Link: *58 x-github: @@ -47445,9 +47985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *276 - - *277 - - *329 + - *279 + - *280 + - *332 responses: '200': description: Response @@ -47508,8 +48048,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *276 - - *277 + - *279 + - *280 - *48 - *17 - *39 @@ -47673,8 +48213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -47686,7 +48226,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -47711,8 +48251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *276 - - *277 + - *279 + - *280 - name: assignee in: path required: true @@ -47748,8 +48288,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -47861,8 +48401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *39 - *40 @@ -47916,7 +48456,7 @@ paths: bundle_url: type: string examples: - default: *338 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47936,8 +48476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -47945,7 +48485,7 @@ paths: application/json: schema: type: array - items: &339 + items: &342 title: Autolink reference description: An autolink reference. type: object @@ -47995,8 +48535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -48035,9 +48575,9 @@ paths: description: response content: application/json: - schema: *339 + schema: *342 examples: - default: &340 + default: &343 value: id: 1 key_prefix: TICKET- @@ -48068,9 +48608,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *276 - - *277 - - &341 + - *279 + - *280 + - &344 name: autolink_id description: The unique identifier of the autolink. in: path @@ -48082,9 +48622,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *342 examples: - default: *340 + default: *343 '404': *6 x-github: githubCloudOnly: false @@ -48104,9 +48644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *276 - - *277 - - *341 + - *279 + - *280 + - *344 responses: '204': description: Response @@ -48130,8 +48670,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response if Dependabot is enabled @@ -48179,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -48201,8 +48741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -48222,8 +48762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *276 - - *277 + - *279 + - *280 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -48261,7 +48801,7 @@ paths: - url protected: type: boolean - protection: &343 + protection: &346 title: Branch Protection description: Branch Protection type: object @@ -48303,7 +48843,7 @@ paths: required: - contexts - checks - enforce_admins: &346 + enforce_admins: &349 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -48318,7 +48858,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &348 + required_pull_request_reviews: &351 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -48339,7 +48879,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *188 + items: *152 apps: description: The list of apps with review dismissal access. @@ -48368,7 +48908,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *188 + items: *152 apps: description: The list of apps allowed to bypass pull request requirements. @@ -48394,7 +48934,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &345 + restrictions: &348 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -48701,9 +49241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *276 - - *277 - - &344 + - *279 + - *280 + - &347 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). @@ -48717,14 +49257,14 @@ paths: description: Response content: application/json: - schema: &354 + schema: &357 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &407 + commit: &410 title: Commit description: Commit type: object @@ -48758,7 +49298,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &342 + properties: &345 name: type: string example: '"Chris Wanstrath"' @@ -48773,7 +49313,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true message: type: string @@ -48794,7 +49334,7 @@ paths: required: - sha - url - verification: &459 + verification: &462 title: Verification type: object properties: @@ -48864,7 +49404,7 @@ paths: type: integer files: type: array - items: &422 + items: &425 title: Diff Entry description: Diff Entry type: object @@ -48947,7 +49487,7 @@ paths: - self protected: type: boolean - protection: *343 + protection: *346 protection_url: type: string format: uri @@ -49054,7 +49594,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *288 + '301': *291 '404': *6 x-github: githubCloudOnly: false @@ -49076,15 +49616,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *343 + schema: *346 examples: default: value: @@ -49278,9 +49818,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -49535,7 +50075,7 @@ paths: url: type: string format: uri - required_status_checks: &351 + required_status_checks: &354 title: Status Check Policy description: Status Check Policy type: object @@ -49611,7 +50151,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 apps: type: array items: *5 @@ -49629,7 +50169,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 apps: type: array items: *5 @@ -49687,7 +50227,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *345 + restrictions: *348 required_conversation_resolution: type: object properties: @@ -49799,9 +50339,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -49826,17 +50366,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: &347 + default: &350 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -49858,17 +50398,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *347 + default: *350 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49887,9 +50427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -49914,17 +50454,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: &349 + default: &352 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -50020,9 +50560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50120,9 +50660,9 @@ paths: description: Response content: application/json: - schema: *348 + schema: *351 examples: - default: *349 + default: *352 '422': *15 x-github: githubCloudOnly: false @@ -50143,9 +50683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50172,17 +50712,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: &350 + default: &353 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -50205,17 +50745,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *346 + schema: *349 examples: - default: *350 + default: *353 '404': *6 x-github: githubCloudOnly: false @@ -50235,9 +50775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50262,17 +50802,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *351 + schema: *354 examples: - default: &352 + default: &355 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -50298,9 +50838,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50352,9 +50892,9 @@ paths: description: Response content: application/json: - schema: *351 + schema: *354 examples: - default: *352 + default: *355 '404': *6 '422': *15 x-github: @@ -50376,9 +50916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50402,9 +50942,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -50438,9 +50978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50507,9 +51047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -50573,9 +51113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: content: application/json: @@ -50641,15 +51181,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response content: application/json: - schema: *345 + schema: *348 examples: default: value: @@ -50740,9 +51280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '204': description: Response @@ -50765,9 +51305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -50777,7 +51317,7 @@ paths: type: array items: *5 examples: - default: &353 + default: &356 value: - id: 1 slug: octoapp @@ -50834,9 +51374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50870,7 +51410,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -50891,9 +51431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50927,7 +51467,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -50948,9 +51488,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -50984,7 +51524,7 @@ paths: type: array items: *5 examples: - default: *353 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -51006,9 +51546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -51016,9 +51556,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '404': *6 x-github: githubCloudOnly: false @@ -51038,9 +51578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -51076,9 +51616,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51099,9 +51639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: false content: @@ -51137,9 +51677,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51160,9 +51700,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: content: application/json: @@ -51197,9 +51737,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 '422': *15 x-github: githubCloudOnly: false @@ -51221,9 +51761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 responses: '200': description: Response @@ -51233,7 +51773,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '404': *6 x-github: githubCloudOnly: false @@ -51257,9 +51797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51292,7 +51832,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51317,9 +51857,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51352,7 +51892,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51377,9 +51917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51412,7 +51952,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '422': *15 x-github: githubCloudOnly: false @@ -51439,9 +51979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 requestBody: required: true content: @@ -51463,7 +52003,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *357 examples: default: value: @@ -51579,8 +52119,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -51859,7 +52399,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: CheckRun description: A check performed on the code of a given code change type: object @@ -51978,8 +52518,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *355 - deployment: &653 + items: *358 + deployment: &656 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -52259,9 +52799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *276 - - *277 - - &357 + - *279 + - *280 + - &360 name: check_run_id description: The unique identifier of the check run. in: path @@ -52273,9 +52813,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: &358 + default: &361 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -52375,9 +52915,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 requestBody: required: true content: @@ -52617,9 +53157,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52639,9 +53179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 - *17 - *19 responses: @@ -52738,9 +53278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *276 - - *277 - - *357 + - *279 + - *280 + - *360 responses: '201': description: Response @@ -52784,8 +53324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -52807,7 +53347,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &361 + schema: &364 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -52871,7 +53411,7 @@ paths: nullable: true pull_requests: type: array - items: *355 + items: *358 nullable: true app: title: GitHub app @@ -52893,12 +53433,12 @@ paths: type: string format: date-time nullable: true - head_commit: &679 + head_commit: &682 title: Simple Commit description: A commit. type: object - properties: *359 - required: *360 + properties: *362 + required: *363 latest_check_runs_count: type: integer check_runs_url: @@ -52926,7 +53466,7 @@ paths: - check_runs_url - pull_requests examples: - default: &362 + default: &365 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -53217,9 +53757,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53238,8 +53778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -53548,9 +54088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *276 - - *277 - - &363 + - *279 + - *280 + - &366 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -53562,9 +54102,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *364 examples: - default: *362 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53587,17 +54127,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *276 - - *277 - - *363 - - &415 + - *279 + - *280 + - *366 + - &418 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &416 + - &419 name: status description: Returns check runs with the specified `status`. in: query @@ -53636,9 +54176,9 @@ paths: type: integer check_runs: type: array - items: *356 + items: *359 examples: - default: &417 + default: &420 value: total_count: 1 check_runs: @@ -53740,9 +54280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *276 - - *277 - - *363 + - *279 + - *280 + - *366 responses: '201': description: Response @@ -53775,21 +54315,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *276 - - *277 - - *364 - - *365 + - *279 + - *280 + - *367 + - *368 - *19 - *17 - - &382 + - &385 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: *366 - - &383 + schema: *369 + - &386 name: pr description: The number of the pull request for the results you want to list. in: query @@ -53814,13 +54354,13 @@ paths: be returned. in: query required: false - schema: *367 + schema: *370 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *368 + schema: *371 responses: '200': description: Response @@ -53833,12 +54373,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: *369 - state: *138 - fixed_at: *134 + instances_url: *372 + state: *141 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -53846,12 +54386,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: *370 - dismissed_comment: *371 - rule: *372 - tool: *373 - most_recent_instance: *374 + dismissed_at: *138 + dismissed_reason: *373 + dismissed_comment: *374 + rule: *375 + tool: *376 + most_recent_instance: *377 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -53974,7 +54514,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &375 + '403': &378 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -54001,9 +54541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *276 - - *277 - - &376 + - *279 + - *280 + - &379 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -54017,17 +54557,17 @@ paths: description: Response content: application/json: - schema: &377 + schema: &380 type: object properties: number: *54 created_at: *55 - updated_at: *133 + updated_at: *136 url: *56 html_url: *57 - instances_url: *369 - state: *138 - fixed_at: *134 + instances_url: *372 + state: *141 + fixed_at: *137 dismissed_by: title: Simple User description: A GitHub user. @@ -54035,9 +54575,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *135 - dismissed_reason: *370 - dismissed_comment: *371 + dismissed_at: *138 + dismissed_reason: *373 + dismissed_comment: *374 rule: type: object properties: @@ -54091,8 +54631,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *373 - most_recent_instance: *374 + tool: *376 + most_recent_instance: *377 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -54188,7 +54728,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54208,9 +54748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: true content: @@ -54225,8 +54765,8 @@ paths: enum: - open - dismissed - dismissed_reason: *370 - dismissed_comment: *371 + dismissed_reason: *373 + dismissed_comment: *374 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -54245,7 +54785,7 @@ paths: description: Response content: application/json: - schema: *377 + schema: *380 examples: default: value: @@ -54321,7 +54861,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &381 + '403': &384 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -54348,15 +54888,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: Response content: application/json: - schema: &378 + schema: &381 type: object properties: status: @@ -54382,13 +54922,13 @@ paths: - description - started_at examples: - default: &379 + default: &382 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &380 + '400': &383 description: Bad Request content: application/json: @@ -54399,7 +54939,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54424,29 +54964,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: OK content: application/json: - schema: *378 + schema: *381 examples: - default: *379 + default: *382 '202': description: Accepted content: application/json: - schema: *378 + schema: *381 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *380 + '400': *383 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -54478,9 +55018,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: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: false content: @@ -54525,8 +55065,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *380 - '403': *381 + '400': *383 + '403': *384 '404': *6 '422': description: Unprocessable Entity @@ -54550,13 +55090,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 - *19 - *17 - - *382 - - *383 + - *385 + - *386 responses: '200': description: Response @@ -54564,7 +55104,7 @@ paths: application/json: schema: type: array - items: *374 + items: *377 examples: default: value: @@ -54603,7 +55143,7 @@ paths: end_column: 50 classifications: - source - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54637,25 +55177,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *276 - - *277 - - *364 - - *365 + - *279 + - *280 + - *367 + - *368 - *19 - *17 - - *383 + - *386 - 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: *366 + schema: *369 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &386 + schema: &389 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -54676,23 +55216,23 @@ paths: application/json: schema: type: array - items: &387 + items: &390 type: object properties: - ref: *366 - commit_sha: &395 + ref: *369 + commit_sha: &398 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: *384 + analysis_key: *387 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *385 + category: *388 error: type: string example: error reading field xyz @@ -54716,8 +55256,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *386 - tool: *373 + sarif_id: *389 + tool: *376 deletable: type: boolean warning: @@ -54778,7 +55318,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54814,8 +55354,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: - - *276 - - *277 + - *279 + - *280 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -54828,7 +55368,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: response: summary: application/json response @@ -54882,7 +55422,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -54964,8 +55504,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: - - *276 - - *277 + - *279 + - *280 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -55018,7 +55558,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *381 + '403': *384 '404': *6 '503': *65 x-github: @@ -55040,8 +55580,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -55049,7 +55589,7 @@ paths: application/json: schema: type: array - items: &388 + items: &391 title: CodeQL Database description: A CodeQL database. type: object @@ -55160,7 +55700,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -55189,8 +55729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: language in: path description: The language of the CodeQL database. @@ -55202,7 +55742,7 @@ paths: description: Response content: application/json: - schema: *388 + schema: *391 examples: default: value: @@ -55234,9 +55774,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &424 + '302': &427 description: Found - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -55258,8 +55798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *276 - - *277 + - *279 + - *280 - name: language in: path description: The language of the CodeQL database. @@ -55269,7 +55809,7 @@ paths: responses: '204': description: Response - '403': *381 + '403': *384 '404': *6 '503': *65 x-github: @@ -55297,8 +55837,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -55307,7 +55847,7 @@ paths: type: object additionalProperties: false properties: - language: &389 + language: &392 type: string description: The language targeted by the CodeQL query enum: @@ -55386,7 +55926,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &393 + schema: &396 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -55396,7 +55936,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *389 + query_language: *392 query_pack_url: type: string description: The download url for the query pack. @@ -55443,7 +55983,7 @@ paths: items: type: object properties: - repository: &390 + repository: &393 title: Repository Identifier description: Repository Identifier type: object @@ -55479,7 +56019,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &394 + analysis_status: &397 type: string description: The new status of the CodeQL variant analysis repository task. @@ -55511,7 +56051,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &391 + access_mismatch_repos: &394 type: object properties: repository_count: @@ -55525,7 +56065,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: *390 + items: *393 required: - repository_count - repositories @@ -55547,8 +56087,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *391 - over_limit_repos: *391 + no_codeql_db_repos: *394 + over_limit_repos: *394 required: - access_mismatch_repos - not_found_repos @@ -55564,7 +56104,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &392 + value: &395 summary: Default response value: id: 1 @@ -55716,10 +56256,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *392 + value: *395 repository_lists: summary: Response for a successful variant analysis submission - value: *392 + value: *395 '404': *6 '422': description: Unable to process variant analysis submission @@ -55747,8 +56287,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: - - *276 - - *277 + - *279 + - *280 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -55760,9 +56300,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *396 examples: - default: *392 + default: *395 '404': *6 '503': *65 x-github: @@ -55785,7 +56325,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: - - *276 + - *279 - name: repo in: path description: The name of the controller repository. @@ -55820,7 +56360,7 @@ paths: type: object properties: repository: *53 - analysis_status: *394 + analysis_status: *397 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -55945,8 +56485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56020,7 +56560,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *375 + '403': *378 '404': *6 '503': *65 x-github: @@ -56041,8 +56581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56124,7 +56664,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *381 + '403': *384 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -56189,8 +56729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56198,7 +56738,7 @@ paths: schema: type: object properties: - commit_sha: *395 + commit_sha: *398 ref: type: string description: |- @@ -56256,7 +56796,7 @@ paths: schema: type: object properties: - id: *386 + id: *389 url: type: string description: The REST API URL for checking the status of the upload. @@ -56270,7 +56810,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *381 + '403': *384 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -56293,8 +56833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *276 - - *277 + - *279 + - *280 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -56340,7 +56880,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *375 + '403': *378 '404': description: Not Found if the sarif id does not match any upload '503': *65 @@ -56365,8 +56905,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56422,7 +56962,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': *142 + '204': *145 '304': *37 '403': *29 '404': *6 @@ -56447,8 +56987,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *276 - - *277 + - *279 + - *280 - 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 @@ -56568,8 +57108,8 @@ paths: parameters: - *17 - *19 - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -56585,7 +57125,7 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: default: value: @@ -56861,7 +57401,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': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -56883,8 +57423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -56947,17 +57487,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '400': *14 '401': *25 '403': *29 @@ -56986,8 +57526,8 @@ paths: parameters: - *17 - *19 - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -57027,7 +57567,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *145 + '500': *148 '400': *14 '401': *25 '403': *29 @@ -57051,8 +57591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -57087,14 +57627,14 @@ paths: type: integer machines: type: array - items: &610 + items: &613 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *397 - required: *398 + properties: *400 + required: *401 examples: - default: &611 + default: &614 value: total_count: 2 machines: @@ -57111,7 +57651,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -57134,8 +57674,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *276 - - *277 + - *279 + - *280 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -57219,8 +57759,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: - - *276 - - *277 + - *279 + - *280 - 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 @@ -57286,8 +57826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -57305,7 +57845,7 @@ paths: type: integer secrets: type: array - items: &402 + items: &405 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -57325,7 +57865,7 @@ paths: - created_at - updated_at examples: - default: *399 + default: *402 headers: Link: *58 x-github: @@ -57348,16 +57888,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -57377,17 +57917,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: *403 + default: *406 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57407,8 +57947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -57461,8 +58001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -57491,8 +58031,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *276 - - *277 + - *279 + - *280 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -57534,7 +58074,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &404 + properties: &407 login: type: string example: octocat @@ -57627,7 +58167,7 @@ paths: user_view_type: type: string example: public - required: &405 + required: &408 - avatar_url - events_url - followers_url @@ -57701,8 +58241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '204': @@ -57745,8 +58285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 requestBody: required: false @@ -57773,7 +58313,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &472 + schema: &475 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -57995,8 +58535,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '204': @@ -58026,8 +58566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *276 - - *277 + - *279 + - *280 - *132 responses: '200': @@ -58048,8 +58588,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *404 - required: *405 + properties: *407 + required: *408 nullable: true required: - permission @@ -58104,8 +58644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -58115,7 +58655,7 @@ paths: application/json: schema: type: array - items: &406 + items: &409 title: Commit Comment description: Commit Comment type: object @@ -58173,7 +58713,7 @@ paths: - created_at - updated_at examples: - default: &409 + default: &412 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58232,17 +58772,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *406 + schema: *409 examples: - default: &410 + default: &413 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58299,8 +58839,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -58323,7 +58863,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: default: value: @@ -58374,8 +58914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -58397,8 +58937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -58425,9 +58965,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -58448,8 +58988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -58482,16 +59022,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -58513,10 +59053,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -58565,8 +59105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *276 - - *277 + - *279 + - *280 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -58622,9 +59162,9 @@ paths: application/json: schema: type: array - items: *407 + items: *410 examples: - default: &523 + default: &526 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58695,7 +59235,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *58 - '500': *145 + '500': *148 '400': *14 '404': *6 '409': *46 @@ -58718,9 +59258,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *276 - - *277 - - &408 + - *279 + - *280 + - &411 name: commit_sha description: The SHA of the commit. in: path @@ -58792,9 +59332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 - *17 - *19 responses: @@ -58804,9 +59344,9 @@ paths: application/json: schema: type: array - items: *406 + items: *409 examples: - default: *409 + default: *412 headers: Link: *58 x-github: @@ -58834,9 +59374,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 requestBody: required: true content: @@ -58871,9 +59411,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: - default: *410 + default: *413 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -58901,9 +59441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 - *17 - *19 responses: @@ -58913,7 +59453,7 @@ paths: application/json: schema: type: array - items: &514 + items: &517 title: Pull Request Simple description: Pull Request Simple type: object @@ -59019,8 +59559,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -59065,7 +59605,7 @@ paths: nullable: true requested_teams: type: array - items: *188 + items: *152 nullable: true head: type: object @@ -59116,7 +59656,7 @@ paths: _links: type: object properties: - comments: &413 + comments: &416 title: Link description: Hypermedia Link type: object @@ -59125,13 +59665,13 @@ paths: type: string required: - href - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -59142,7 +59682,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: &516 + auto_merge: &519 title: Auto merge description: The status of auto merging a pull request. type: object @@ -59205,7 +59745,7 @@ paths: - author_association - auto_merge examples: - default: &515 + default: &518 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -59742,11 +60282,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 - - &414 + - &417 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)" @@ -59761,9 +60301,9 @@ paths: description: Response content: application/json: - schema: *407 + schema: *410 examples: - default: &501 + default: &504 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -59849,7 +60389,7 @@ paths: ..... '422': *15 '404': *6 - '500': *145 + '500': *148 '503': *65 '409': *46 x-github: @@ -59876,11 +60416,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *276 - - *277 - - *414 - - *415 - - *416 + - *279 + - *280 + - *417 + - *418 + - *419 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -59914,9 +60454,9 @@ paths: type: integer check_runs: type: array - items: *356 + items: *359 examples: - default: *417 + default: *420 headers: Link: *58 x-github: @@ -59941,9 +60481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -59951,7 +60491,7 @@ paths: schema: type: integer example: 1 - - *415 + - *418 - *17 - *19 responses: @@ -59969,7 +60509,7 @@ paths: type: integer check_suites: type: array - items: *361 + items: *364 examples: default: value: @@ -60169,9 +60709,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - *17 - *19 responses: @@ -60369,9 +60909,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *276 - - *277 - - *414 + - *279 + - *280 + - *417 - *17 - *19 responses: @@ -60381,7 +60921,7 @@ paths: application/json: schema: type: array - items: &584 + items: &587 title: Status description: The status of a commit. type: object @@ -60462,7 +61002,7 @@ paths: site_admin: false headers: Link: *58 - '301': *288 + '301': *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60490,8 +61030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -60520,20 +61060,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *418 - required: *419 + properties: *421 + required: *422 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &420 + properties: &423 url: type: string format: uri html_url: type: string format: uri - required: &421 + required: &424 - url - html_url nullable: true @@ -60547,26 +61087,26 @@ paths: contributing: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true readme: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true issue_template: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true pull_request_template: title: Community Health File type: object - properties: *420 - required: *421 + properties: *423 + required: *424 nullable: true required: - code_of_conduct @@ -60693,8 +61233,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 - name: basehead @@ -60737,8 +61277,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *407 - merge_base_commit: *407 + base_commit: *410 + merge_base_commit: *410 status: type: string enum: @@ -60758,10 +61298,10 @@ paths: example: 6 commits: type: array - items: *407 + items: *410 files: type: array - items: *422 + items: *425 required: - url - html_url @@ -61004,7 +61544,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -61047,8 +61587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -61191,7 +61731,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &423 + response-if-content-is-a-file: &426 summary: Response if content is a file value: type: file @@ -61323,7 +61863,7 @@ paths: - size - type - url - - &528 + - &531 title: Content File description: Content File type: object @@ -61524,7 +62064,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *423 + response-if-content-is-a-file: *426 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -61593,7 +62133,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *424 + '302': *427 '304': *37 x-github: githubCloudOnly: false @@ -61616,8 +62156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -61710,7 +62250,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &428 title: File Commit description: File Commit type: object @@ -61862,7 +62402,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: example-for-creating-a-file: value: @@ -61916,7 +62456,7 @@ paths: schema: oneOf: - *3 - - &454 + - &457 description: Repository rule violation was detected type: object properties: @@ -61937,7 +62477,7 @@ paths: items: type: object properties: - placeholder_id: &576 + placeholder_id: &579 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -61969,8 +62509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *276 - - *277 + - *279 + - *280 - name: path description: path parameter in: path @@ -62031,7 +62571,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *428 examples: default: value: @@ -62086,8 +62626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *276 - - *277 + - *279 + - *280 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -62210,21 +62750,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *276 - - *277 - - *149 - - *150 - - *151 - - *152 + - *279 + - *280 + - *153 + - *154 + - *155 + - *156 - 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 - - *153 - - *154 - - *155 + - *157 + - *158 + - *159 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -62244,8 +62784,8 @@ paths: default: 30 - *39 - *40 - - *156 - - *157 + - *160 + - *161 responses: '200': description: Response @@ -62253,7 +62793,7 @@ paths: application/json: schema: type: array - items: &428 + items: &431 type: object description: A Dependabot alert. properties: @@ -62299,13 +62839,13 @@ paths: - unknown - direct - transitive - security_advisory: *426 + security_advisory: *429 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *133 - dismissed_at: *135 + updated_at: *136 + dismissed_at: *138 dismissed_by: title: Simple User description: A GitHub user. @@ -62329,8 +62869,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *134 - auto_dismissed_at: *427 + fixed_at: *137 + auto_dismissed_at: *430 required: - number - state @@ -62560,9 +63100,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *276 - - *277 - - &429 + - *279 + - *280 + - &432 name: alert_number in: path description: |- @@ -62577,7 +63117,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: default: value: @@ -62690,9 +63230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *276 - - *277 - - *429 + - *279 + - *280 + - *432 requestBody: required: true content: @@ -62737,7 +63277,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: default: value: @@ -62866,8 +63406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -62885,7 +63425,7 @@ paths: type: integer secrets: type: array - items: &432 + items: &435 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -62938,16 +63478,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *430 + schema: *433 examples: - default: *431 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62967,15 +63507,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '200': description: Response content: application/json: - schema: *432 + schema: *435 examples: default: value: @@ -63001,8 +63541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 requestBody: required: true @@ -63055,8 +63595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *276 - - *277 + - *279 + - *280 - *127 responses: '204': @@ -63079,8 +63619,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: - - *276 - - *277 + - *279 + - *280 - 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 @@ -63240,8 +63780,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -63480,8 +64020,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -63556,7 +64096,7 @@ paths: - version - url additionalProperties: false - metadata: &433 + metadata: &436 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -63589,7 +64129,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *433 + metadata: *436 resolved: type: object description: A collection of resolved package dependencies. @@ -63602,7 +64142,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *433 + metadata: *436 relationship: type: string description: A notation of whether a dependency is requested @@ -63731,8 +64271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *276 - - *277 + - *279 + - *280 - name: sha description: The SHA recorded at creation time. in: query @@ -63772,9 +64312,9 @@ paths: application/json: schema: type: array - items: *434 + items: *437 examples: - default: *435 + default: *438 headers: Link: *58 x-github: @@ -63840,8 +64380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -63922,7 +64462,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: simple-example: summary: Simple example @@ -63995,9 +64535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *276 - - *277 - - &436 + - *279 + - *280 + - &439 name: deployment_id description: deployment_id parameter in: path @@ -64009,7 +64549,7 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -64074,9 +64614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 responses: '204': description: Response @@ -64098,9 +64638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 - *17 - *19 responses: @@ -64110,7 +64650,7 @@ paths: application/json: schema: type: array - items: &437 + items: &440 title: Deployment Status description: The status of a deployment. type: object @@ -64271,9 +64811,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 requestBody: required: true content: @@ -64348,9 +64888,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: &438 + default: &441 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -64406,9 +64946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *276 - - *277 - - *436 + - *279 + - *280 + - *439 - name: status_id in: path required: true @@ -64419,9 +64959,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '404': *6 x-github: githubCloudOnly: false @@ -64446,8 +64986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -64504,8 +65044,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -64522,7 +65062,7 @@ paths: type: integer environments: type: array - items: &440 + items: &443 title: Environment description: Details of a deployment environment type: object @@ -64574,7 +65114,7 @@ paths: type: type: string example: wait_timer - wait_timer: &442 + wait_timer: &445 type: integer example: 30 description: The amount of time to delay a job after @@ -64611,11 +65151,11 @@ paths: items: type: object properties: - type: *439 + type: *442 reviewer: anyOf: - *4 - - *188 + - *152 required: - id - node_id @@ -64635,7 +65175,7 @@ paths: - id - node_id - type - deployment_branch_policy: &443 + deployment_branch_policy: &446 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -64751,9 +65291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *276 - - *277 - - &441 + - *279 + - *280 + - &444 name: environment_name in: path required: true @@ -64766,9 +65306,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: &444 + default: &447 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -64852,9 +65392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: false content: @@ -64863,7 +65403,7 @@ paths: type: object nullable: true properties: - wait_timer: *442 + wait_timer: *445 prevent_self_review: type: boolean example: false @@ -64880,13 +65420,13 @@ paths: items: type: object properties: - type: *439 + type: *442 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *443 + deployment_branch_policy: *446 additionalProperties: false examples: default: @@ -64906,9 +65446,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *444 + default: *447 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -64932,9 +65472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 responses: '204': description: Default response @@ -64959,9 +65499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *17 - *19 responses: @@ -64979,7 +65519,7 @@ paths: example: 2 branch_policies: type: array - items: &445 + items: &448 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -65036,9 +65576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: true content: @@ -65084,9 +65624,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - example-wildcard: &446 + example-wildcard: &449 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -65128,10 +65668,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - &447 + - *279 + - *280 + - *444 + - &450 name: branch_policy_id in: path required: true @@ -65143,9 +65683,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65164,10 +65704,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - *447 + - *279 + - *280 + - *444 + - *450 requestBody: required: true content: @@ -65195,9 +65735,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *448 examples: - default: *446 + default: *449 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65216,10 +65756,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *276 - - *277 - - *441 - - *447 + - *279 + - *280 + - *444 + - *450 responses: '204': description: Response @@ -65244,9 +65784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 responses: '200': description: List of deployment protection rules @@ -65262,7 +65802,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &448 + items: &451 title: Deployment protection rule description: Deployment protection rule type: object @@ -65281,7 +65821,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &449 + app: &452 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -65380,9 +65920,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: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 requestBody: content: application/json: @@ -65403,9 +65943,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *448 + schema: *451 examples: - default: &450 + default: &453 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -65440,9 +65980,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: - - *441 - - *277 - - *276 + - *444 + - *280 + - *279 - *19 - *17 responses: @@ -65461,7 +66001,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *449 + items: *452 examples: default: value: @@ -65496,10 +66036,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *276 - - *277 - - *441 - - &451 + - *279 + - *280 + - *444 + - &454 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -65511,9 +66051,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: - default: *450 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65534,10 +66074,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *441 - - *277 - - *276 - - *451 + - *444 + - *280 + - *279 + - *454 responses: '204': description: Response @@ -65563,9 +66103,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *17 - *19 responses: @@ -65583,9 +66123,9 @@ paths: type: integer secrets: type: array - items: *322 + items: *325 examples: - default: *323 + default: *326 headers: Link: *58 x-github: @@ -65610,17 +66150,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 responses: '200': description: Response content: application/json: - schema: *324 + schema: *327 examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65642,18 +66182,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 responses: '200': description: Response content: application/json: - schema: *322 + schema: *325 examples: - default: *452 + default: *455 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65675,9 +66215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 requestBody: required: true @@ -65735,9 +66275,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *127 responses: '204': @@ -65763,10 +66303,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *276 - - *277 - - *441 - - *298 + - *279 + - *280 + - *444 + - *301 - *19 responses: '200': @@ -65783,9 +66323,9 @@ paths: type: integer variables: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *58 x-github: @@ -65808,9 +66348,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 requestBody: required: true content: @@ -65862,18 +66402,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *276 - - *277 - - *441 + - *279 + - *280 + - *444 - *130 responses: '200': description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65894,10 +66434,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 - - *441 + - *444 requestBody: required: true content: @@ -65939,10 +66479,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *276 - - *277 + - *279 + - *280 - *130 - - *441 + - *444 responses: '204': description: Response @@ -65964,8 +66504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -66042,8 +66582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *276 - - *277 + - *279 + - *280 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -66202,8 +66742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -66235,9 +66775,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 '400': *14 '422': *15 '403': *29 @@ -66258,8 +66798,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66319,7 +66859,7 @@ paths: schema: oneOf: - *97 - - *454 + - *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66344,8 +66884,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *276 - - *277 + - *279 + - *280 - name: file_sha in: path required: true @@ -66444,8 +66984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66554,7 +67094,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &458 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -66768,15 +67308,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *276 - - *277 - - *408 + - *279 + - *280 + - *411 responses: '200': description: Response content: application/json: - schema: *455 + schema: *458 examples: default: value: @@ -66832,9 +67372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *276 - - *277 - - &456 + - *279 + - *280 + - &459 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. @@ -66851,7 +67391,7 @@ paths: application/json: schema: type: array - items: &457 + items: &460 title: Git Reference description: Git references within a repository type: object @@ -66926,17 +67466,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 responses: '200': description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: &458 + default: &461 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -66965,8 +67505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -66995,9 +67535,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: *458 + default: *461 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -67023,9 +67563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 requestBody: required: true content: @@ -67054,9 +67594,9 @@ paths: description: Response content: application/json: - schema: *457 + schema: *460 examples: - default: *458 + default: *461 '422': *15 '409': *46 x-github: @@ -67074,9 +67614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *276 - - *277 - - *456 + - *279 + - *280 + - *459 responses: '204': description: Response @@ -67129,8 +67669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -67197,7 +67737,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &463 title: Git Tag description: Metadata for a Git tag type: object @@ -67248,7 +67788,7 @@ paths: - sha - type - url - verification: *459 + verification: *462 required: - sha - url @@ -67258,7 +67798,7 @@ paths: - tag - message examples: - default: &461 + default: &464 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -67331,8 +67871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *276 - - *277 + - *279 + - *280 - name: tag_sha in: path required: true @@ -67343,9 +67883,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: *461 + default: *464 '404': *6 '409': *46 x-github: @@ -67369,8 +67909,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -67443,7 +67983,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &465 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -67460,6 +68000,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -67486,29 +68031,8 @@ paths: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated examples: @@ -67555,8 +68079,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *276 - - *277 + - *279 + - *280 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -67579,7 +68103,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *465 examples: default-response: summary: Default response @@ -67638,8 +68162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -67649,7 +68173,7 @@ paths: application/json: schema: type: array - items: &463 + items: &466 title: Webhook description: Webhooks for repositories. type: object @@ -67703,7 +68227,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &687 + last_response: &690 title: Hook Response type: object properties: @@ -67777,8 +68301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -67830,9 +68354,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: &464 + default: &467 value: type: Repository id: 12345678 @@ -67880,17 +68404,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '200': description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 '404': *6 x-github: githubCloudOnly: false @@ -67910,9 +68434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 requestBody: required: true content: @@ -67957,9 +68481,9 @@ paths: description: Response content: application/json: - schema: *463 + schema: *466 examples: - default: *464 + default: *467 '422': *15 '404': *6 x-github: @@ -67980,9 +68504,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68006,9 +68530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '200': description: Response @@ -68035,9 +68559,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 requestBody: required: false content: @@ -68081,11 +68605,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *17 - - *166 + - *170 responses: '200': description: Response @@ -68093,9 +68617,9 @@ paths: application/json: schema: type: array - items: *167 + items: *171 examples: - default: *168 + default: *172 '400': *14 '422': *15 x-github: @@ -68114,18 +68638,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *16 responses: '200': description: Response content: application/json: - schema: *169 + schema: *173 examples: - default: *170 + default: *174 '400': *14 '422': *15 x-github: @@ -68144,9 +68668,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 - *16 responses: '202': *47 @@ -68169,9 +68693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68196,9 +68720,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *276 - - *277 - - *165 + - *279 + - *280 + - *169 responses: '204': description: Response @@ -68256,14 +68780,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &465 + schema: &468 title: Import description: A repository import from an external source. type: object @@ -68362,7 +68886,7 @@ paths: - html_url - authors_url examples: - default: &468 + default: &471 value: vcs: subversion use_lfs: true @@ -68378,7 +68902,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': &466 + '503': &469 description: Unavailable due to service under maintenance. content: application/json: @@ -68407,8 +68931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -68456,7 +68980,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: default: value: @@ -68481,7 +69005,7 @@ paths: type: string '422': *15 '404': *6 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68509,8 +69033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -68559,7 +69083,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: example-1: summary: Example 1 @@ -68607,7 +69131,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': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68630,12 +69154,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68661,9 +69185,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *276 - - *277 - - &634 + - *279 + - *280 + - &637 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -68677,7 +69201,7 @@ paths: application/json: schema: type: array - items: &467 + items: &470 title: Porter Author description: Porter Author type: object @@ -68731,7 +69255,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': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68756,8 +69280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *276 - - *277 + - *279 + - *280 - name: author_id in: path required: true @@ -68787,7 +69311,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: default: value: @@ -68800,7 +69324,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68824,8 +69348,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68866,7 +69390,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68894,8 +69418,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -68922,11 +69446,11 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: - default: *468 + default: *471 '422': *15 - '503': *466 + '503': *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68949,8 +69473,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68958,8 +69482,8 @@ paths: application/json: schema: *22 examples: - default: *469 - '301': *288 + default: *472 + '301': *291 '404': *6 x-github: githubCloudOnly: false @@ -68979,8 +69503,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -68988,12 +69512,12 @@ paths: application/json: schema: anyOf: - - *183 + - *187 - type: object properties: {} additionalProperties: false examples: - default: &471 + default: &474 value: limit: collaborators_only origin: repository @@ -69018,13 +69542,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: application/json: - schema: *470 + schema: *473 examples: default: summary: Example request body @@ -69036,9 +69560,9 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: - default: *471 + default: *474 '409': description: Response x-github: @@ -69060,8 +69584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -69084,8 +69608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -69095,9 +69619,9 @@ paths: application/json: schema: type: array - items: *472 + items: *475 examples: - default: &627 + default: &630 value: - id: 1 repository: @@ -69228,9 +69752,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *276 - - *277 - - *187 + - *279 + - *280 + - *191 requestBody: required: false content: @@ -69259,7 +69783,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *475 examples: default: value: @@ -69390,9 +69914,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *276 - - *277 - - *187 + - *279 + - *280 + - *191 responses: '204': description: Response @@ -69423,8 +69947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *276 - - *277 + - *279 + - *280 - 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 @@ -69472,7 +69996,7 @@ paths: required: false schema: type: string - - *192 + - *195 - name: sort description: What to sort results by. in: query @@ -69497,7 +70021,7 @@ paths: type: array items: *77 examples: - default: &483 + default: &486 value: - id: 1 node_id: MDU6SXNzdWUx @@ -69645,7 +70169,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *288 + '301': *291 '422': *15 '404': *6 x-github: @@ -69674,8 +70198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -69759,7 +70283,7 @@ paths: application/json: schema: *77 examples: - default: &478 + default: &481 value: id: 1 node_id: MDU6SXNzdWUx @@ -69915,7 +70439,7 @@ paths: '422': *15 '503': *65 '404': *6 - '410': *285 + '410': *288 x-github: triggersNotification: true githubCloudOnly: false @@ -69943,8 +70467,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *87 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -69965,9 +70489,9 @@ paths: application/json: schema: type: array - items: *473 + items: *476 examples: - default: &480 + default: &483 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70025,17 +70549,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: &474 + default: &477 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -70089,8 +70613,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -70113,9 +70637,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 '422': *15 x-github: githubCloudOnly: false @@ -70133,8 +70657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -70155,8 +70679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -70183,9 +70707,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -70206,8 +70730,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -70240,16 +70764,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -70271,10 +70795,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -70294,8 +70818,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -70305,7 +70829,7 @@ paths: application/json: schema: type: array - items: &477 + items: &480 title: Issue Event description: Issue Event type: object @@ -70348,8 +70872,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *475 - required: *476 + properties: *478 + required: *479 nullable: true label: title: Issue Event Label @@ -70393,7 +70917,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *188 + requested_team: *152 dismissed_review: title: Issue Event Dismissed Review type: object @@ -70656,8 +71180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *276 - - *277 + - *279 + - *280 - name: event_id in: path required: true @@ -70668,7 +71192,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *480 examples: default: value: @@ -70861,7 +71385,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *285 + '410': *288 '403': *29 x-github: githubCloudOnly: false @@ -70895,9 +71419,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *276 - - *277 - - &479 + - *279 + - *280 + - &482 name: issue_number description: The number that identifies the issue. in: path @@ -70911,10 +71435,10 @@ paths: application/json: schema: *77 examples: - default: *478 - '301': *288 + default: *481 + '301': *291 '404': *6 - '410': *285 + '410': *288 '304': *37 x-github: githubCloudOnly: false @@ -70939,9 +71463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -71046,13 +71570,13 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 '422': *15 '503': *65 '403': *29 - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71070,9 +71594,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -71100,7 +71624,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71116,9 +71640,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: content: application/json: @@ -71145,7 +71669,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71167,9 +71691,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: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - name: assignee in: path required: true @@ -71209,9 +71733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *67 - *17 - *19 @@ -71222,13 +71746,13 @@ paths: application/json: schema: type: array - items: *473 + items: *476 examples: - default: *480 + default: *483 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71257,9 +71781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -71281,16 +71805,16 @@ paths: description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *285 + '410': *288 '422': *15 '404': *6 x-github: @@ -71310,9 +71834,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -71326,7 +71850,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &484 + - &487 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -71380,7 +71904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &485 + - &488 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -71516,7 +72040,7 @@ paths: - performed_via_github_app - assignee - assigner - - &486 + - &489 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -71567,7 +72091,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &487 + - &490 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -71618,7 +72142,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &488 + - &491 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -71672,7 +72196,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &489 + - &492 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -71706,7 +72230,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *188 + requested_team: *152 requested_reviewer: *4 required: - review_requester @@ -71719,7 +72243,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &493 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -71753,7 +72277,7 @@ paths: properties: *61 required: *62 review_requester: *4 - requested_team: *188 + requested_team: *152 requested_reviewer: *4 required: - review_requester @@ -71766,7 +72290,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &491 + - &494 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -71826,7 +72350,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &495 title: Locked Issue Event description: Locked Issue Event type: object @@ -71874,7 +72398,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &496 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -71940,7 +72464,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &497 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -72006,7 +72530,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &498 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -72072,7 +72596,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &499 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -72163,7 +72687,7 @@ paths: color: red headers: Link: *58 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72180,9 +72704,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72192,7 +72716,7 @@ paths: application/json: schema: type: array - items: &481 + items: &484 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -72239,7 +72763,7 @@ paths: - color - default examples: - default: &482 + default: &485 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72257,9 +72781,9 @@ paths: default: false headers: Link: *58 - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72276,9 +72800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72337,12 +72861,12 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 - '301': *288 + default: *485 + '301': *291 '404': *6 - '410': *285 + '410': *288 '422': *15 x-github: githubCloudOnly: false @@ -72359,9 +72883,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72421,12 +72945,12 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 - '301': *288 + default: *485 + '301': *291 '404': *6 - '410': *285 + '410': *288 '422': *15 x-github: githubCloudOnly: false @@ -72443,15 +72967,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 responses: '204': description: Response - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72470,9 +72994,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - name: name in: path required: true @@ -72485,7 +73009,7 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: default: value: @@ -72496,9 +73020,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *288 + '301': *291 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72518,9 +73042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: false content: @@ -72548,7 +73072,7 @@ paths: '204': description: Response '403': *29 - '410': *285 + '410': *288 '404': *6 '422': *15 x-github: @@ -72566,9 +73090,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 responses: '204': description: Response @@ -72590,9 +73114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - 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. @@ -72618,13 +73142,13 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72642,9 +73166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72676,16 +73200,16 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -72707,10 +73231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *276 - - *277 - - *479 - - *272 + - *279 + - *280 + - *482 + - *275 responses: '204': description: Response @@ -72739,9 +73263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72765,7 +73289,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -72798,9 +73322,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72812,11 +73336,11 @@ paths: type: array items: *77 examples: - default: *483 + default: *486 headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72844,9 +73368,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72875,14 +73399,14 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *285 + '410': *288 '422': *15 '404': *6 x-github: @@ -72902,9 +73426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 requestBody: required: true content: @@ -72937,7 +73461,7 @@ paths: application/json: schema: *77 examples: - default: *478 + default: *481 '403': *29 '404': *6 '422': *7 @@ -72959,9 +73483,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *276 - - *277 - - *479 + - *279 + - *280 + - *482 - *17 - *19 responses: @@ -72976,9 +73500,6 @@ paths: description: Timeline Event type: object anyOf: - - *484 - - *485 - - *486 - *487 - *488 - *489 @@ -72989,6 +73510,9 @@ paths: - *494 - *495 - *496 + - *497 + - *498 + - *499 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -73293,7 +73817,7 @@ paths: type: string comments: type: array - items: &517 + items: &520 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -73502,7 +74026,7 @@ paths: type: string comments: type: array - items: *406 + items: *409 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -73791,7 +74315,7 @@ paths: headers: Link: *58 '404': *6 - '410': *285 + '410': *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73808,8 +74332,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -73819,7 +74343,7 @@ paths: application/json: schema: type: array - items: &497 + items: &500 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -73884,8 +74408,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -73921,9 +74445,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: &498 + default: &501 value: id: 1 key: ssh-rsa AAA... @@ -73957,9 +74481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *276 - - *277 - - &499 + - *279 + - *280 + - &502 name: key_id description: The unique identifier of the key. in: path @@ -73971,9 +74495,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -73991,9 +74515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *276 - - *277 - - *499 + - *279 + - *280 + - *502 responses: '204': description: Response @@ -74013,8 +74537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -74024,9 +74548,9 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 + default: *485 headers: Link: *58 '404': *6 @@ -74047,8 +74571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74084,9 +74608,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: &500 + default: &503 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74118,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74130,9 +74654,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: *500 + default: *503 '404': *6 x-github: githubCloudOnly: false @@ -74149,8 +74673,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74189,7 +74713,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: default: value: @@ -74215,8 +74739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *276 - - *277 + - *279 + - *280 - name: name in: path required: true @@ -74242,8 +74766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -74282,9 +74806,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *276 - - *277 - - *382 + - *279 + - *280 + - *385 responses: '200': description: Response @@ -74429,8 +74953,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74495,8 +75019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74530,9 +75054,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *407 + schema: *410 examples: - default: *501 + default: *504 '204': description: Response when already merged '404': @@ -74557,8 +75081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -74599,12 +75123,12 @@ paths: application/json: schema: type: array - items: &502 + items: &505 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 examples: default: value: @@ -74660,8 +75184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -74701,9 +75225,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &503 + default: &506 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -74762,9 +75286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *276 - - *277 - - &504 + - *279 + - *280 + - &507 name: milestone_number description: The number that identifies the milestone. in: path @@ -74776,9 +75300,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *503 + default: *506 '404': *6 x-github: githubCloudOnly: false @@ -74795,9 +75319,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 requestBody: required: false content: @@ -74835,9 +75359,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *503 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74853,9 +75377,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 responses: '204': description: Response @@ -74876,9 +75400,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *276 - - *277 - - *504 + - *279 + - *280 + - *507 - *17 - *19 responses: @@ -74888,9 +75412,9 @@ paths: application/json: schema: type: array - items: *481 + items: *484 examples: - default: *482 + default: *485 headers: Link: *58 x-github: @@ -74909,12 +75433,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *276 - - *277 - - *505 - - *506 + - *279 + - *280 + - *508 + - *509 - *67 - - *507 + - *510 - *17 - *19 responses: @@ -74926,7 +75450,7 @@ paths: type: array items: *90 examples: - default: *508 + default: *511 headers: Link: *58 x-github: @@ -74950,8 +75474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -75009,14 +75533,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: &509 + schema: &512 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -75141,7 +75665,7 @@ paths: - custom_404 - public examples: - default: &510 + default: &513 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -75182,8 +75706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75237,9 +75761,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *510 + default: *513 '422': *15 '409': *46 x-github: @@ -75262,8 +75786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75362,8 +75886,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -75389,8 +75913,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -75400,7 +75924,7 @@ paths: application/json: schema: type: array - items: &511 + items: &514 title: Page Build description: Page Build type: object @@ -75494,8 +76018,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *276 - - *277 + - *279 + - *280 responses: '201': description: Response @@ -75540,16 +76064,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: &512 + default: &515 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -75597,8 +76121,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *276 - - *277 + - *279 + - *280 - name: build_id in: path required: true @@ -75609,9 +76133,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *514 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75631,8 +76155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -75737,9 +76261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *276 - - *277 - - &513 + - *279 + - *280 + - &516 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -75797,11 +76321,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *276 - - *277 - - *513 + - *279 + - *280 + - *516 responses: - '204': *142 + '204': *145 '404': *6 x-github: githubCloudOnly: false @@ -75826,8 +76350,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -76085,8 +76609,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: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Private vulnerability reporting status @@ -76123,10 +76647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: - '204': *142 + '204': *145 '422': *14 x-github: githubCloudOnly: false @@ -76145,10 +76669,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: - '204': *142 + '204': *145 '422': *14 x-github: githubCloudOnly: false @@ -76169,8 +76693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: Indicates the state of the projects to return. in: query @@ -76191,7 +76715,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -76231,7 +76755,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -76254,8 +76778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76281,13 +76805,13 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: - default: *284 + default: *287 '401': *25 '403': *29 '404': *6 - '410': *285 + '410': *288 '422': *7 x-github: githubCloudOnly: false @@ -76310,8 +76834,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -76319,7 +76843,7 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: default: value: @@ -76350,8 +76874,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76363,7 +76887,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *231 + items: *234 required: - properties examples: @@ -76413,8 +76937,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *276 - - *277 + - *279 + - *280 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -76474,9 +76998,9 @@ paths: application/json: schema: type: array - items: *514 + items: *517 examples: - default: *515 + default: *518 headers: Link: *58 '304': *37 @@ -76508,8 +77032,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -76574,7 +77098,7 @@ paths: description: Response content: application/json: - schema: &519 + schema: &522 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -76685,8 +77209,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true active_lock_reason: type: string @@ -76731,7 +77255,7 @@ paths: nullable: true requested_teams: type: array - items: *254 + items: *257 nullable: true head: type: object @@ -76770,14 +77294,14 @@ paths: _links: type: object properties: - comments: *413 - commits: *413 - statuses: *413 - html: *413 - issue: *413 - review_comments: *413 - review_comment: *413 - self: *413 + comments: *416 + commits: *416 + statuses: *416 + html: *416 + issue: *416 + review_comments: *416 + review_comment: *416 + self: *416 required: - comments - commits @@ -76788,7 +77312,7 @@ paths: - review_comment - self author_association: *63 - auto_merge: *516 + auto_merge: *519 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -76880,7 +77404,7 @@ paths: - merged_by - review_comments examples: - default: &520 + default: &523 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77407,8 +77931,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *276 - - *277 + - *279 + - *280 - name: sort in: query required: false @@ -77437,9 +77961,9 @@ paths: application/json: schema: type: array - items: *517 + items: *520 examples: - default: &522 + default: &525 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77516,17 +78040,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '200': description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: &518 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -77601,8 +78125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -77625,9 +78149,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *518 + default: *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77643,8 +78167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 + - *279 + - *280 - *76 responses: '204': @@ -77666,8 +78190,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -77694,9 +78218,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -77717,8 +78241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *276 - - *277 + - *279 + - *280 - *76 requestBody: required: true @@ -77751,16 +78275,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -77782,10 +78306,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *276 - - *277 + - *279 + - *280 - *76 - - *272 + - *275 responses: '204': description: Response @@ -77828,9 +78352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *276 - - *277 - - &521 + - *279 + - *280 + - &524 name: pull_number description: The number that identifies the pull request. in: path @@ -77843,9 +78367,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '304': *37 '404': *6 '406': @@ -77853,7 +78377,7 @@ paths: content: application/json: schema: *3 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -77880,9 +78404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -77924,9 +78448,9 @@ paths: description: Response content: application/json: - schema: *519 + schema: *522 examples: - default: *520 + default: *523 '422': *15 '403': *29 x-github: @@ -77948,9 +78472,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -78010,17 +78534,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -78050,9 +78574,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *87 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -78073,9 +78597,9 @@ paths: application/json: schema: type: array - items: *517 + items: *520 examples: - default: *522 + default: *525 headers: Link: *58 x-github: @@ -78108,9 +78632,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -78215,7 +78739,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: example-for-a-multi-line-comment: value: @@ -78303,9 +78827,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *76 requestBody: required: true @@ -78328,7 +78852,7 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: default: value: @@ -78414,9 +78938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -78426,9 +78950,9 @@ paths: application/json: schema: type: array - items: *407 + items: *410 examples: - default: *523 + default: *526 headers: Link: *58 x-github: @@ -78458,9 +78982,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -78470,7 +78994,7 @@ paths: application/json: schema: type: array - items: *422 + items: *425 examples: default: value: @@ -78488,7 +79012,7 @@ paths: headers: Link: *58 '422': *15 - '500': *145 + '500': *148 '503': *65 x-github: githubCloudOnly: false @@ -78508,9 +79032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 responses: '204': description: Response if pull request has been merged @@ -78533,9 +79057,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -78646,9 +79170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 responses: '200': description: Response @@ -78664,7 +79188,7 @@ paths: items: *4 teams: type: array - items: *188 + items: *152 required: - users - teams @@ -78723,9 +79247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -78762,7 +79286,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -79298,9 +79822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: true content: @@ -79334,7 +79858,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: default: value: @@ -79839,9 +80363,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 - *17 - *19 responses: @@ -79851,7 +80375,7 @@ paths: application/json: schema: type: array - items: &524 + items: &527 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -80002,9 +80526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -80090,9 +80614,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: &526 + default: &529 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80155,10 +80679,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - &525 + - *279 + - *280 + - *524 + - &528 name: review_id description: The unique identifier of the review. in: path @@ -80170,9 +80694,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: &527 + default: &530 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -80231,10 +80755,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80257,7 +80781,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80319,18 +80843,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *526 + default: *529 '422': *7 '404': *6 x-github: @@ -80357,10 +80881,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 - *17 - *19 responses: @@ -80443,9 +80967,9 @@ paths: _links: type: object properties: - self: *413 - html: *413 - pull_request: *413 + self: *416 + html: *416 + pull_request: *416 required: - self - html @@ -80588,10 +81112,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80619,7 +81143,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -80682,10 +81206,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *276 - - *277 - - *521 - - *525 + - *279 + - *280 + - *524 + - *528 requestBody: required: true content: @@ -80720,9 +81244,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *527 examples: - default: *527 + default: *530 '404': *6 '422': *7 '403': *29 @@ -80744,9 +81268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *276 - - *277 - - *521 + - *279 + - *280 + - *524 requestBody: required: false content: @@ -80809,8 +81333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *276 - - *277 + - *279 + - *280 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -80823,9 +81347,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: &529 + default: &532 value: type: file encoding: base64 @@ -80867,8 +81391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *276 - - *277 + - *279 + - *280 - name: dir description: The alternate path to look for a README file in: path @@ -80888,9 +81412,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: *529 + default: *532 '404': *6 '422': *15 x-github: @@ -80912,8 +81436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -80923,7 +81447,7 @@ paths: application/json: schema: type: array - items: &530 + items: &533 title: Release description: A release. type: object @@ -80986,7 +81510,7 @@ paths: author: *4 assets: type: array - items: &531 + items: &534 title: Release Asset description: Data related to a release. type: object @@ -81167,8 +81691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -81244,9 +81768,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: &534 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -81349,9 +81873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *276 - - *277 - - &532 + - *279 + - *280 + - &535 name: asset_id description: The unique identifier of the asset. in: path @@ -81363,9 +81887,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: &533 + default: &536 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 @@ -81399,7 +81923,7 @@ paths: type: User site_admin: false '404': *6 - '302': *424 + '302': *427 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81415,9 +81939,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *276 - - *277 - - *532 + - *279 + - *280 + - *535 requestBody: required: false content: @@ -81445,9 +81969,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: - default: *533 + default: *536 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81463,9 +81987,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *276 - - *277 - - *532 + - *279 + - *280 + - *535 responses: '204': description: Response @@ -81489,8 +82013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -81575,16 +82099,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81601,8 +82125,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *276 - - *277 + - *279 + - *280 - name: tag description: tag parameter in: path @@ -81615,9 +82139,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 '404': *6 x-github: githubCloudOnly: false @@ -81639,9 +82163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *276 - - *277 - - &535 + - *279 + - *280 + - &538 name: release_id description: The unique identifier of the release. in: path @@ -81655,9 +82179,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: *530 + schema: *533 examples: - default: *534 + default: *537 '401': description: Unauthorized x-github: @@ -81675,9 +82199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 requestBody: required: false content: @@ -81741,9 +82265,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *533 examples: - default: *534 + default: *537 '404': description: Not Found if the discussion category name is invalid content: @@ -81764,9 +82288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 responses: '204': description: Response @@ -81786,9 +82310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - *17 - *19 responses: @@ -81798,7 +82322,7 @@ paths: application/json: schema: type: array - items: *531 + items: *534 examples: default: value: @@ -81878,9 +82402,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: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - name: name in: query required: true @@ -81906,7 +82430,7 @@ paths: description: Response for successful upload content: application/json: - schema: *531 + schema: *534 examples: response-for-successful-upload: value: @@ -81960,9 +82484,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 - 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. @@ -81986,9 +82510,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 '404': *6 @@ -82009,9 +82533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *276 - - *277 - - *535 + - *279 + - *280 + - *538 requestBody: required: true content: @@ -82041,16 +82565,16 @@ paths: description: Reaction exists content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '201': description: Reaction created content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '422': *15 x-github: githubCloudOnly: false @@ -82072,10 +82596,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *276 - - *277 - - *535 - - *272 + - *279 + - *280 + - *538 + - *275 responses: '204': description: Response @@ -82099,9 +82623,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *276 - - *277 - - *344 + - *279 + - *280 + - *347 - *17 - *19 responses: @@ -82117,8 +82641,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *536 - - &538 + - *539 + - &541 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -82137,66 +82661,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *537 - - *538 - - allOf: - - *539 - - *538 - allOf: - *540 - - *538 - - allOf: - *541 - - *538 - allOf: - *542 - - *538 + - *541 - allOf: - *543 - - *538 + - *541 - allOf: - *544 - - *538 + - *541 - allOf: - *545 - - *538 + - *541 - allOf: - *546 - - *538 + - *541 - allOf: - *547 - - *538 + - *541 - allOf: - *548 - - *538 + - *541 - allOf: - *549 - - *538 + - *541 - allOf: - *550 - - *538 + - *541 - allOf: - *551 - - *538 + - *541 - allOf: - *552 - - *538 + - *541 - allOf: - *553 - - *538 + - *541 - allOf: - *554 - - *538 + - *541 - allOf: - *555 - - *538 + - *541 - allOf: - *556 - - *538 + - *541 - allOf: - *557 - - *538 + - *541 + - allOf: + - *558 + - *541 + - allOf: + - *559 + - *541 + - allOf: + - *560 + - *541 examples: default: value: @@ -82235,8 +82759,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - name: includes_parents @@ -82247,7 +82771,7 @@ paths: schema: type: boolean default: true - - *558 + - *561 responses: '200': description: Response @@ -82255,7 +82779,7 @@ paths: application/json: schema: type: array - items: *241 + items: *244 examples: default: value: @@ -82286,7 +82810,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -82302,8 +82826,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 requestBody: description: Request body required: true @@ -82323,16 +82847,16 @@ paths: - tag - push default: branch - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *235 + items: *241 + conditions: *238 rules: type: array description: An array of rules within the ruleset. - items: *240 + items: *243 required: - name - enforcement @@ -82363,9 +82887,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: &568 + default: &571 value: id: 42 name: super cool ruleset @@ -82398,7 +82922,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *145 + '500': *148 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -82412,12 +82936,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *276 - - *277 - - *559 - - *560 - - *561 + - *279 + - *280 - *562 + - *563 + - *564 + - *565 - *17 - *19 responses: @@ -82425,11 +82949,11 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: - default: *564 + default: *567 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82448,19 +82972,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *276 - - *277 - - *565 + - *279 + - *280 + - *568 responses: '200': description: Response content: application/json: - schema: *566 + schema: *569 examples: - default: *567 + default: *570 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82486,8 +83010,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82507,11 +83031,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *568 + default: *571 '404': *6 - '500': *145 + '500': *148 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -82527,8 +83051,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82553,16 +83077,16 @@ paths: - branch - tag - push - enforcement: *237 + enforcement: *240 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *238 - conditions: *235 + items: *241 + conditions: *238 rules: description: An array of rules within the ruleset. type: array - items: *240 + items: *243 examples: default: value: @@ -82590,11 +83114,11 @@ paths: description: Response content: application/json: - schema: *241 + schema: *244 examples: - default: *568 + default: *571 '404': *6 - '500': *145 + '500': *148 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -82610,8 +83134,8 @@ paths: category: repos subcategory: rules parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82622,7 +83146,7 @@ paths: '204': description: Response '404': *6 - '500': *145 + '500': *148 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -82634,8 +83158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 - name: ruleset_id @@ -82651,11 +83175,11 @@ paths: application/json: schema: type: array - items: *243 + items: *246 examples: - default: *569 + default: *572 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82672,8 +83196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *276 - - *277 + - *279 + - *280 - name: ruleset_id description: The ID of the ruleset. in: path @@ -82691,7 +83215,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *573 examples: default: value: @@ -82724,7 +83248,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82746,20 +83270,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *276 - - *277 - - *244 - - *245 - - *246 + - *279 + - *280 - *247 - - *48 - - *19 - - *17 - - *571 - - *572 - *248 - *249 - *250 + - *48 + - *19 + - *17 + - *574 + - *575 + - *251 + - *252 + - *253 responses: '200': description: Response @@ -82767,7 +83291,7 @@ paths: application/json: schema: type: array - items: &575 + items: &578 type: object properties: number: *54 @@ -82786,8 +83310,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *573 - resolution: *574 + state: *576 + resolution: *577 resolved_at: type: string format: date-time @@ -83005,15 +83529,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 responses: '200': description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -83065,9 +83589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 requestBody: required: true content: @@ -83075,8 +83599,8 @@ paths: schema: type: object properties: - state: *573 - resolution: *574 + state: *576 + resolution: *577 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -83094,7 +83618,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: default: value: @@ -83169,9 +83693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *276 - - *277 - - *376 + - *279 + - *280 + - *379 - *19 - *17 responses: @@ -83182,7 +83706,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &708 + items: &711 type: object properties: type: @@ -83541,8 +84065,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -83550,14 +84074,14 @@ paths: schema: type: object properties: - reason: &577 + reason: &580 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *576 + placeholder_id: *579 required: - reason - placeholder_id @@ -83574,7 +84098,7 @@ paths: schema: type: object properties: - reason: *577 + reason: *580 expire_at: type: string format: date-time @@ -83617,8 +84141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -83633,7 +84157,7 @@ paths: properties: incremental_scans: type: array - items: &578 + items: &581 description: Information on a single scan performed by secret scanning on the repository type: object @@ -83659,15 +84183,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *578 + items: *581 backfill_scans: type: array - items: *578 + items: *581 custom_pattern_backfill_scans: type: array items: allOf: - - *578 + - *581 - type: object properties: pattern_name: @@ -83737,8 +84261,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *276 - - *277 + - *279 + - *280 - *48 - name: sort description: The property to sort the results by. @@ -83782,9 +84306,9 @@ paths: application/json: schema: type: array - items: *579 + items: *582 examples: - default: *580 + default: *583 '400': *14 '404': *6 x-github: @@ -83807,8 +84331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -83881,7 +84405,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 required: - login - type @@ -83968,9 +84492,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: &582 + default: &585 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -84203,8 +84727,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -84308,7 +84832,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: default: value: @@ -84455,17 +84979,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '200': description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: *582 + default: *585 '403': *29 '404': *6 x-github: @@ -84489,9 +85013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 requestBody: required: true content: @@ -84564,7 +85088,7 @@ paths: login: type: string description: The username of the user credited. - type: *253 + type: *256 required: - login - type @@ -84650,10 +85174,10 @@ paths: description: Response content: application/json: - schema: *579 + schema: *582 examples: - default: *582 - add_credit: *582 + default: *585 + add_credit: *585 '403': *29 '404': *6 '422': @@ -84691,9 +85215,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: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '202': *47 '400': *14 @@ -84720,17 +85244,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *276 - - *277 - - *581 + - *279 + - *280 + - *584 responses: '202': description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 '400': *14 '422': *15 '403': *29 @@ -84756,8 +85280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -84856,8 +85380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -84866,7 +85390,7 @@ paths: application/json: schema: type: array - items: &583 + items: &586 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -84879,7 +85403,7 @@ paths: - 1124 - -435 '202': *47 - '204': *142 + '204': *145 '422': description: Repository contains more than 10,000 commits x-github: @@ -84899,8 +85423,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -84949,7 +85473,7 @@ paths: total: 89 week: 1336280400 '202': *47 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84976,8 +85500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -85051,7 +85575,7 @@ paths: d: 77 c: 10 '202': *47 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85073,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -85228,8 +85752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -85239,7 +85763,7 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: default: value: @@ -85252,7 +85776,7 @@ paths: - - 0 - 2 - 21 - '204': *142 + '204': *145 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85272,8 +85796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *276 - - *277 + - *279 + - *280 - name: sha in: path required: true @@ -85327,7 +85851,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *587 examples: default: value: @@ -85381,8 +85905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85394,7 +85918,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -85414,14 +85938,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &585 + schema: &588 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -85489,8 +86013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: false content: @@ -85516,7 +86040,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: default: value: @@ -85543,8 +86067,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -85564,8 +86088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85644,8 +86168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -85653,7 +86177,7 @@ paths: application/json: schema: type: array - items: &586 + items: &589 title: Tag protection description: Tag protection type: object @@ -85705,8 +86229,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: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -85729,7 +86253,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: default: value: @@ -85760,8 +86284,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: - - *276 - - *277 + - *279 + - *280 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -85798,8 +86322,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *276 - - *277 + - *279 + - *280 - name: ref in: path required: true @@ -85835,8 +86359,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *276 - - *277 + - *279 + - *280 - *17 - *19 responses: @@ -85846,9 +86370,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - default: *209 + default: *212 headers: Link: *58 '404': *6 @@ -85868,8 +86392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *276 - - *277 + - *279 + - *280 - *19 - *17 responses: @@ -85877,7 +86401,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &590 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -85889,7 +86413,7 @@ paths: required: - names examples: - default: &588 + default: &591 value: names: - octocat @@ -85912,8 +86436,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -85944,9 +86468,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *590 examples: - default: *588 + default: *591 '404': *6 '422': *7 x-github: @@ -85967,9 +86491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *276 - - *277 - - &589 + - *279 + - *280 + - &592 name: per description: The time frame to display results for. in: query @@ -85998,7 +86522,7 @@ paths: example: 128 clones: type: array - items: &590 + items: &593 title: Traffic type: object properties: @@ -86085,8 +86609,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -86176,8 +86700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *276 - - *277 + - *279 + - *280 responses: '200': description: Response @@ -86237,9 +86761,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *276 - - *277 - - *589 + - *279 + - *280 + - *592 responses: '200': description: Response @@ -86258,7 +86782,7 @@ paths: example: 3782 views: type: array - items: *590 + items: *593 required: - uniques - count @@ -86335,8 +86859,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *276 - - *277 + - *279 + - *280 requestBody: required: true content: @@ -86610,8 +87134,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -86634,8 +87158,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -86657,8 +87181,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -86684,8 +87208,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *276 - - *277 + - *279 + - *280 - name: ref in: path required: true @@ -86777,9 +87301,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -87027,7 +87551,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &591 + text_matches: &594 title: Search Result Text Matches type: array items: @@ -87189,7 +87713,7 @@ paths: enum: - author-date - committer-date - - &592 + - &595 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 @@ -87260,7 +87784,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true comment_count: type: integer @@ -87280,7 +87804,7 @@ paths: url: type: string format: uri - verification: *459 + verification: *462 required: - author - committer @@ -87299,7 +87823,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *342 + properties: *345 nullable: true parents: type: array @@ -87317,7 +87841,7 @@ paths: type: number node_id: type: string - text_matches: *591 + text_matches: *594 required: - sha - node_id @@ -87499,7 +88023,7 @@ paths: - interactions - created - updated - - *592 + - *595 - *17 - *19 - name: advanced_search @@ -87626,8 +88150,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *411 - required: *412 + properties: *414 + required: *415 nullable: true comments: type: integer @@ -87641,7 +88165,7 @@ paths: type: string format: date-time nullable: true - text_matches: *591 + text_matches: *594 pull_request: type: object properties: @@ -87685,7 +88209,7 @@ paths: timeline_url: type: string format: uri - type: *189 + type: *192 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -87869,7 +88393,7 @@ paths: enum: - created - updated - - *592 + - *595 - *17 - *19 responses: @@ -87913,7 +88437,7 @@ paths: nullable: true score: type: number - text_matches: *591 + text_matches: *594 required: - id - node_id @@ -87998,7 +88522,7 @@ paths: - forks - help-wanted-issues - updated - - *592 + - *595 - *17 - *19 responses: @@ -88237,7 +88761,7 @@ paths: - admin - pull - push - text_matches: *591 + text_matches: *594 temp_clone_token: type: string allow_merge_commit: @@ -88537,7 +89061,7 @@ paths: type: string format: uri nullable: true - text_matches: *591 + text_matches: *594 related: type: array nullable: true @@ -88728,7 +89252,7 @@ paths: - followers - repositories - joined - - *592 + - *595 - *17 - *19 responses: @@ -88832,7 +89356,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *591 + text_matches: *594 blog: type: string nullable: true @@ -88911,7 +89435,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &593 + - &596 name: team_id description: The unique identifier of the team. in: path @@ -88923,9 +89447,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 x-github: githubCloudOnly: false @@ -88952,7 +89476,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *593 + - *596 requestBody: required: true content: @@ -89015,16 +89539,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '201': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *262 + default: *265 '404': *6 '422': *15 '403': *29 @@ -89052,7 +89576,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *593 + - *596 responses: '204': description: Response @@ -89083,7 +89607,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *593 + - *596 - *48 - *17 - *19 @@ -89094,9 +89618,9 @@ paths: application/json: schema: type: array - items: *263 + items: *266 examples: - default: *594 + default: *597 headers: Link: *58 x-github: @@ -89125,7 +89649,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *593 + - *596 requestBody: required: true content: @@ -89159,9 +89683,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: triggersNotification: true githubCloudOnly: false @@ -89188,16 +89712,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 responses: '200': description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *264 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89222,8 +89746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: false content: @@ -89246,9 +89770,9 @@ paths: description: Response content: application/json: - schema: *263 + schema: *266 examples: - default: *595 + default: *598 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89273,8 +89797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 responses: '204': description: Response @@ -89303,8 +89827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *593 - - *265 + - *596 + - *268 - *48 - *17 - *19 @@ -89315,9 +89839,9 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: - default: *596 + default: *599 headers: Link: *58 x-github: @@ -89346,8 +89870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: true content: @@ -89369,9 +89893,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: triggersNotification: true githubCloudOnly: false @@ -89398,17 +89922,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 responses: '200': description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89433,9 +89957,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 requestBody: required: true content: @@ -89457,9 +89981,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *597 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89484,9 +90008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 responses: '204': description: Response @@ -89515,9 +90039,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 - 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. @@ -89543,9 +90067,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -89574,9 +90098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *593 - - *265 + - *596 - *268 + - *271 requestBody: required: true content: @@ -89608,9 +90132,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89636,8 +90160,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 - 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. @@ -89663,9 +90187,9 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: - default: *271 + default: *274 headers: Link: *58 x-github: @@ -89694,8 +90218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *593 - - *265 + - *596 + - *268 requestBody: required: true content: @@ -89727,9 +90251,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -89753,7 +90277,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -89763,9 +90287,9 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *58 x-github: @@ -89791,7 +90315,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *593 + - *596 - name: role description: Filters members returned by their role in the team. in: query @@ -89814,7 +90338,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '404': *6 @@ -89842,7 +90366,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89879,7 +90403,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89919,7 +90443,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -89956,16 +90480,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 responses: '200': description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-user-is-a-team-maintainer: *598 + response-if-user-is-a-team-maintainer: *601 '404': *6 x-github: githubCloudOnly: false @@ -89998,7 +90522,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 requestBody: required: false @@ -90024,9 +90548,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *276 examples: - response-if-users-membership-with-team-is-now-pending: *599 + response-if-users-membership-with-team-is-now-pending: *602 '403': description: Forbidden if team synchronization is set up '422': @@ -90060,7 +90584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *593 + - *596 - *132 responses: '204': @@ -90089,7 +90613,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90099,9 +90623,9 @@ paths: application/json: schema: type: array - items: *274 + items: *277 examples: - default: *600 + default: *603 headers: Link: *58 '404': *6 @@ -90127,16 +90651,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *593 - - *275 + - *596 + - *278 responses: '200': description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *601 + default: *604 '404': description: Not Found if project is not managed by this team x-github: @@ -90160,8 +90684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *593 - - *275 + - *596 + - *278 requestBody: required: false content: @@ -90228,8 +90752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *593 - - *275 + - *596 + - *278 responses: '204': description: Response @@ -90256,7 +90780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90268,7 +90792,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '404': *6 @@ -90298,15 +90822,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *602 + schema: *605 examples: alternative-response-with-extra-repository-information: value: @@ -90457,9 +90981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 requestBody: required: false content: @@ -90509,9 +91033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *593 - - *276 - - *277 + - *596 + - *279 + - *280 responses: '204': description: Response @@ -90536,7 +91060,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *593 + - *596 - *17 - *19 responses: @@ -90546,9 +91070,9 @@ paths: application/json: schema: type: array - items: *188 + items: *152 examples: - response-if-child-teams-exist: *603 + response-if-child-teams-exist: *606 headers: Link: *58 '404': *6 @@ -90581,7 +91105,7 @@ paths: application/json: schema: oneOf: - - &605 + - &608 title: Private User description: Private User type: object @@ -90784,7 +91308,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *604 + - *607 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -90937,7 +91461,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -91016,7 +91540,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 '304': *37 '404': *6 '403': *29 @@ -91140,11 +91664,11 @@ paths: type: integer codespaces: type: array - items: *195 + items: *198 examples: - default: *196 + default: *199 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91281,17 +91805,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -91335,7 +91859,7 @@ paths: type: integer secrets: type: array - items: &606 + items: &609 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -91375,7 +91899,7 @@ paths: - visibility - selected_repositories_url examples: - default: *399 + default: *402 headers: Link: *58 x-github: @@ -91451,7 +91975,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *609 examples: default: value: @@ -91597,11 +92121,11 @@ paths: type: array items: *119 examples: - default: *607 + default: *610 '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91654,7 +92178,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91688,7 +92212,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91721,7 +92245,7 @@ paths: '401': *25 '403': *29 '404': *6 - '500': *145 + '500': *148 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91741,17 +92265,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91775,7 +92299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 requestBody: required: false content: @@ -91805,9 +92329,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '401': *25 '403': *29 '404': *6 @@ -91829,11 +92353,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '202': *47 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91858,13 +92382,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '202': description: Response content: application/json: - schema: &608 + schema: &611 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -91905,7 +92429,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &609 + default: &612 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -91913,7 +92437,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -91937,7 +92461,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *197 + - *200 - name: export_id in: path required: true @@ -91950,9 +92474,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *611 examples: - default: *609 + default: *612 '404': *6 x-github: githubCloudOnly: false @@ -91973,7 +92497,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *197 + - *200 responses: '200': description: Response @@ -91989,11 +92513,11 @@ paths: type: integer machines: type: array - items: *610 + items: *613 examples: - default: *611 + default: *614 '304': *37 - '500': *145 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -92020,7 +92544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *197 + - *200 requestBody: required: true content: @@ -92070,13 +92594,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *287 + repository: *290 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *397 - required: *398 + properties: *400 + required: *401 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -92850,17 +93374,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 + default: *399 '304': *37 - '500': *145 + '500': *148 '400': *14 '401': *25 '402': @@ -92890,16 +93414,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *197 + - *200 responses: '200': description: Response content: application/json: - schema: *195 + schema: *198 examples: - default: *396 - '500': *145 + default: *399 + '500': *148 '401': *25 '403': *29 '404': *6 @@ -92928,9 +93452,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: &624 + default: &627 value: - id: 197 name: hello_docker @@ -93031,7 +93555,7 @@ paths: application/json: schema: type: array - items: &612 + items: &615 title: Email description: Email type: object @@ -93096,9 +93620,9 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: - default: &626 + default: &629 value: - email: octocat@github.com verified: true @@ -93173,7 +93697,7 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: default: value: @@ -93283,7 +93807,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '304': *37 @@ -93316,7 +93840,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 '304': *37 @@ -93429,7 +93953,7 @@ paths: application/json: schema: type: array - items: &613 + items: &616 title: GPG Key description: A unique encryption key type: object @@ -93560,7 +94084,7 @@ paths: - subkeys - revoked examples: - default: &637 + default: &640 value: - id: 3 name: Octocat's GPG Key @@ -93645,9 +94169,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *616 examples: - default: &614 + default: &617 value: id: 3 name: Octocat's GPG Key @@ -93704,7 +94228,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &615 + - &618 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -93716,9 +94240,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *616 examples: - default: *614 + default: *617 '404': *6 '304': *37 '403': *29 @@ -93741,7 +94265,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *615 + - *618 responses: '204': description: Response @@ -93932,7 +94456,7 @@ paths: type: array items: *60 examples: - default: *616 + default: *619 headers: Link: *58 '404': *6 @@ -94017,12 +94541,12 @@ paths: application/json: schema: anyOf: - - *183 + - *187 - type: object properties: {} additionalProperties: false examples: - default: *184 + default: *188 '204': description: Response when there are no restrictions x-github: @@ -94046,7 +94570,7 @@ paths: required: true content: application/json: - schema: *470 + schema: *473 examples: default: value: @@ -94057,7 +94581,7 @@ paths: description: Response content: application/json: - schema: *183 + schema: *187 examples: default: value: @@ -94138,7 +94662,7 @@ paths: - closed - all default: open - - *192 + - *195 - name: sort description: What to sort results by. in: query @@ -94163,7 +94687,7 @@ paths: type: array items: *77 examples: - default: *193 + default: *196 headers: Link: *58 '404': *6 @@ -94196,7 +94720,7 @@ paths: application/json: schema: type: array - items: &617 + items: &620 title: Key description: Key type: object @@ -94293,9 +94817,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *620 examples: - default: &618 + default: &621 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -94328,15 +94852,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *499 + - *502 responses: '200': description: Response content: application/json: - schema: *617 + schema: *620 examples: - default: *618 + default: *621 '404': *6 '304': *37 '403': *29 @@ -94359,7 +94883,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *499 + - *502 responses: '204': description: Response @@ -94392,7 +94916,7 @@ paths: application/json: schema: type: array - items: &619 + items: &622 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -94460,7 +94984,7 @@ paths: - account - plan examples: - default: &620 + default: &623 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -94522,9 +95046,9 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: - default: *620 + default: *623 headers: Link: *58 '304': *37 @@ -94564,7 +95088,7 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: default: value: @@ -94672,7 +95196,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -94755,7 +95279,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -94823,7 +95347,7 @@ paths: application/json: schema: type: array - items: *202 + items: *205 examples: default: value: @@ -95076,7 +95600,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -95256,7 +95780,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *203 + - *206 - name: exclude in: query required: false @@ -95269,7 +95793,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *205 examples: default: value: @@ -95463,7 +95987,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *203 + - *206 responses: '302': description: Response @@ -95489,7 +96013,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *203 + - *206 responses: '204': description: Response @@ -95518,8 +96042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *203 - - *621 + - *206 + - *624 responses: '204': description: Response @@ -95543,7 +96067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *203 + - *206 - *17 - *19 responses: @@ -95555,7 +96079,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '404': *6 @@ -95590,9 +96114,9 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: - default: *622 + default: *625 headers: Link: *58 '304': *37 @@ -95634,7 +96158,7 @@ paths: - docker - nuget - container - - *623 + - *626 - *19 - *17 responses: @@ -95644,10 +96168,10 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 - '400': *625 + default: *627 + '400': *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95667,16 +96191,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 responses: '200': description: Response content: application/json: - schema: *210 + schema: *213 examples: - default: &638 + default: &641 value: id: 40201 name: octo-name @@ -95789,8 +96313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 responses: '204': description: Response @@ -95820,8 +96344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 - name: token description: package token schema: @@ -95853,8 +96377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *212 - - *213 + - *215 + - *216 - *19 - *17 - name: state @@ -95874,7 +96398,7 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: default: value: @@ -95923,15 +96447,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '200': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -95967,9 +96491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '204': description: Response @@ -95999,9 +96523,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 responses: '204': description: Response @@ -96057,7 +96581,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *229 examples: default: value: @@ -96129,9 +96653,9 @@ paths: application/json: schema: type: array - items: *612 + items: *615 examples: - default: *626 + default: *629 headers: Link: *58 '304': *37 @@ -96244,7 +96768,7 @@ paths: type: array items: *60 examples: - default: &633 + default: &636 summary: Default response value: - id: 1296269 @@ -96548,9 +97072,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: - default: *289 + default: *292 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -96588,9 +97112,9 @@ paths: application/json: schema: type: array - items: *472 + items: *475 examples: - default: *627 + default: *630 headers: Link: *58 '304': *37 @@ -96613,7 +97137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *187 + - *191 responses: '204': description: Response @@ -96636,7 +97160,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *187 + - *191 responses: '204': description: Response @@ -96669,7 +97193,7 @@ paths: application/json: schema: type: array - items: &628 + items: &631 title: Social account description: Social media account type: object @@ -96684,7 +97208,7 @@ paths: - provider - url examples: - default: &629 + default: &632 value: - provider: twitter url: https://twitter.com/github @@ -96746,9 +97270,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *629 + default: *632 '422': *15 '304': *37 '404': *6 @@ -96835,7 +97359,7 @@ paths: application/json: schema: type: array - items: &630 + items: &633 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -96855,7 +97379,7 @@ paths: - title - created_at examples: - default: &645 + default: &648 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96921,9 +97445,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: &631 + default: &634 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96954,7 +97478,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: - - &632 + - &635 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96966,9 +97490,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *633 examples: - default: *631 + default: *634 '404': *6 '304': *37 '403': *29 @@ -96991,7 +97515,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: - - *632 + - *635 responses: '204': description: Response @@ -97020,7 +97544,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &646 + - &649 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 @@ -97045,11 +97569,11 @@ paths: type: array items: *60 examples: - default-response: *633 + default-response: *636 application/vnd.github.v3.star+json: schema: type: array - items: &647 + items: &650 title: Starred Repository description: Starred Repository type: object @@ -97205,8 +97729,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: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response if this repository is starred by you @@ -97234,8 +97758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -97259,8 +97783,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *276 - - *277 + - *279 + - *280 responses: '204': description: Response @@ -97295,7 +97819,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 '304': *37 @@ -97332,7 +97856,7 @@ paths: application/json: schema: type: array - items: *261 + items: *264 examples: default: value: @@ -97418,10 +97942,10 @@ paths: application/json: schema: oneOf: - - *605 - - *604 + - *608 + - *607 examples: - default-response: &635 + default-response: &638 summary: Default response value: login: octocat @@ -97456,7 +97980,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &636 + response-with-git-hub-plan-information: &639 summary: Response with GitHub plan information value: login: octocat @@ -97516,7 +98040,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *634 + - *637 - *17 responses: '200': @@ -97527,7 +98051,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: example: ; rel="next" @@ -97565,11 +98089,11 @@ paths: application/json: schema: oneOf: - - *605 - - *604 + - *608 + - *607 examples: - default-response: *635 - response-with-git-hub-plan-information: *636 + default-response: *638 + response-with-git-hub-plan-information: *639 '404': *6 x-github: githubCloudOnly: false @@ -97645,7 +98169,7 @@ paths: bundle_url: type: string examples: - default: *338 + default: *341 '201': description: Response content: @@ -97684,9 +98208,9 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 + default: *627 '403': *29 '401': *25 x-github: @@ -97969,7 +98493,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -98000,7 +98524,7 @@ paths: type: array items: *4 examples: - default: *194 + default: *197 headers: Link: *58 x-github: @@ -98090,9 +98614,9 @@ paths: application/json: schema: type: array - items: *613 + items: *616 examples: - default: *637 + default: *640 headers: Link: *58 x-github: @@ -98196,7 +98720,7 @@ paths: application/json: schema: *22 examples: - default: *469 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98272,9 +98796,9 @@ paths: application/json: schema: type: array - items: *199 + items: *202 examples: - default: *622 + default: *625 headers: Link: *58 x-github: @@ -98313,7 +98837,7 @@ paths: - docker - nuget - container - - *623 + - *626 - *132 - *19 - *17 @@ -98324,12 +98848,12 @@ paths: application/json: schema: type: array - items: *210 + items: *213 examples: - default: *624 + default: *627 '403': *29 '401': *25 - '400': *625 + '400': *628 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98349,17 +98873,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '200': description: Response content: application/json: - schema: *210 + schema: *213 examples: - default: *638 + default: *641 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98380,8 +98904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '204': @@ -98414,8 +98938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 - name: token description: package token @@ -98448,8 +98972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *212 - - *213 + - *215 + - *216 - *132 responses: '200': @@ -98458,7 +98982,7 @@ paths: application/json: schema: type: array - items: *214 + items: *217 examples: default: value: @@ -98516,16 +99040,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *212 - - *213 - *215 + - *216 + - *218 - *132 responses: '200': description: Response content: application/json: - schema: *214 + schema: *217 examples: default: value: @@ -98560,10 +99084,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *212 - - *213 - - *132 - *215 + - *216 + - *132 + - *218 responses: '204': description: Response @@ -98595,10 +99119,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *212 - - *213 - - *132 - *215 + - *216 + - *132 + - *218 responses: '204': description: Response @@ -98645,7 +99169,7 @@ paths: application/json: schema: type: array - items: *226 + items: *229 examples: default: value: @@ -98928,7 +99452,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -98958,9 +99482,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *642 examples: - default: *640 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98988,9 +99512,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *644 examples: - default: *642 + default: *645 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99018,9 +99542,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *646 examples: - default: *644 + default: *647 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99048,9 +99572,9 @@ paths: application/json: schema: type: array - items: *628 + items: *631 examples: - default: *629 + default: *632 headers: Link: *58 x-github: @@ -99080,9 +99604,9 @@ paths: application/json: schema: type: array - items: *630 + items: *633 examples: - default: *645 + default: *648 headers: Link: *58 x-github: @@ -99107,7 +99631,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *646 + - *649 - *48 - *17 - *19 @@ -99119,11 +99643,11 @@ paths: schema: anyOf: - type: array - items: *647 + items: *650 - type: array items: *60 examples: - default-response: *633 + default-response: *636 headers: Link: *58 x-github: @@ -99154,7 +99678,7 @@ paths: type: array items: *119 examples: - default: *216 + default: *219 headers: Link: *58 x-github: @@ -99282,7 +99806,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &648 + enterprise: &651 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -99340,7 +99864,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &649 + installation: &652 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -99359,7 +99883,7 @@ x-webhooks: required: - id - node_id - organization: &650 + organization: &653 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -99419,13 +99943,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &651 + repository: &654 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &681 + properties: &684 id: description: Unique identifier of the repository example: 42 @@ -100108,7 +100632,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &682 + required: &685 - archive_url - assignees_url - blobs_url @@ -100259,10 +100783,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -100338,11 +100862,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: &652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: &655 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) @@ -100565,11 +101089,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: *652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: *655 sender: *4 required: - action @@ -100752,11 +101276,11 @@ x-webhooks: - everyone required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - rule: *652 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + rule: *655 sender: *4 required: - action @@ -100840,7 +101364,7 @@ x-webhooks: type: string enum: - completed - check_run: &654 + check_run: &657 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100903,7 +101427,7 @@ x-webhooks: type: string pull_requests: type: array - items: *355 + items: *358 repository: *119 status: example: completed @@ -100941,7 +101465,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *653 + deployment: *656 details_url: example: https://example.com type: string @@ -100991,7 +101515,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *355 + items: *358 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -101026,9 +101550,9 @@ x-webhooks: - output - app - pull_requests - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -101421,10 +101945,10 @@ x-webhooks: type: string enum: - created - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -101820,10 +102344,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 requested_action: description: The action requested by the user. type: object @@ -102228,10 +102752,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *654 - installation: *649 - organization: *650 - repository: *651 + check_run: *657 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - check_run @@ -103208,10 +103732,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -103881,10 +104405,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -104548,10 +105072,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -104714,7 +105238,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -104859,20 +105383,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &655 + commit_oid: &658 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: *648 - installation: *649 - organization: *650 - ref: &656 + enterprise: *651 + installation: *652 + organization: *653 + ref: &659 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: *651 + repository: *654 sender: *4 required: - action @@ -105034,7 +105558,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105264,12 +105788,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105364,7 +105888,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -105532,12 +106056,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105700,7 +106224,7 @@ x-webhooks: required: - login - id - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -105866,12 +106390,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -105968,7 +106492,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106136,16 +106660,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *651 + repository: *654 sender: *4 required: - action @@ -106239,7 +106763,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *371 + dismissed_comment: *374 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -106379,12 +106903,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *655 - enterprise: *648 - installation: *649 - organization: *650 - ref: *656 - repository: *651 + commit_oid: *658 + enterprise: *651 + installation: *652 + organization: *653 + ref: *659 + repository: *654 sender: *4 required: - action @@ -106641,10 +107165,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -106724,18 +107248,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *650 - pusher_type: &657 + organization: *653 + pusher_type: &660 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &658 + ref: &661 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106745,7 +107269,7 @@ x-webhooks: enum: - tag - branch - repository: *651 + repository: *654 sender: *4 required: - ref @@ -106827,10 +107351,10 @@ x-webhooks: type: string enum: - created - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -106915,9 +107439,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -106994,10 +107518,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -107074,10 +107598,10 @@ x-webhooks: type: string enum: - updated - definition: *227 - enterprise: *648 - installation: *649 - organization: *650 + definition: *230 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -107154,19 +107678,19 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - repository: *651 - organization: *650 + enterprise: *651 + installation: *652 + repository: *654 + organization: *653 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *231 + items: *234 old_property_values: type: array description: The old custom property values for the repository. - items: *231 + items: *234 required: - action - repository @@ -107242,18 +107766,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - pusher_type: *657 - ref: *658 + enterprise: *651 + installation: *652 + organization: *653 + pusher_type: *660 + ref: *661 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *651 + repository: *654 sender: *4 required: - ref @@ -107337,11 +107861,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107425,11 +107949,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107513,11 +108037,11 @@ x-webhooks: type: string enum: - created - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107599,11 +108123,11 @@ x-webhooks: type: string enum: - dismissed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107685,11 +108209,11 @@ x-webhooks: type: string enum: - fixed - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107772,11 +108296,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107858,11 +108382,11 @@ x-webhooks: type: string enum: - reopened - alert: *428 - installation: *649 - organization: *650 - enterprise: *648 - repository: *651 + alert: *431 + installation: *652 + organization: *653 + enterprise: *651 + repository: *654 sender: *4 required: - action @@ -107939,9 +108463,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - key: &659 + enterprise: *651 + installation: *652 + key: &662 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107977,8 +108501,8 @@ x-webhooks: - verified - created_at - read_only - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -108055,11 +108579,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - key: *659 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + key: *662 + organization: *653 + repository: *654 sender: *4 required: - action @@ -108620,12 +109144,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: &663 + workflow: &666 title: Workflow type: object nullable: true @@ -109351,13 +109875,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *434 + deployment: *437 pull_requests: type: array - items: *519 - repository: *651 - organization: *650 - installation: *649 + items: *522 + repository: *654 + organization: *653 + installation: *652 sender: *4 responses: '200': @@ -109428,7 +109952,7 @@ x-webhooks: type: string enum: - approved - approver: &660 + approver: &663 type: object properties: avatar_url: @@ -109471,11 +109995,11 @@ x-webhooks: type: string comment: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - reviewers: &661 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + reviewers: &664 type: array items: type: object @@ -109554,7 +110078,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &662 + workflow_job_run: &665 type: object properties: conclusion: @@ -110285,18 +110809,18 @@ x-webhooks: type: string enum: - rejected - approver: *660 + approver: *663 comment: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - reviewers: *661 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + reviewers: *664 sender: *4 since: type: string - workflow_job_run: *662 + workflow_job_run: *665 workflow_job_runs: type: array items: @@ -111000,13 +111524,13 @@ x-webhooks: type: string enum: - requested - enterprise: *648 + enterprise: *651 environment: type: string - installation: *649 - organization: *650 - repository: *651 - requestor: &668 + installation: *652 + organization: *653 + repository: *654 + requestor: &671 title: User type: object nullable: true @@ -112905,12 +113429,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Deployment Workflow Run type: object @@ -113590,7 +114114,7 @@ x-webhooks: type: string enum: - answered - answer: &666 + answer: &669 type: object properties: author_association: @@ -113747,7 +114271,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &664 + discussion: &667 title: Discussion description: A Discussion in a repository. type: object @@ -114033,7 +114557,7 @@ x-webhooks: - id labels: type: array - items: *481 + items: *484 required: - repository_url - category @@ -114055,10 +114579,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114185,11 +114709,11 @@ x-webhooks: - from required: - category - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114272,11 +114796,11 @@ x-webhooks: type: string enum: - closed - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114358,7 +114882,7 @@ x-webhooks: type: string enum: - created - comment: &665 + comment: &668 type: object properties: author_association: @@ -114515,11 +115039,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114602,12 +115126,12 @@ x-webhooks: type: string enum: - deleted - comment: *665 - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + comment: *668 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114702,12 +115226,12 @@ x-webhooks: - from required: - body - comment: *665 - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + comment: *668 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114791,11 +115315,11 @@ x-webhooks: type: string enum: - created - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114877,11 +115401,11 @@ x-webhooks: type: string enum: - deleted - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -114981,11 +115505,11 @@ x-webhooks: type: string required: - from - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115067,10 +115591,10 @@ x-webhooks: type: string enum: - labeled - discussion: *664 - enterprise: *648 - installation: *649 - label: &667 + discussion: *667 + enterprise: *651 + installation: *652 + label: &670 title: Label type: object properties: @@ -115102,8 +115626,8 @@ x-webhooks: - color - default - description - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115186,11 +115710,11 @@ x-webhooks: type: string enum: - locked - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115272,11 +115796,11 @@ x-webhooks: type: string enum: - pinned - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115358,11 +115882,11 @@ x-webhooks: type: string enum: - reopened - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115447,16 +115971,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *664 - new_repository: *651 + new_discussion: *667 + new_repository: *654 required: - new_discussion - new_repository - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115539,10 +116063,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *664 - old_answer: *666 - organization: *650 - repository: *651 + discussion: *667 + old_answer: *669 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115624,12 +116148,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *664 - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115712,11 +116236,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115798,11 +116322,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *664 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + discussion: *667 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -115875,7 +116399,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *648 + enterprise: *651 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -116535,9 +117059,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - forkee @@ -116683,9 +117207,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pages: description: The pages that were updated. type: array @@ -116722,7 +117246,7 @@ x-webhooks: - action - sha - html_url - repository: *651 + repository: *654 sender: *4 required: - pages @@ -116798,10 +117322,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: &669 + organization: *653 + repositories: &672 description: An array of repository objects that the installation can access. type: array @@ -116827,8 +117351,8 @@ x-webhooks: - name - full_name - private - repository: *651 - requester: *668 + repository: *654 + requester: *671 sender: *4 required: - action @@ -116903,11 +117427,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -116983,11 +117507,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117063,10 +117587,10 @@ x-webhooks: type: string enum: - added - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories_added: &670 + organization: *653 + repositories_added: &673 description: An array of repository objects, which were added to the installation. type: array @@ -117112,15 +117636,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *651 - repository_selection: &671 + repository: *654 + repository_selection: &674 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *668 + requester: *671 sender: *4 required: - action @@ -117199,10 +117723,10 @@ x-webhooks: type: string enum: - removed - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories_added: *670 + organization: *653 + repositories_added: *673 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -117229,9 +117753,9 @@ x-webhooks: - name - full_name - private - repository: *651 - repository_selection: *671 - requester: *668 + repository: *654 + repository_selection: *674 + requester: *671 sender: *4 required: - action @@ -117310,11 +117834,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117492,10 +118016,10 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 target_type: type: string @@ -117574,11 +118098,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *648 + enterprise: *651 installation: *22 - organization: *650 - repositories: *669 - repository: *651 + organization: *653 + repositories: *672 + repository: *654 requester: nullable: true sender: *4 @@ -117830,8 +118354,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118654,7 +119178,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -118987,8 +119511,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -119068,7 +119592,7 @@ x-webhooks: type: string enum: - deleted - comment: &672 + comment: &675 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -119233,8 +119757,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -120053,7 +120577,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -120388,8 +120912,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -120469,7 +120993,7 @@ x-webhooks: type: string enum: - edited - changes: &700 + changes: &703 description: The changes to the comment. type: object properties: @@ -120481,9 +121005,9 @@ x-webhooks: type: string required: - from - comment: *672 - enterprise: *648 - installation: *649 + comment: *675 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121305,7 +121829,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -121638,8 +122162,8 @@ x-webhooks: - state - locked - assignee - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -121721,10 +122245,10 @@ x-webhooks: type: string enum: - assigned - assignee: *668 - enterprise: *648 - installation: *649 - issue: &675 + assignee: *671 + enterprise: *651 + installation: *652 + issue: &678 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122542,7 +123066,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -122643,8 +123167,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -122724,8 +123248,8 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123548,7 +124072,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -123784,8 +124308,8 @@ x-webhooks: required: - state - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -123864,8 +124388,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124677,7 +125201,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -124777,8 +125301,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -124857,8 +125381,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125694,7 +126218,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -125773,7 +126297,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &673 + milestone: &676 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125911,8 +126435,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -126011,8 +126535,8 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126827,7 +127351,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -126931,9 +127455,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *667 - organization: *650 - repository: *651 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -127013,8 +127537,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127828,7 +128352,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -127932,9 +128456,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *667 - organization: *650 - repository: *651 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -128014,8 +128538,8 @@ x-webhooks: type: string enum: - locked - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128853,7 +129377,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *189 + type: *192 title: description: Title of the issue type: string @@ -128934,8 +129458,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -129014,8 +129538,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129850,7 +130374,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -129928,9 +130452,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *673 - organization: *650 - repository: *651 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -131391,8 +131915,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132210,7 +132734,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -132310,8 +132834,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -132391,9 +132915,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *648 - installation: *649 - issue: &674 + enterprise: *651 + installation: *652 + issue: &677 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133205,7 +133729,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -133305,8 +133829,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -133385,8 +133909,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134303,9 +134827,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *189 - organization: *650 - repository: *651 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135200,7 +135724,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -135768,11 +136292,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *648 - installation: *649 - issue: *674 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *677 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135852,12 +136376,12 @@ x-webhooks: type: string enum: - typed - enterprise: *648 - installation: *649 - issue: *675 - type: *189 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -135938,7 +136462,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &703 + assignee: &706 title: User type: object nullable: true @@ -136008,11 +136532,11 @@ x-webhooks: required: - login - id - enterprise: *648 - installation: *649 - issue: *675 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + organization: *653 + repository: *654 sender: *4 required: - action @@ -136091,12 +136615,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *648 - installation: *649 - issue: *675 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -136176,8 +136700,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137016,7 +137540,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *189 + type: *192 updated_at: type: string format: date-time @@ -137094,8 +137618,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137175,11 +137699,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *648 - installation: *649 - issue: *674 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *677 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137258,12 +137782,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *648 - installation: *649 - issue: *675 - type: *189 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + issue: *678 + type: *192 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137343,11 +137867,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137425,11 +137949,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137539,11 +138063,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - label: *667 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + label: *670 + organization: *653 + repository: *654 sender: *4 required: - action @@ -137625,9 +138149,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: &676 + enterprise: *651 + installation: *652 + marketplace_purchase: &679 title: Marketplace Purchase type: object required: @@ -137710,8 +138234,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *650 - previous_marketplace_purchase: &677 + organization: *653 + previous_marketplace_purchase: &680 title: Marketplace Purchase type: object properties: @@ -137791,7 +138315,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -137871,10 +138395,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137957,7 +138481,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -138039,10 +138563,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -138124,7 +138648,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *651 + repository: *654 sender: *4 required: - action @@ -138205,8 +138729,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 marketplace_purchase: title: Marketplace Purchase type: object @@ -138288,9 +138812,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *650 - previous_marketplace_purchase: *677 - repository: *651 + organization: *653 + previous_marketplace_purchase: *680 + repository: *654 sender: *4 required: - action @@ -138370,12 +138894,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *648 - installation: *649 - marketplace_purchase: *676 - organization: *650 - previous_marketplace_purchase: *677 - repository: *651 + enterprise: *651 + installation: *652 + marketplace_purchase: *679 + organization: *653 + previous_marketplace_purchase: *680 + repository: *654 sender: *4 required: - action @@ -138477,11 +139001,11 @@ x-webhooks: type: string required: - to - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138581,11 +139105,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138664,11 +139188,11 @@ x-webhooks: type: string enum: - removed - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 sender: *4 required: - action @@ -138746,11 +139270,11 @@ x-webhooks: type: string enum: - added - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138826,7 +139350,7 @@ x-webhooks: required: - login - id - team: &678 + team: &681 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -139016,11 +139540,11 @@ x-webhooks: type: string enum: - removed - enterprise: *648 - installation: *649 - member: *668 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + member: *671 + organization: *653 + repository: *654 scope: description: The scope of the membership. Currently, can only be `team`. @@ -139097,7 +139621,7 @@ x-webhooks: required: - login - id - team: *678 + team: *681 required: - action - scope @@ -139179,8 +139703,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *649 - merge_group: &680 + installation: *652 + merge_group: &683 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -139199,15 +139723,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *679 + head_commit: *682 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139293,10 +139817,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *649 - merge_group: *680 - organization: *650 - repository: *651 + installation: *652 + merge_group: *683 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139369,7 +139893,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 + enterprise: *651 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139477,16 +140001,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *649 - organization: *650 + installation: *652 + organization: *653 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -139567,11 +140091,11 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139650,9 +140174,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - milestone: &683 + enterprise: *651 + installation: *652 + milestone: &686 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139789,8 +140313,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139869,11 +140393,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -139983,11 +140507,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - milestone: *673 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *676 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140067,11 +140591,11 @@ x-webhooks: type: string enum: - opened - enterprise: *648 - installation: *649 - milestone: *683 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + milestone: *686 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140150,11 +140674,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *668 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + blocked_user: *671 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140233,11 +140757,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *668 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + blocked_user: *671 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140316,9 +140840,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - membership: &684 + enterprise: *651 + installation: *652 + membership: &687 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140410,8 +140934,8 @@ x-webhooks: - role - organization_url - user - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140489,11 +141013,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140572,8 +141096,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140689,10 +141213,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 - user: *668 + user: *671 required: - action - invitation @@ -140770,11 +141294,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140861,11 +141385,11 @@ x-webhooks: properties: from: type: string - enterprise: *648 - installation: *649 - membership: *684 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + membership: *687 + organization: *653 + repository: *654 sender: *4 required: - action @@ -140941,9 +141465,9 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 package: description: Information about the package. type: object @@ -141442,7 +141966,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &685 + items: &688 title: Ruby Gems metadata type: object properties: @@ -141537,7 +142061,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -141613,9 +142137,9 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 package: description: Information about the package. type: object @@ -141968,7 +142492,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *685 + items: *688 source_url: type: string format: uri @@ -142038,7 +142562,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -142215,12 +142739,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *648 + enterprise: *651 id: type: integer - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - id @@ -142297,7 +142821,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &686 + personal_access_token_request: &689 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142443,10 +142967,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *648 - organization: *650 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142523,11 +143047,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *686 - enterprise: *648 - organization: *650 + personal_access_token_request: *689 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142603,11 +143127,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *686 - enterprise: *648 - organization: *650 + personal_access_token_request: *689 + enterprise: *651 + organization: *653 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142682,11 +143206,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *686 - organization: *650 - enterprise: *648 + personal_access_token_request: *689 + organization: *653 + enterprise: *651 sender: *4 - installation: *649 + installation: *652 required: - action - personal_access_token_request @@ -142791,7 +143315,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *687 + last_response: *690 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142823,8 +143347,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 zen: description: Random string of GitHub zen. @@ -143069,10 +143593,10 @@ x-webhooks: - from required: - note - enterprise: *648 - installation: *649 - organization: *650 - project_card: &688 + enterprise: *651 + installation: *652 + organization: *653 + project_card: &691 title: Project Card type: object properties: @@ -143191,7 +143715,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -143272,11 +143796,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project_card: *688 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_card: *691 + repository: *654 sender: *4 required: - action @@ -143356,9 +143880,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 project_card: title: Project Card type: object @@ -143486,8 +144010,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -143581,11 +144105,11 @@ x-webhooks: - from required: - note - enterprise: *648 - installation: *649 - organization: *650 - project_card: *688 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_card: *691 + repository: *654 sender: *4 required: - action @@ -143679,9 +144203,9 @@ x-webhooks: - from required: - column_id - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 project_card: allOf: - title: Project Card @@ -143871,7 +144395,7 @@ x-webhooks: type: string required: - after_id - repository: *651 + repository: *654 sender: *4 required: - action @@ -143951,10 +144475,10 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - organization: *650 - project: &690 + enterprise: *651 + installation: *652 + organization: *653 + project: &693 title: Project type: object properties: @@ -144078,7 +144602,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -144158,10 +144682,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project_column: &689 + enterprise: *651 + installation: *652 + organization: *653 + project_column: &692 title: Project Column type: object properties: @@ -144200,7 +144724,7 @@ x-webhooks: - name - created_at - updated_at - repository: *651 + repository: *654 sender: *4 required: - action @@ -144279,18 +144803,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -144380,11 +144904,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 + repository: *654 sender: *4 required: - action @@ -144464,11 +144988,11 @@ x-webhooks: type: string enum: - moved - enterprise: *648 - installation: *649 - organization: *650 - project_column: *689 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project_column: *692 + repository: *654 sender: *4 required: - action @@ -144548,11 +145072,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144632,18 +145156,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - project: *690 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *681 - required: *682 + properties: *684 + required: *685 nullable: true sender: *4 required: @@ -144745,11 +145269,11 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144828,11 +145352,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 - organization: *650 - project: *690 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + project: *693 + repository: *654 sender: *4 required: - action @@ -144913,9 +145437,9 @@ x-webhooks: type: string enum: - closed - installation: *649 - organization: *650 - projects_v2: &691 + installation: *652 + organization: *653 + projects_v2: &694 title: Projects v2 Project description: A projects v2 project type: object @@ -145058,9 +145582,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145141,9 +145665,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145260,9 +145784,9 @@ x-webhooks: type: string to: type: string - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -145345,7 +145869,7 @@ x-webhooks: type: string enum: - archived - changes: &695 + changes: &698 type: object properties: archived_at: @@ -145359,9 +145883,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *649 - organization: *650 - projects_v2_item: &692 + installation: *652 + organization: *653 + projects_v2_item: &695 title: Projects v2 Item description: An item belonging to a project type: object @@ -145495,9 +146019,9 @@ x-webhooks: nullable: true to: type: string - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145579,9 +146103,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145662,9 +146186,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145770,7 +146294,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &693 + - &696 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145788,7 +146312,7 @@ x-webhooks: required: - id - name - - &694 + - &697 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145811,8 +146335,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *693 - - *694 + - *696 + - *697 required: - field_value - type: object @@ -145828,9 +146352,9 @@ x-webhooks: nullable: true required: - body - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -145925,9 +146449,9 @@ x-webhooks: to: type: string nullable: true - installation: *649 - organization: *650 - projects_v2_item: *692 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -146010,10 +146534,10 @@ x-webhooks: type: string enum: - restored - changes: *695 - installation: *649 - organization: *650 - projects_v2_item: *692 + changes: *698 + installation: *652 + organization: *653 + projects_v2_item: *695 sender: *4 required: - action @@ -146095,9 +146619,9 @@ x-webhooks: type: string enum: - reopened - installation: *649 - organization: *650 - projects_v2: *691 + installation: *652 + organization: *653 + projects_v2: *694 sender: *4 required: - action @@ -146178,9 +146702,9 @@ x-webhooks: type: string enum: - created - installation: *649 - organization: *650 - projects_v2_status_update: &696 + installation: *652 + organization: *653 + projects_v2_status_update: &699 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146307,9 +146831,9 @@ x-webhooks: type: string enum: - deleted - installation: *649 - organization: *650 - projects_v2_status_update: *696 + installation: *652 + organization: *653 + projects_v2_status_update: *699 sender: *4 required: - action @@ -146445,9 +146969,9 @@ x-webhooks: type: string format: date nullable: true - installation: *649 - organization: *650 - projects_v2_status_update: *696 + installation: *652 + organization: *653 + projects_v2_status_update: *699 sender: *4 required: - action @@ -146518,10 +147042,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - repository @@ -146598,13 +147122,13 @@ x-webhooks: type: string enum: - assigned - assignee: *668 - enterprise: *648 - installation: *649 - number: &697 + assignee: *671 + enterprise: *651 + installation: *652 + number: &700 description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -148887,7 +149411,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -148969,11 +149493,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -151251,7 +151775,7 @@ x-webhooks: - draft reason: type: string - repository: *651 + repository: *654 sender: *4 required: - action @@ -151333,11 +151857,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -153615,7 +154139,7 @@ x-webhooks: - draft reason: type: string - repository: *651 + repository: *654 sender: *4 required: - action @@ -153697,13 +154221,13 @@ x-webhooks: type: string enum: - closed - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: &698 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: &701 allOf: - - *519 + - *522 - type: object properties: allow_auto_merge: @@ -153765,7 +154289,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *651 + repository: *654 sender: *4 required: - action @@ -153846,12 +154370,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -153931,11 +154455,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *648 - milestone: *502 - number: *697 - organization: *650 - pull_request: &699 + enterprise: *651 + milestone: *505 + number: *700 + organization: *653 + pull_request: &702 title: Pull Request type: object properties: @@ -156198,7 +156722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -156277,11 +156801,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -158563,7 +159087,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *651 + repository: *654 sender: *4 required: - action @@ -158687,12 +159211,12 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -158772,11 +159296,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -161043,7 +161567,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -161123,11 +161647,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *648 - installation: *649 - label: *667 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + label: *670 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -163409,7 +163933,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -163490,10 +164014,10 @@ x-webhooks: type: string enum: - locked - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -165773,7 +166297,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -165853,12 +166377,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *648 - milestone: *502 - number: *697 - organization: *650 - pull_request: *699 - repository: *651 + enterprise: *651 + milestone: *505 + number: *700 + organization: *653 + pull_request: *702 + repository: *654 sender: *4 required: - action @@ -165937,12 +166461,12 @@ x-webhooks: type: string enum: - opened - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166023,12 +166547,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166108,12 +166632,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *648 - installation: *649 - number: *697 - organization: *650 - pull_request: *698 - repository: *651 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 + pull_request: *701 + repository: *654 sender: *4 required: - action @@ -166479,9 +167003,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -168651,7 +169175,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -168731,7 +169255,7 @@ x-webhooks: type: string enum: - deleted - comment: &701 + comment: &704 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169016,9 +169540,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -171176,7 +171700,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -171256,11 +171780,11 @@ x-webhooks: type: string enum: - edited - changes: *700 - comment: *701 - enterprise: *648 - installation: *649 - organization: *650 + changes: *703 + comment: *704 + enterprise: *651 + installation: *652 + organization: *653 pull_request: type: object properties: @@ -173421,7 +173945,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *651 + repository: *654 sender: *4 required: - action @@ -173502,9 +174026,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -175677,7 +176201,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 review: description: The review that was affected. type: object @@ -175920,9 +176444,9 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -177976,8 +178500,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 - review: &702 + repository: *654 + review: &705 description: The review that was affected. type: object properties: @@ -178206,12 +178730,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -180494,7 +181018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_reviewer: title: User type: object @@ -180578,12 +181102,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -182873,7 +183397,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183065,12 +183589,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -185355,7 +185879,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_reviewer: title: User type: object @@ -185440,12 +185964,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *648 - installation: *649 + enterprise: *651 + installation: *652 number: description: The pull request number. type: integer - organization: *650 + organization: *653 pull_request: title: Pull Request type: object @@ -187721,7 +188245,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187902,9 +188426,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -190079,8 +190603,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 - review: *702 + repository: *654 + review: *705 sender: *4 required: - action @@ -190160,9 +190684,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -192232,7 +192756,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 sender: *4 thread: type: object @@ -192615,9 +193139,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 pull_request: title: Simple Pull Request type: object @@ -194673,7 +195197,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *651 + repository: *654 sender: *4 thread: type: object @@ -195059,10 +195583,10 @@ x-webhooks: type: string before: type: string - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -197333,7 +197857,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -197415,11 +197939,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *703 - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + assignee: *706 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -199702,7 +200226,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -199781,11 +200305,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *648 - installation: *649 - label: *667 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + label: *670 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -202058,7 +202582,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -202139,10 +202663,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *648 - installation: *649 - number: *697 - organization: *650 + enterprise: *651 + installation: *652 + number: *700 + organization: *653 pull_request: title: Pull Request type: object @@ -204407,7 +204931,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *651 + repository: *654 sender: *4 required: - action @@ -204607,7 +205131,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *648 + enterprise: *651 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -204699,8 +205223,8 @@ x-webhooks: - url - author - committer - installation: *649 - organization: *650 + installation: *652 + organization: *653 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -205275,9 +205799,9 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 registry_package: type: object properties: @@ -205723,7 +206247,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *685 + items: *688 summary: type: string tag_name: @@ -205777,7 +206301,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -205855,9 +206379,9 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 registry_package: type: object properties: @@ -206165,7 +206689,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *685 + items: *688 summary: type: string tag_name: @@ -206214,7 +206738,7 @@ x-webhooks: - owner - package_version - registry - repository: *651 + repository: *654 sender: *4 required: - action @@ -206291,10 +206815,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - release: &704 + enterprise: *651 + installation: *652 + organization: *653 + release: &707 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -206599,7 +207123,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *651 + repository: *654 sender: *4 required: - action @@ -206676,11 +207200,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -206797,11 +207321,11 @@ x-webhooks: type: boolean required: - to - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -206879,9 +207403,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -207190,7 +207714,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *651 + repository: *654 sender: *4 required: - action @@ -207266,10 +207790,10 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - release: &705 + enterprise: *651 + installation: *652 + organization: *653 + release: &708 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -207575,7 +208099,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *651 + repository: *654 sender: *4 required: - action @@ -207651,11 +208175,11 @@ x-webhooks: type: string enum: - released - enterprise: *648 - installation: *649 - organization: *650 - release: *704 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *707 + repository: *654 sender: *4 required: - action @@ -207731,11 +208255,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *648 - installation: *649 - organization: *650 - release: *705 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + release: *708 + repository: *654 sender: *4 required: - action @@ -207811,11 +208335,11 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_advisory: *579 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_advisory: *582 sender: *4 required: - action @@ -207891,11 +208415,11 @@ x-webhooks: type: string enum: - reported - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_advisory: *579 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_advisory: *582 sender: *4 required: - action @@ -207971,10 +208495,10 @@ x-webhooks: type: string enum: - archived - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208051,10 +208575,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208132,10 +208656,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208219,10 +208743,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208334,10 +208858,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208409,10 +208933,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 status: type: string @@ -208493,10 +209017,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208573,10 +209097,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208670,10 +209194,10 @@ x-webhooks: - name required: - repository - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -208753,11 +209277,11 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 sender: *4 required: - action @@ -208835,11 +209359,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 sender: *4 required: - action @@ -208917,11 +209441,11 @@ x-webhooks: type: string enum: - edited - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - repository_ruleset: *241 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + repository_ruleset: *244 changes: type: object properties: @@ -208940,16 +209464,16 @@ x-webhooks: properties: added: type: array - items: *235 + items: *238 deleted: type: array - items: *235 + items: *238 updated: type: array items: type: object properties: - condition: *235 + condition: *238 changes: type: object properties: @@ -208982,16 +209506,16 @@ x-webhooks: properties: added: type: array - items: *240 + items: *243 deleted: type: array - items: *240 + items: *243 updated: type: array items: type: object properties: - rule: *240 + rule: *243 changes: type: object properties: @@ -209225,10 +209749,10 @@ x-webhooks: - from required: - owner - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209306,10 +209830,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209387,7 +209911,7 @@ x-webhooks: type: string enum: - create - alert: &706 + alert: &709 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -209508,10 +210032,10 @@ x-webhooks: type: string enum: - open - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209717,10 +210241,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -209798,11 +210322,11 @@ x-webhooks: type: string enum: - reopen - alert: *706 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210001,10 +210525,10 @@ x-webhooks: enum: - fixed - open - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210082,7 +210606,7 @@ x-webhooks: type: string enum: - created - alert: &707 + alert: &710 type: object properties: number: *54 @@ -210193,10 +210717,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210277,11 +210801,11 @@ x-webhooks: type: string enum: - created - alert: *707 - installation: *649 - location: *708 - organization: *650 - repository: *651 + alert: *710 + installation: *652 + location: *711 + organization: *653 + repository: *654 sender: *4 required: - location @@ -210519,11 +211043,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210601,11 +211125,11 @@ x-webhooks: type: string enum: - reopened - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210683,11 +211207,11 @@ x-webhooks: type: string enum: - resolved - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210765,11 +211289,11 @@ x-webhooks: type: string enum: - validated - alert: *707 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + alert: *710 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -210895,10 +211419,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *651 - enterprise: *648 - installation: *649 - organization: *650 + repository: *654 + enterprise: *651 + installation: *652 + organization: *653 sender: *4 required: - action @@ -210976,11 +211500,11 @@ x-webhooks: type: string enum: - published - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - security_advisory: &709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + security_advisory: &712 description: The details of the security advisory, including summary, description, and severity. type: object @@ -211163,11 +211687,11 @@ x-webhooks: type: string enum: - updated - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 - security_advisory: *709 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 + security_advisory: *712 sender: *4 required: - action @@ -211240,10 +211764,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -211427,11 +211951,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *234 - enterprise: *648 - installation: *649 - organization: *650 - repository: *287 + security_and_analysis: *237 + enterprise: *651 + installation: *652 + organization: *653 + repository: *290 sender: *4 required: - changes @@ -211509,12 +212033,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: &710 + sponsorship: &713 type: object properties: created_at: @@ -211815,12 +212339,12 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - sponsorship @@ -211908,12 +212432,12 @@ x-webhooks: type: string required: - from - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -211990,17 +212514,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &711 + effective_date: &714 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: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - sponsorship @@ -212074,7 +212598,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &712 + changes: &715 type: object properties: tier: @@ -212118,13 +212642,13 @@ x-webhooks: - from required: - tier - effective_date: *711 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + effective_date: *714 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -212201,13 +212725,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *712 - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + changes: *715 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - sponsorship: *710 + sponsorship: *713 required: - action - changes @@ -212281,10 +212805,10 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212367,10 +212891,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -212790,15 +213314,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *648 + enterprise: *651 id: description: The unique identifier of the status. type: integer - installation: *649 + installation: *652 name: type: string - organization: *650 - repository: *651 + organization: *653 + repository: *654 sender: *4 sha: description: The Commit SHA. @@ -212913,9 +213437,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213005,9 +213529,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213097,9 +213621,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213189,9 +213713,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *77 - installation: *649 - organization: *650 - repository: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -213268,12 +213792,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - team: &713 + team: &716 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -213463,9 +213987,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -213923,7 +214447,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -213999,9 +214523,9 @@ x-webhooks: type: string enum: - created - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -214459,7 +214983,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -214536,9 +215060,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -214996,7 +215520,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -215140,9 +215664,9 @@ x-webhooks: - from required: - permissions - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -215600,7 +216124,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - changes @@ -215678,9 +216202,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *648 - installation: *649 - organization: *650 + enterprise: *651 + installation: *652 + organization: *653 repository: title: Repository description: A git repository @@ -216138,7 +216662,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *713 + team: *716 required: - action - team @@ -216214,10 +216738,10 @@ x-webhooks: type: string enum: - started - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 required: - action @@ -216290,16 +216814,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *648 + enterprise: *651 inputs: type: object nullable: true additionalProperties: true - installation: *649 - organization: *650 + installation: *652 + organization: *653 ref: type: string - repository: *651 + repository: *654 sender: *4 workflow: type: string @@ -216381,10 +216905,10 @@ x-webhooks: type: string enum: - completed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: allOf: @@ -216621,7 +217145,7 @@ x-webhooks: type: string required: - conclusion - deployment: *434 + deployment: *437 required: - action - repository @@ -216700,10 +217224,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: allOf: @@ -216963,7 +217487,7 @@ x-webhooks: required: - status - steps - deployment: *434 + deployment: *437 required: - action - repository @@ -217042,10 +217566,10 @@ x-webhooks: type: string enum: - queued - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: type: object @@ -217180,7 +217704,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *434 + deployment: *437 required: - action - repository @@ -217259,10 +217783,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 workflow_job: type: object @@ -217398,7 +217922,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *434 + deployment: *437 required: - action - repository @@ -217478,12 +218002,12 @@ x-webhooks: type: string enum: - completed - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object @@ -218482,12 +219006,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object @@ -219471,12 +219995,12 @@ x-webhooks: type: string enum: - requested - enterprise: *648 - installation: *649 - organization: *650 - repository: *651 + enterprise: *651 + installation: *652 + organization: *653 + repository: *654 sender: *4 - workflow: *663 + workflow: *666 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index aec34de4cb..797a6e0c4c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -195,6 +195,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -38283,7 +38287,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -39558,7 +39562,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -40939,7 +40943,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -42456,7 +42460,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -43727,7 +43731,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -91762,25 +91766,3006 @@ } } }, - "500": { - "description": "Internal Error", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an org", + "description": "List requests to bypass secret scanning push protection in an org.\n\nDelegated bypass must be enabled on repositories in the org and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "expired", + "deleted", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + } + } + } + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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" + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { + "code": { "type": "string" }, - "url": { + "message": { "type": "string" }, - "status": { + "documentation_url": { "type": "string" } } @@ -91788,26 +94773,24 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } - } - }, - "/orgs/{org}/bypass-requests/secret-scanning": { - "get": { - "summary": "List bypass requests for secret scanning for an org", - "description": "List requests to bypass secret scanning push protection in an org.\n\nDelegated bypass must be enabled on repositories in the org and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", "tags": [ - "secret-scanning" + "campaigns" ], - "operationId": "secret-scanning/list-org-bypass-requests", + "operationId": "campaigns/delete-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "delegated-bypass" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization" }, "parameters": [ { @@ -91820,373 +94803,18 @@ } }, { - "name": "repository_name", - "description": "The name of the repository to filter on.", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reviewer", - "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "requester", - "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "hour", - "day", - "week", - "month" - ], - "default": "day" - } - }, - { - "name": "request_status", - "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "completed", - "cancelled", - "expired", - "deleted", - "denied", - "open", - "all" - ], - "default": "all" - } - }, - { - "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", + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, "schema": { - "type": "integer", - "default": 1 + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Secret scanning bypass request", - "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the bypass request." - }, - "number": { - "type": "integer", - "description": "The number uniquely identifying the bypass request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the repository the bypass request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the bypass request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the bypass request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the bypass.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who requested the bypass." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the bypass." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the push rules that are being requested to be bypassed.", - "items": { - "type": "object", - "properties": { - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "bypass_reason": { - "type": "string", - "enum": [ - "used_in_tests", - "false_positive", - "fix_later" - ], - "description": "The reason the bypass was requested." - }, - "path": { - "type": "string", - "description": "The path in the repo where the secret was located during the request." - }, - "branch": { - "type": "string", - "description": "The branch in the repo where the secret was located during the request." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", - "example": "827efc6d56897b048c772eb4087f854f46256132" - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the bypass request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the bypass request.", - "nullable": true, - "items": { - "title": "Bypass response", - "description": "A response made by a delegated bypasser to a bypass request.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the response to the bypass request." - }, - "reviewer": { - "type": "object", - "description": "The user who reviewed the bypass request.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who reviewed the bypass request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who reviewed the bypass request." - } - } - }, - "status": { - "type": "string", - "description": "The response status to the bypass request until dismissed.", - "enum": [ - "approved", - "denied", - "dismissed" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the response to the bypass request was created." - } - } - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the bypass request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/exemptions/1" - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "id": 21, - "number": 42, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "used_in_tests", - "path": "/tests/README.md:16:0", - "branch": "refs/heads/main" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", - "status": "denied", - "requester_comment": "Test token used in the readme as an example", - "expires_at": "2024-07-08T08:43:03Z", - "created_at": "2024-07-01T08:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", - "html_url": "https://github.com/octo-org/smile/exemptions/1" - }, - { - "id": 12, - "number": 24, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "fix_later", - "path": "README.md:17:0", - "branch": "refs/heads/my-branch" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", - "status": "denied", - "requester_comment": "Token is already revoked, I'll remove it later", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", - "html_url": "https://github.com/octo-org/smile/exemptions/2" - } - ] - } - } - } - } + "204": { + "description": "Deletion successful" }, "404": { "description": "Resource not found", @@ -92214,25 +94842,20 @@ } } }, - "500": { - "description": "Internal Error", + "503": { + "description": "Service unavailable", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { + "code": { "type": "string" }, - "url": { + "message": { "type": "string" }, - "status": { + "documentation_url": { "type": "string" } } @@ -92240,6 +94863,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -156099,7 +158728,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -157382,7 +160011,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -158672,7 +161301,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -160603,7 +163232,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -161911,7 +164540,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -163197,7 +165826,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -316397,6 +319026,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -316431,42 +319066,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -316733,6 +319339,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -316767,42 +319379,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -442281,7 +444864,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -443994,7 +446577,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -445067,7 +447650,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -446347,7 +448930,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -448297,7 +450880,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -449385,7 +451968,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -450661,7 +453244,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1130356,7 +1132939,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1133206,7 +1135789,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1136056,7 +1138639,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1137056,7 +1139639,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1137884,7 +1140467,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1138715,7 +1141298,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index e9d979cf4d..97ae582ecd 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -103,6 +103,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &340 + type: &343 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &666 + - &669 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1584,7 +1586,7 @@ paths: schema: type: integer default: 30 - - &262 + - &266 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1600,7 +1602,7 @@ paths: application/json: schema: type: array - items: &263 + items: &267 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1680,7 +1682,7 @@ paths: - installation_id - repository_id examples: - default: &264 + default: &268 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1712,7 +1714,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &676 + schema: &679 title: Scim Error description: Scim Error type: object @@ -1808,7 +1810,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &269 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1922,7 +1924,7 @@ paths: - request - response examples: - default: &266 + default: &270 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2849,7 +2851,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &322 + properties: &325 id: description: Unique identifier of the repository example: 42 @@ -3278,7 +3280,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &323 + required: &326 - archive_url - assignees_url - blobs_url @@ -11170,7 +11172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &227 + - &231 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`, @@ -11180,7 +11182,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &228 + - &232 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 @@ -11203,7 +11205,7 @@ paths: be returned. in: query required: false - schema: &229 + schema: &233 type: string description: State of a code scanning alert. enum: @@ -11228,7 +11230,7 @@ paths: application/json: schema: type: array - items: &230 + items: &234 type: object properties: number: &100 @@ -11257,7 +11259,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &457 + instances_url: &460 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11292,7 +11294,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &458 + dismissed_reason: &461 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11301,13 +11303,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &459 + dismissed_comment: &462 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &460 + rule: &463 type: object properties: id: @@ -11360,7 +11362,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &461 + tool: &464 type: object properties: name: *87 @@ -11370,15 +11372,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &462 + most_recent_instance: &465 type: object properties: - ref: &455 + ref: &458 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &472 + analysis_key: &475 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11389,7 +11391,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &473 + category: &476 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11734,7 +11736,7 @@ paths: - most_recent_instance - repository examples: - default: &231 + default: &235 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12541,7 +12543,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &237 type: array description: A list of default code security configurations items: @@ -12557,7 +12559,7 @@ paths: default configuration: *90 examples: - default: &234 + default: &238 value: - default_for_new_repos: public configuration: @@ -12988,7 +12990,7 @@ paths: default: value: default_for_new_repos: all - configuration: &232 + configuration: &236 value: id: 1325 target_type: organization @@ -13071,7 +13073,7 @@ paths: application/json: schema: type: array - items: &235 + items: &239 type: object description: Repositories associated with a code security configuration and attachment status @@ -13095,7 +13097,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &236 + repository: &240 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13560,7 +13562,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &238 + items: &242 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13578,7 +13580,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &284 + - &227 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13637,7 +13639,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &300 + properties: &303 id: description: Unique identifier of the team type: integer @@ -13693,7 +13695,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &301 + required: &304 - id - node_id - url @@ -13812,7 +13814,7 @@ paths: - created_at additionalProperties: false examples: - default: &239 + default: &243 value: total_seats: 2 seats: @@ -14382,7 +14384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &245 + - &249 name: state in: query description: |- @@ -14391,7 +14393,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &246 + - &250 name: severity in: query description: |- @@ -14400,7 +14402,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &247 + - &251 name: ecosystem in: query description: |- @@ -14409,14 +14411,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &248 + - &252 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 - - &249 + - &253 name: epss_percentage in: query description: |- @@ -14428,7 +14430,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 - - &250 + - &254 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14438,7 +14440,7 @@ paths: enum: - development - runtime - - &251 + - &255 name: sort in: query description: |- @@ -14456,7 +14458,7 @@ paths: - *86 - *84 - *85 - - &252 + - &256 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14469,7 +14471,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &253 + - &257 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14489,7 +14491,7 @@ paths: application/json: schema: type: array - items: &254 + items: &258 type: object description: A Dependabot alert. properties: @@ -14552,7 +14554,7 @@ paths: - unknown - direct - transitive - security_advisory: &514 + security_advisory: &517 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14784,7 +14786,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &515 + auto_dismissed_at: &518 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14810,7 +14812,7 @@ paths: - repository additionalProperties: false examples: - default: &255 + default: &259 value: - number: 2 state: dismissed @@ -15276,7 +15278,7 @@ paths: - name - created_on examples: - default: &351 + default: &354 value: total_count: 2 network_configurations: @@ -15499,7 +15501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *40 - - &352 + - &355 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15511,7 +15513,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &356 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15545,7 +15547,7 @@ paths: - subnet_id - region examples: - default: &354 + default: &357 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15847,7 +15849,7 @@ paths: required: true content: application/json: - schema: &320 + schema: &323 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16213,7 +16215,7 @@ paths: type: object description: A repository rule. oneOf: - - &624 + - &627 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16225,7 +16227,7 @@ paths: type: string enum: - creation - - &625 + - &628 title: update description: Only allow users with bypass permission to update matching refs. @@ -16246,7 +16248,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &627 + - &630 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16258,7 +16260,7 @@ paths: type: string enum: - deletion - - &628 + - &631 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16270,7 +16272,7 @@ paths: type: string enum: - required_linear_history - - &629 + - &632 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16346,7 +16348,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &630 + - &633 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16370,7 +16372,7 @@ paths: type: string required: - required_deployment_environments - - &631 + - &634 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16382,7 +16384,7 @@ paths: type: string enum: - required_signatures - - &632 + - &635 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16410,11 +16412,9 @@ paths: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot + for new pull requests, if the author has access to + Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss @@ -16444,7 +16444,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &633 + - &636 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16491,7 +16491,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &634 + - &637 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16503,7 +16503,7 @@ paths: type: string enum: - non_fast_forward - - &635 + - &638 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16539,7 +16539,7 @@ paths: required: - operator - pattern - - &636 + - &639 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16575,7 +16575,7 @@ paths: required: - operator - pattern - - &637 + - &640 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16611,7 +16611,7 @@ paths: required: - operator - pattern - - &638 + - &641 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16647,7 +16647,7 @@ paths: required: - operator - pattern - - &639 + - &642 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16683,7 +16683,7 @@ paths: required: - operator - pattern - - &640 + - &643 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16707,7 +16707,7 @@ paths: type: string required: - restricted_file_paths - - &641 + - &644 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16731,7 +16731,7 @@ paths: maximum: 256 required: - max_file_path_length - - &642 + - &645 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16754,7 +16754,7 @@ paths: type: string required: - restricted_file_extensions - - &643 + - &646 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16778,7 +16778,7 @@ paths: maximum: 100 required: - max_file_size - - &644 + - &647 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16827,7 +16827,7 @@ paths: - repository_id required: - workflows - - &645 + - &648 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16984,7 +16984,7 @@ paths: nullable: true anyOf: - *121 - - &327 + - &330 title: Organization ruleset conditions type: object description: |- @@ -17265,7 +17265,7 @@ paths: type: string format: date-time examples: - default: &329 + default: &332 value: - version_id: 3 actor: @@ -17318,7 +17318,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &333 allOf: - *131 - type: object @@ -17373,7 +17373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &331 + - &334 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17384,7 +17384,7 @@ paths: enum: - open - resolved - - &332 + - &335 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17394,7 +17394,7 @@ paths: required: false schema: type: string - - &333 + - &336 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17403,7 +17403,7 @@ paths: required: false schema: type: string - - &334 + - &337 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. @@ -17419,7 +17419,7 @@ paths: - *17 - *84 - *85 - - &335 + - &338 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17428,7 +17428,7 @@ paths: required: false schema: type: string - - &336 + - &339 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17437,7 +17437,7 @@ paths: schema: type: boolean default: false - - &337 + - &340 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17453,7 +17453,7 @@ paths: application/json: schema: type: array - items: &338 + items: &341 type: object properties: number: *100 @@ -17472,14 +17472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &658 + state: &661 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: &659 + resolution: &662 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17581,7 +17581,7 @@ paths: is base64 encoded nullable: true examples: - default: &339 + default: &342 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17844,7 +17844,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 type: object properties: total_minutes_used: @@ -17914,7 +17914,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &343 + default: &346 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17945,7 +17945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *40 - - &344 + - &347 name: advanced_security_product in: query description: The security feature to get GitHub Advanced Security active committers @@ -17963,7 +17963,7 @@ paths: description: Success content: application/json: - schema: &345 + schema: &348 type: object properties: total_advanced_security_committers: @@ -18018,7 +18018,7 @@ paths: required: - repositories examples: - default: &346 + default: &349 value: total_advanced_security_committers: 2 total_count: 2 @@ -18257,7 +18257,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &350 type: object properties: total_gigabytes_bandwidth_used: @@ -18275,7 +18275,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &348 + default: &351 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18307,7 +18307,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &352 type: object properties: days_left_in_billing_cycle: @@ -18325,7 +18325,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &350 + default: &353 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18695,7 +18695,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &563 + properties: &566 id: type: integer format: int64 @@ -18806,7 +18806,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &499 + properties: &502 url: type: string format: uri @@ -18876,7 +18876,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &500 + required: &503 - closed_issues - creator - description @@ -18955,7 +18955,7 @@ paths: timeline_url: type: string format: uri - type: &285 + type: &288 title: Issue Type description: The type of issue. type: object @@ -19080,7 +19080,7 @@ paths: - total - completed - percent_completed - required: &564 + required: &567 - assignee - closed_at - comments @@ -19102,7 +19102,7 @@ paths: - author_association - created_at - updated_at - comment: &561 + comment: &564 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19669,7 +19669,7 @@ paths: url: type: string format: uri - user: &715 + user: &718 title: Public User description: Public User type: object @@ -21539,7 +21539,7 @@ paths: - closed - all default: open - - &288 + - &291 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21590,7 +21590,7 @@ paths: type: array items: *153 examples: - default: &289 + default: &292 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22974,14 +22974,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &374 + - &377 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &375 + - &378 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23052,7 +23052,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &388 + '301': &391 description: Moved permanently content: application/json: @@ -23074,7 +23074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &593 + - &596 name: all description: If `true`, show notifications marked as read. in: query @@ -23082,7 +23082,7 @@ paths: schema: type: boolean default: false - - &594 + - &597 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23092,7 +23092,7 @@ paths: type: boolean default: false - *143 - - &595 + - &598 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: @@ -23128,7 +23128,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &257 + properties: &261 id: type: integer format: int64 @@ -23404,7 +23404,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &324 + security_and_analysis: &327 nullable: true type: object properties: @@ -23476,7 +23476,7 @@ paths: enum: - enabled - disabled - required: &258 + required: &262 - archive_url - assignees_url - blobs_url @@ -23564,7 +23564,7 @@ paths: - url - subscription_url examples: - default: &596 + default: &599 value: - id: '1' repository: @@ -24110,7 +24110,7 @@ paths: type: array items: *58 examples: - default: &733 + default: &736 value: - login: github id: 1 @@ -24174,7 +24174,7 @@ paths: type: integer custom_roles: type: array - items: &240 + items: &244 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24222,7 +24222,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &245 value: id: 8030 name: Security Engineer @@ -25043,7 +25043,7 @@ paths: type: integer repository_cache_usages: type: array - items: &393 + items: &396 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25713,7 +25713,7 @@ paths: type: array items: *63 examples: - default: &727 + default: &730 value: total_count: 1 repositories: @@ -26532,7 +26532,7 @@ paths: type: array items: *196 examples: - default: &718 + default: &721 value: total_count: 1 repositories: @@ -27573,7 +27573,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &416 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27602,7 +27602,7 @@ paths: - key_id - key examples: - default: &414 + default: &417 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28015,7 +28015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *170 - - &398 + - &401 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28628,7 +28628,7 @@ paths: bundle_url: type: string examples: - default: &427 + default: &430 value: attestations: - bundle: @@ -28797,7 +28797,7 @@ paths: type: array items: *4 examples: - default: &290 + default: &293 value: - login: octocat id: 1 @@ -28975,7 +28975,7 @@ paths: application/json: schema: type: array - items: &444 + items: &447 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29100,7 +29100,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &445 + default: &448 value: - id: 21 number: 42 @@ -29168,6 +29168,546 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *99 + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - *170 + - *19 + - *17 + - *86 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &228 + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &229 + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, + in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: *4 + team_managers: + description: The campaign team managers + type: array + items: *227 + published_at: + description: The date and time the campaign was published, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign + is still open. + type: string + format: date-time + nullable: true + state: *228 + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link + examples: + default: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited + by attackers. This reduces risk, prevents breaches and can help + protect sensitive data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + headers: + Link: *39 + '404': *6 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - *170 + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: &230 + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '429': + description: Too Many Requests + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: *230 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: *228 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: *230 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29185,8 +29725,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *170 - - *227 - - *228 + - *231 + - *232 - *84 - *85 - *19 @@ -29197,7 +29737,7 @@ paths: be returned. in: query required: false - schema: *229 + schema: *233 - name: sort description: The property by which to sort the results. in: query @@ -29213,7 +29753,7 @@ paths: be returned. in: query required: false - schema: &456 + schema: &459 type: string description: Severity of a code scanning alert. enum: @@ -29231,9 +29771,9 @@ paths: application/json: schema: type: array - items: *230 + items: *234 examples: - default: *231 + default: *235 headers: Link: *39 '404': *6 @@ -29570,7 +30110,7 @@ paths: application/json: schema: *90 examples: - default: *232 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29598,9 +30138,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '304': *37 '403': *29 '404': *6 @@ -29684,7 +30224,7 @@ paths: application/json: schema: *90 examples: - default: *232 + default: *236 '304': *37 '403': *29 '404': *6 @@ -30084,7 +30624,7 @@ paths: default: value: default_for_new_repos: all - configuration: *232 + configuration: *236 '403': *29 '404': *6 x-github: @@ -30137,13 +30677,13 @@ paths: application/json: schema: type: array - items: *235 + items: *239 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *236 + repository: *240 '403': *29 '404': *6 x-github: @@ -30183,7 +30723,7 @@ paths: type: integer codespaces: type: array - items: &291 + items: &294 type: object title: Codespace description: A codespace. @@ -30213,7 +30753,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &485 + properties: &488 name: type: string description: The name of the machine. @@ -30255,7 +30795,7 @@ paths: - ready - in_progress nullable: true - required: &486 + required: &489 - name - display_name - operating_system @@ -30460,7 +31000,7 @@ paths: - pulls_url - recent_folders examples: - default: &292 + default: &295 value: total_count: 3 codespaces: @@ -31084,7 +31624,7 @@ paths: type: integer secrets: type: array - items: &237 + items: &241 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31123,7 +31663,7 @@ paths: - updated_at - visibility examples: - default: &487 + default: &490 value: total_count: 2 secrets: @@ -31161,7 +31701,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &491 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31190,7 +31730,7 @@ paths: - key_id - key examples: - default: &489 + default: &492 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31220,9 +31760,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &491 + default: &494 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31689,9 +32229,9 @@ paths: currently being billed. seats: type: array - items: *238 + items: *242 examples: - default: *239 + default: *243 headers: Link: *39 '500': *99 @@ -32293,7 +32833,7 @@ paths: type: integer custom_roles: type: array - items: *240 + items: *244 examples: default: value: @@ -32385,7 +32925,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &247 type: object properties: name: @@ -32426,9 +32966,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32453,7 +32993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *170 - - &242 + - &246 name: role_id description: The unique identifier of the role. in: path @@ -32465,9 +33005,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '404': *6 x-github: githubCloudOnly: true @@ -32490,12 +33030,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: application/json: - schema: &244 + schema: &248 type: object properties: name: @@ -32533,9 +33073,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32560,7 +33100,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -32593,7 +33133,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *247 examples: default: value: @@ -32607,9 +33147,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32640,15 +33180,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *170 - - *242 + - *246 responses: '200': description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '404': *6 x-github: githubCloudOnly: true @@ -32677,12 +33217,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: application/json: - schema: *244 + schema: *248 examples: default: value: @@ -32697,9 +33237,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32730,7 +33270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -32759,18 +33299,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *170 - - *245 - - *246 - - *247 - - *248 - *249 - *250 - *251 + - *252 + - *253 + - *254 + - *255 - *86 - *84 - *85 - - *252 - - *253 + - *256 + - *257 - *17 responses: '200': @@ -32779,9 +33319,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '304': *37 '400': *14 '403': *29 @@ -32825,7 +33365,7 @@ paths: type: integer secrets: type: array - items: &256 + items: &260 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32902,7 +33442,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &521 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32919,7 +33459,7 @@ paths: - key_id - key examples: - default: &519 + default: &522 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32949,7 +33489,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *260 examples: default: value: @@ -33246,7 +33786,7 @@ paths: application/json: schema: type: array - items: &303 + items: &306 title: Package description: A software package type: object @@ -33296,8 +33836,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *257 - required: *258 + properties: *261 + required: *262 nullable: true created_at: type: string @@ -33316,7 +33856,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &307 value: - id: 197 name: hello_docker @@ -33500,7 +34040,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33581,7 +34121,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &370 + default: &373 value: group_id: '123' group_name: Octocat admins @@ -33636,7 +34176,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &370 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33673,7 +34213,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &368 + default: &371 value: groups: - group_id: '123' @@ -33717,7 +34257,7 @@ paths: application/json: schema: type: array - items: &281 + items: &285 title: Organization Invitation description: Organization Invitation type: object @@ -33764,7 +34304,7 @@ paths: - invitation_teams_url - node_id examples: - default: &282 + default: &286 value: - id: 1 login: monalisa @@ -33831,7 +34371,7 @@ paths: application/json: schema: type: array - items: &325 + items: &328 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33845,7 +34385,7 @@ paths: - name - description examples: - default: &326 + default: &329 value: - name: add_assignee description: Assign or remove a user @@ -33886,7 +34426,7 @@ paths: application/json: schema: type: array - items: &259 + items: &263 title: Org Hook description: Org Hook type: object @@ -34055,9 +34595,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: - default: &260 + default: &264 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34102,7 +34642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *170 - - &261 + - &265 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -34115,9 +34655,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: - default: *260 + default: *264 '404': *6 x-github: githubCloudOnly: false @@ -34139,7 +34679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *170 - - *261 + - *265 requestBody: required: false content: @@ -34184,7 +34724,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: default: value: @@ -34224,7 +34764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *170 - - *261 + - *265 responses: '204': description: Response @@ -34250,7 +34790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *170 - - *261 + - *265 responses: '200': description: Response @@ -34279,7 +34819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *170 - - *261 + - *265 requestBody: required: false content: @@ -34328,9 +34868,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *17 - - *262 + - *266 responses: '200': description: Response @@ -34338,9 +34878,9 @@ paths: application/json: schema: type: array - items: *263 + items: *267 examples: - default: *264 + default: *268 '400': *14 '422': *15 x-github: @@ -34364,16 +34904,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *16 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '400': *14 '422': *15 x-github: @@ -34397,7 +34937,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *16 responses: '202': *95 @@ -34424,7 +34964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *170 - - *261 + - *265 responses: '204': description: Response @@ -34447,7 +34987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *170 - - &271 + - &275 name: actor_type in: path description: The type of the actor @@ -34460,14 +35000,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &272 + - &276 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &267 + - &271 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -34475,7 +35015,7 @@ paths: required: true schema: type: string - - &268 + - &272 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34569,12 +35109,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *170 - - *267 - - *268 + - *271 + - *272 - *19 - *17 - *86 - - &277 + - &281 name: sort description: The property to sort the results by. in: query @@ -34653,14 +35193,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *170 - - *267 - - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: &269 + schema: &273 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34676,7 +35216,7 @@ paths: type: integer format: int64 examples: - default: &270 + default: &274 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34697,23 +35237,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *170 - - &273 + - &277 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *267 - - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -34732,18 +35272,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *170 - - *267 - - *268 - *271 - *272 + - *275 + - *276 responses: '200': description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -34761,9 +35301,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *170 - - *267 - - *268 - - &274 + - *271 + - *272 + - &278 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34776,7 +35316,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &279 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34792,7 +35332,7 @@ paths: type: integer format: int64 examples: - default: &276 + default: &280 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34829,18 +35369,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *170 - - *273 - - *267 - - *268 - - *274 + - *277 + - *271 + - *272 + - *278 responses: '200': description: Response content: application/json: - schema: *275 + schema: *279 examples: - default: *276 + default: *280 x-github: enabledForGitHubApps: true category: orgs @@ -34858,19 +35398,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *170 + - *275 + - *276 - *271 - *272 - - *267 - - *268 - - *274 + - *278 responses: '200': description: Response content: application/json: - schema: *275 + schema: *279 examples: - default: *276 + default: *280 x-github: enabledForGitHubApps: true category: orgs @@ -34888,13 +35428,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *170 - - *273 - - *267 - - *268 + - *277 + - *271 + - *272 - *19 - *17 - *86 - - *277 + - *281 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34975,7 +35515,7 @@ paths: application/json: schema: *22 examples: - default: &557 + default: &560 value: id: 1 account: @@ -35141,12 +35681,12 @@ paths: application/json: schema: anyOf: - - &279 + - &283 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &278 + limit: &282 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35171,7 +35711,7 @@ paths: properties: {} additionalProperties: false examples: - default: &280 + default: &284 value: limit: collaborators_only origin: organization @@ -35200,13 +35740,13 @@ paths: required: true content: application/json: - schema: &558 + schema: &561 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *278 + limit: *282 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35230,9 +35770,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *280 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -35310,9 +35850,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 '404': *6 @@ -35390,7 +35930,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -35447,7 +35987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *170 - - &283 + - &287 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35481,7 +36021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *170 - - *283 + - *287 - *17 - *19 responses: @@ -35491,9 +36031,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: &302 + default: &305 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35536,7 +36076,7 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: default: value: @@ -35621,9 +36161,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: &286 + default: &289 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35656,7 +36196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *170 - - &287 + - &290 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35709,9 +36249,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *286 + default: *289 '404': *6 '422': *7 x-github: @@ -35736,7 +36276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *170 - - *287 + - *290 responses: '204': description: Response @@ -35799,7 +36339,7 @@ paths: - closed - all default: open - - *288 + - *291 - name: type description: Can be the name of an issue type. in: query @@ -35830,7 +36370,7 @@ paths: type: array items: *153 examples: - default: *289 + default: *292 headers: Link: *39 '404': *6 @@ -35888,7 +36428,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '422': *15 @@ -35984,9 +36524,9 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '304': *37 '500': *99 '401': *25 @@ -36013,7 +36553,7 @@ paths: parameters: - *170 - *218 - - &293 + - &296 name: codespace_name in: path required: true @@ -36048,15 +36588,15 @@ paths: parameters: - *170 - *218 - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: &484 + default: &487 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36236,7 +36776,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -36311,7 +36851,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &297 title: Org Membership description: Org Membership type: object @@ -36363,7 +36903,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &295 + response-if-user-has-an-active-admin-membership-with-organization: &298 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36460,9 +37000,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: - response-if-user-already-had-membership-with-organization: *295 + response-if-user-already-had-membership-with-organization: *298 '422': *15 '403': *29 x-github: @@ -36530,7 +37070,7 @@ paths: application/json: schema: type: array - items: &296 + items: &299 title: Migration description: A migration. type: object @@ -36859,7 +37399,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -37038,7 +37578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *170 - - &297 + - &300 name: migration_id description: The unique identifier of the migration. in: path @@ -37065,7 +37605,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -37235,7 +37775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *170 - - *297 + - *300 responses: '302': description: Response @@ -37257,7 +37797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *170 - - *297 + - *300 responses: '204': description: Response @@ -37281,8 +37821,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *170 - - *297 - - &732 + - *300 + - &735 name: repo_name description: repo_name parameter in: path @@ -37310,7 +37850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *170 - - *297 + - *300 - *17 - *19 responses: @@ -37322,7 +37862,7 @@ paths: type: array items: *196 examples: - default: &309 + default: &312 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37531,7 +38071,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &298 + items: &301 title: Organization Role description: Organization roles type: object @@ -37738,7 +38278,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -37790,7 +38330,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *170 - - &299 + - &302 name: team_slug description: The slug of the team name. in: path @@ -37822,8 +38362,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *170 - - *299 - - *242 + - *302 + - *246 responses: '204': description: Response @@ -37853,8 +38393,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *170 - - *299 - - *242 + - *302 + - *246 responses: '204': description: Response @@ -37907,7 +38447,7 @@ paths: parameters: - *170 - *218 - - *242 + - *246 responses: '204': description: Response @@ -37939,7 +38479,7 @@ paths: parameters: - *170 - *218 - - *242 + - *246 responses: '204': description: Response @@ -37968,13 +38508,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *170 - - *242 + - *246 responses: '200': description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -38032,7 +38572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: @@ -38071,7 +38611,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -38125,7 +38665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -38151,7 +38691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *170 - - *242 + - *246 - *17 - *19 responses: @@ -38229,8 +38769,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true required: - id @@ -38245,7 +38785,7 @@ paths: - slug - parent examples: - default: *302 + default: *305 headers: Link: *39 '404': @@ -38275,7 +38815,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *170 - - *242 + - *246 - *17 - *19 responses: @@ -38303,13 +38843,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &341 + items: &344 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 name: nullable: true type: string @@ -38404,7 +38944,7 @@ paths: - type - url examples: - default: *290 + default: *293 headers: Link: *39 '404': @@ -38452,7 +38992,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -38594,7 +39134,7 @@ paths: - nuget - container - *170 - - &734 + - &737 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38630,12 +39170,12 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *304 + default: *307 '403': *29 '401': *25 - '400': &736 + '400': &739 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38657,7 +39197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &305 + - &308 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38675,7 +39215,7 @@ paths: - docker - nuget - container - - &306 + - &309 name: package_name description: The name of the package. in: path @@ -38688,7 +39228,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -38740,8 +39280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 responses: '204': @@ -38774,8 +39314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - name: token description: package token @@ -38808,8 +39348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - *19 - *17 @@ -38830,7 +39370,7 @@ paths: application/json: schema: type: array - items: &307 + items: &310 title: Package Version description: A version of a software package type: object @@ -38955,10 +39495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - - &308 + - &311 name: package_version_id description: Unique identifier of the package version. in: path @@ -38970,7 +39510,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -39006,10 +39546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *305 - - *306 - - *170 - *308 + - *309 + - *170 + - *311 responses: '204': description: Response @@ -39041,10 +39581,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *305 - - *306 - - *170 - *308 + - *309 + - *170 + - *311 responses: '204': description: Response @@ -39074,7 +39614,7 @@ paths: - *170 - *17 - *19 - - &310 + - &313 name: sort description: The property by which to sort the results. in: query @@ -39085,7 +39625,7 @@ paths: - created_at default: created_at - *86 - - &311 + - &314 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39096,7 +39636,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &312 + - &315 name: repository description: The name of the repository to use to filter the results. in: query @@ -39104,7 +39644,7 @@ paths: schema: type: string example: Hello-World - - &313 + - &316 name: permission description: The permission to use to filter the results. in: query @@ -39112,7 +39652,7 @@ paths: schema: type: string example: issues_read - - &314 + - &317 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39122,7 +39662,7 @@ paths: schema: type: string format: date-time - - &315 + - &318 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39132,7 +39672,7 @@ paths: schema: type: string format: date-time - - &316 + - &319 name: token_id description: The ID of the token in: query @@ -39445,7 +39985,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -39471,14 +40011,14 @@ paths: - *170 - *17 - *19 - - *310 - - *86 - - *311 - - *312 - *313 + - *86 - *314 - *315 - *316 + - *317 + - *318 + - *319 responses: '500': *99 '422': *15 @@ -39760,7 +40300,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -39804,7 +40344,7 @@ paths: type: integer configurations: type: array - items: &317 + items: &320 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40010,7 +40550,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &318 + org-private-registry-with-selected-visibility: &321 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40110,9 +40650,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *317 + schema: *320 examples: - default: *318 + default: *321 '404': *6 x-github: githubCloudOnly: false @@ -40262,7 +40802,7 @@ paths: application/json: schema: type: array - items: &319 + items: &322 title: Project description: Projects are a way to organize columns and cards of work. @@ -40435,7 +40975,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: default: value: @@ -40473,7 +41013,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &385 + '410': &388 description: Gone content: application/json: @@ -40639,7 +41179,7 @@ paths: required: true content: application/json: - schema: *320 + schema: *323 examples: default: value: @@ -40742,7 +41282,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &321 + items: &324 title: Custom Property Value description: Custom property name and associated value type: object @@ -40829,7 +41369,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *321 + items: *324 required: - repository_names - properties @@ -40882,7 +41422,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -41022,7 +41562,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -41225,7 +41765,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &390 title: Full Repository description: Full Repository type: object @@ -41502,8 +42042,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *322 - required: *323 + properties: *325 + required: *326 nullable: true temp_clone_token: type: string @@ -41618,7 +42158,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &506 + properties: &509 url: type: string format: uri @@ -41634,12 +42174,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &507 + required: &510 - url - key - name - html_url - security_and_analysis: *324 + security_and_analysis: *327 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41723,7 +42263,7 @@ paths: - network_count - subscribers_count examples: - default: &389 + default: &392 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42249,9 +42789,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *326 + default: *329 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42276,7 +42816,7 @@ paths: - *170 - *17 - *19 - - &646 + - &649 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42367,7 +42907,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *327 + conditions: *330 rules: type: array description: An array of rules within the ruleset. @@ -42411,7 +42951,7 @@ paths: application/json: schema: *128 examples: - default: &328 + default: &331 value: id: 21 name: super cool ruleset @@ -42466,7 +43006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *170 - - &647 + - &650 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 @@ -42478,14 +43018,14 @@ paths: x-multi-segment: true - *225 - *221 - - &648 + - &651 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 - - &649 + - &652 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42505,7 +43045,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &653 title: Rule Suites description: Response type: array @@ -42560,7 +43100,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &651 + default: &654 value: - id: 21 actor_id: 12 @@ -42604,7 +43144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *170 - - &652 + - &655 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42620,7 +43160,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Rule Suite description: Response type: object @@ -42719,7 +43259,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &654 + default: &657 value: id: 21 actor_id: 12 @@ -42794,7 +43334,7 @@ paths: application/json: schema: *128 examples: - default: *328 + default: *331 '404': *6 '500': *99 put: @@ -42843,7 +43383,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *327 + conditions: *330 rules: description: An array of rules within the ruleset. type: array @@ -42884,7 +43424,7 @@ paths: application/json: schema: *128 examples: - default: *328 + default: *331 '404': *6 '500': *99 delete: @@ -42943,7 +43483,7 @@ paths: type: array items: *131 examples: - default: *329 + default: *332 '404': *6 '500': *99 x-github: @@ -42980,7 +43520,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -43043,14 +43583,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *170 - - *331 - - *332 - - *333 - *334 + - *335 + - *336 + - *337 - *86 - *19 - *17 - - &656 + - &659 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43060,7 +43600,7 @@ paths: required: false schema: type: string - - &657 + - &660 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43070,9 +43610,9 @@ paths: required: false schema: type: string - - *335 - - *336 - - *337 + - *338 + - *339 + - *340 responses: '200': description: Response @@ -43080,9 +43620,9 @@ paths: application/json: schema: type: array - items: *338 + items: *341 examples: - default: *339 + default: *342 headers: Link: *39 '404': *6 @@ -43152,7 +43692,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 description: A repository security advisory. type: object properties: @@ -43372,7 +43912,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 credits_detailed: type: array nullable: true @@ -43382,7 +43922,7 @@ paths: type: object properties: user: *4 - type: *340 + type: *343 state: type: string description: The state of the user's acceptance of the @@ -43406,7 +43946,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *284 + items: *227 private_fork: readOnly: true nullable: true @@ -43443,7 +43983,7 @@ paths: - private_fork additionalProperties: false examples: - default: &665 + default: &668 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43830,9 +44370,9 @@ paths: application/json: schema: type: array - items: *341 + items: *344 examples: - default: *302 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43856,7 +44396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -43882,7 +44422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -43917,9 +44457,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43944,7 +44484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *170 - - *344 + - *347 - *17 - *19 responses: @@ -43952,9 +44492,9 @@ paths: description: Success content: application/json: - schema: *345 + schema: *348 examples: - default: *346 + default: *349 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43982,9 +44522,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44012,9 +44552,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: - default: *350 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44054,7 +44594,7 @@ paths: type: array items: *111 examples: - default: *351 + default: *354 headers: Link: *39 x-github: @@ -44255,15 +44795,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *170 - - *352 + - *355 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *354 + default: *357 headers: Link: *39 x-github: @@ -44301,7 +44841,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &379 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44347,7 +44887,7 @@ paths: type: string nullable: true examples: - default: &377 + default: &380 value: groups: - group_id: '123' @@ -44393,7 +44933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *170 - - *299 + - *302 - 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`). @@ -44459,9 +44999,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 headers: Link: *39 '403': *29 @@ -44555,7 +45095,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &358 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44618,8 +45158,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true members_count: type: integer @@ -44865,7 +45405,7 @@ paths: - repos_count - organization examples: - default: &356 + default: &359 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44936,15 +45476,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -44966,7 +45506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *170 - - *299 + - *302 requestBody: required: false content: @@ -45028,16 +45568,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '201': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 '422': *15 '403': *29 @@ -45063,7 +45603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -45090,7 +45630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *170 - - *299 + - *302 - *86 - *17 - *19 @@ -45107,7 +45647,7 @@ paths: application/json: schema: type: array - items: &357 + items: &360 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45206,7 +45746,7 @@ paths: - updated_at - url examples: - default: &705 + default: &708 value: - author: login: octocat @@ -45281,7 +45821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *170 - - *299 + - *302 requestBody: required: true content: @@ -45315,9 +45855,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: &358 + default: &361 value: author: login: octocat @@ -45390,8 +45930,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *170 - - *299 - - &359 + - *302 + - &362 name: discussion_number description: The number that identifies the discussion. in: path @@ -45403,9 +45943,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45428,8 +45968,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: false content: @@ -45452,9 +45992,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: &706 + default: &709 value: author: login: octocat @@ -45525,8 +46065,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 responses: '204': description: Response @@ -45553,8 +46093,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *170 - - *299 - - *359 + - *302 + - *362 - *86 - *17 - *19 @@ -45565,7 +46105,7 @@ paths: application/json: schema: type: array - items: &360 + items: &363 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45637,7 +46177,7 @@ paths: - updated_at - url examples: - default: &707 + default: &710 value: - author: login: octocat @@ -45706,8 +46246,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: true content: @@ -45729,9 +46269,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: &361 + default: &364 value: author: login: octocat @@ -45798,9 +46338,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *170 - - *299 - - *359 - - &362 + - *302 + - *362 + - &365 name: comment_number description: The number that identifies the comment. in: path @@ -45812,9 +46352,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45837,9 +46377,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 requestBody: required: true content: @@ -45861,9 +46401,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: &708 + default: &711 value: author: login: octocat @@ -45928,9 +46468,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 responses: '204': description: Response @@ -45957,9 +46497,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45985,7 +46525,7 @@ paths: application/json: schema: type: array - items: &363 + items: &366 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46028,7 +46568,7 @@ paths: - content - created_at examples: - default: &365 + default: &368 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46079,9 +46619,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 requestBody: required: true content: @@ -46114,9 +46654,9 @@ paths: team discussion comment content: application/json: - schema: *363 + schema: *366 examples: - default: &364 + default: &367 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46145,9 +46685,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46171,10 +46711,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *170 - - *299 - - *359 + - *302 - *362 - - &366 + - *365 + - &369 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46207,8 +46747,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46234,9 +46774,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -46263,8 +46803,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: true content: @@ -46296,16 +46836,16 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46329,9 +46869,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *170 - - *299 - - *359 - - *366 + - *302 + - *362 + - *369 responses: '204': description: Response @@ -46355,15 +46895,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: - default: *368 + default: *371 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46383,7 +46923,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: - *170 - - *299 + - *302 requestBody: required: true content: @@ -46406,9 +46946,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - default: *370 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46428,7 +46968,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: - *170 - - *299 + - *302 responses: '204': description: Response @@ -46453,7 +46993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -46463,9 +47003,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 x-github: @@ -46488,7 +47028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *170 - - *299 + - *302 - name: role description: Filters members returned by their role in the team. in: query @@ -46511,7 +47051,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -46542,14 +47082,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 responses: '200': description: Response content: application/json: - schema: &371 + schema: &374 title: Team Membership description: Team Membership type: object @@ -46576,7 +47116,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &709 + response-if-user-is-a-team-maintainer: &712 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46613,7 +47153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 requestBody: required: false @@ -46639,9 +47179,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: &710 + response-if-users-membership-with-team-is-now-pending: &713 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46677,7 +47217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 responses: '204': @@ -46704,7 +47244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -46714,7 +47254,7 @@ paths: application/json: schema: type: array - items: &372 + items: &375 title: Team Project description: A team's access to a project. type: object @@ -46782,7 +47322,7 @@ paths: - updated_at - permissions examples: - default: &711 + default: &714 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46846,8 +47386,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *170 - - *299 - - &373 + - *302 + - &376 name: project_id description: The unique identifier of the project. in: path @@ -46859,9 +47399,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *375 examples: - default: &712 + default: &715 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46924,8 +47464,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *170 - - *299 - - *373 + - *302 + - *376 requestBody: required: false content: @@ -46992,8 +47532,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *170 - - *299 - - *373 + - *302 + - *376 responses: '204': description: Response @@ -47021,7 +47561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -47033,7 +47573,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -47063,15 +47603,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &713 + schema: &716 title: Team Repository description: A team's access to a repository. type: object @@ -47641,9 +48181,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 requestBody: required: false content: @@ -47689,9 +48229,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 responses: '204': description: Response @@ -47718,15 +48258,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47749,7 +48289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *170 - - *299 + - *302 requestBody: required: true content: @@ -47792,7 +48332,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *379 examples: default: value: @@ -47825,7 +48365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -47835,9 +48375,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - response-if-child-teams-exist: &714 + response-if-child-teams-exist: &717 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47964,7 +48504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &378 + - &381 name: card_id description: The unique identifier of the card. in: path @@ -47976,7 +48516,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &382 title: Project Card description: Project cards represent a scope of work. type: object @@ -48043,7 +48583,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &383 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48099,7 +48639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *378 + - *381 requestBody: required: false content: @@ -48126,9 +48666,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *380 + default: *383 '304': *37 '403': *29 '401': *25 @@ -48155,7 +48695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *378 + - *381 responses: '204': description: Response @@ -48199,7 +48739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *378 + - *381 requestBody: required: true content: @@ -48310,7 +48850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &381 + - &384 name: column_id description: The unique identifier of the column. in: path @@ -48322,7 +48862,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &385 title: Project Column description: Project columns contain cards of work. type: object @@ -48368,7 +48908,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &386 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48403,7 +48943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *381 + - *384 requestBody: required: true content: @@ -48427,9 +48967,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *385 examples: - default: *383 + default: *386 '304': *37 '403': *29 '401': *25 @@ -48454,7 +48994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *381 + - *384 responses: '204': description: Response @@ -48483,7 +49023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *381 + - *384 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -48504,7 +49044,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -48563,7 +49103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *381 + - *384 requestBody: required: true content: @@ -48603,9 +49143,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *380 + default: *383 '304': *37 '403': *29 '401': *25 @@ -48661,7 +49201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *381 + - *384 requestBody: required: true content: @@ -48721,15 +49261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *373 + - *376 responses: '200': description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: &384 + default: &387 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48786,7 +49326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *373 + - *376 requestBody: required: false content: @@ -48832,9 +49372,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: *384 + default: *387 '404': description: Not Found if the authenticated user does not have access to the project @@ -48855,7 +49395,7 @@ paths: items: type: string '401': *25 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -48878,7 +49418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *373 + - *376 responses: '204': description: Delete Success @@ -48899,7 +49439,7 @@ paths: items: type: string '401': *25 - '410': *385 + '410': *388 '404': *6 x-github: githubCloudOnly: false @@ -48923,7 +49463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *373 + - *376 - 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 @@ -48950,7 +49490,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -48980,7 +49520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *373 + - *376 - *218 requestBody: required: false @@ -49033,7 +49573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *373 + - *376 - *218 responses: '204': @@ -49065,7 +49605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *373 + - *376 - *218 responses: '200': @@ -49139,7 +49679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *373 + - *376 - *17 - *19 responses: @@ -49149,7 +49689,7 @@ paths: application/json: schema: type: array - items: *382 + items: *385 examples: default: value: @@ -49187,7 +49727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *373 + - *376 requestBody: required: true content: @@ -49210,7 +49750,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *385 examples: default: value: @@ -49274,7 +49814,7 @@ paths: resources: type: object properties: - core: &386 + core: &389 title: Rate Limit type: object properties: @@ -49291,20 +49831,20 @@ paths: - remaining - reset - used - graphql: *386 - search: *386 - code_search: *386 - source_import: *386 - integration_manifest: *386 - code_scanning_upload: *386 - actions_runner_registration: *386 - scim: *386 - dependency_snapshots: *386 - code_scanning_autofix: *386 + graphql: *389 + search: *389 + code_search: *389 + source_import: *389 + integration_manifest: *389 + code_scanning_upload: *389 + actions_runner_registration: *389 + scim: *389 + dependency_snapshots: *389 + code_scanning_autofix: *389 required: - core - search - rate: *386 + rate: *389 required: - rate - resources @@ -49408,14 +49948,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *387 + schema: *390 examples: default-response: summary: Default response @@ -49920,7 +50460,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *388 + '301': *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49938,8 +50478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -50193,10 +50733,10 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 - '307': &390 + default: *392 + '307': &393 description: Temporary Redirect content: application/json: @@ -50225,8 +50765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -50248,7 +50788,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *390 + '307': *393 '404': *6 x-github: githubCloudOnly: false @@ -50271,11 +50811,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - - &405 + - &408 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50298,7 +50838,7 @@ paths: type: integer artifacts: type: array - items: &391 + items: &394 title: Artifact description: An artifact type: object @@ -50376,7 +50916,7 @@ paths: - expires_at - updated_at examples: - default: &406 + default: &409 value: total_count: 2 artifacts: @@ -50437,9 +50977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *374 - - *375 - - &392 + - *377 + - *378 + - &395 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50451,7 +50991,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *394 examples: default: value: @@ -50489,9 +51029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *374 - - *375 - - *392 + - *377 + - *378 + - *395 responses: '204': description: Response @@ -50515,9 +51055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *374 - - *375 - - *392 + - *377 + - *378 + - *395 - name: archive_format in: path required: true @@ -50531,7 +51071,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': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50554,14 +51094,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -50587,11 +51127,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - - &394 + - &397 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 @@ -50625,7 +51165,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &398 title: Repository actions caches description: Repository actions caches type: object @@ -50667,7 +51207,7 @@ paths: - total_count - actions_caches examples: - default: &396 + default: &399 value: total_count: 1 actions_caches: @@ -50699,23 +51239,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *374 - - *375 + - *377 + - *378 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *394 + - *397 responses: '200': description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *396 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50735,8 +51275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *374 - - *375 + - *377 + - *378 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50767,9 +51307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *374 - - *375 - - &397 + - *377 + - *378 + - &400 name: job_id description: The unique identifier of the job. in: path @@ -50781,7 +51321,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &412 title: Job description: Information of a job execution in a workflow run type: object @@ -51088,9 +51628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *374 - - *375 - - *397 + - *377 + - *378 + - *400 responses: '302': description: Response @@ -51118,9 +51658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *374 - - *375 - - *397 + - *377 + - *378 + - *400 requestBody: required: false content: @@ -51165,8 +51705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Status response @@ -51216,8 +51756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -51280,8 +51820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -51299,7 +51839,7 @@ paths: type: integer secrets: type: array - items: &411 + items: &414 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51319,7 +51859,7 @@ paths: - created_at - updated_at examples: - default: &412 + default: &415 value: total_count: 2 secrets: @@ -51352,9 +51892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *374 - - *375 - - *398 + - *377 + - *378 + - *401 - *19 responses: '200': @@ -51371,7 +51911,7 @@ paths: type: integer variables: type: array - items: &415 + items: &418 title: Actions Variable type: object properties: @@ -51401,7 +51941,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &419 value: total_count: 2 variables: @@ -51434,8 +51974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51444,7 +51984,7 @@ paths: schema: type: object properties: - enabled: &399 + enabled: &402 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 @@ -51477,8 +52017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -51489,7 +52029,7 @@ paths: schema: type: object properties: - enabled: *399 + enabled: *402 allowed_actions: *48 required: - enabled @@ -51520,14 +52060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &400 + schema: &403 type: object properties: access_level: @@ -51545,7 +52085,7 @@ paths: required: - access_level examples: - default: &401 + default: &404 value: access_level: organization x-github: @@ -51570,15 +52110,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 responses: '204': description: Response @@ -51602,8 +52142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51634,8 +52174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -51667,8 +52207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51697,8 +52237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Success response @@ -51738,8 +52278,8 @@ paths: in: query schema: type: string - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -51783,8 +52323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51816,8 +52356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -51891,8 +52431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -51928,8 +52468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -51959,8 +52499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': @@ -51990,8 +52530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '204': @@ -52017,8 +52557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': *66 @@ -52043,8 +52583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 requestBody: required: true @@ -52093,8 +52633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 requestBody: required: true @@ -52144,8 +52684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': *203 @@ -52175,8 +52715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 - *204 responses: @@ -52206,9 +52746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *374 - - *375 - - &419 + - *377 + - *378 + - &422 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. @@ -52216,7 +52756,7 @@ paths: required: false schema: type: string - - &420 + - &423 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52224,7 +52764,7 @@ paths: required: false schema: type: string - - &421 + - &424 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52233,7 +52773,7 @@ paths: required: false schema: type: string - - &422 + - &425 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 @@ -52260,7 +52800,7 @@ paths: - pending - *17 - *19 - - &423 + - &426 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52269,7 +52809,7 @@ paths: schema: type: string format: date-time - - &402 + - &405 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52278,13 +52818,13 @@ paths: schema: type: boolean default: false - - &424 + - &427 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &425 + - &428 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52307,7 +52847,7 @@ paths: type: integer workflow_runs: type: array - items: &403 + items: &406 title: Workflow Run description: An invocation of a workflow type: object @@ -52402,7 +52942,7 @@ paths: that triggered the run. type: array nullable: true - items: &446 + items: &449 title: Pull Request Minimal type: object properties: @@ -52521,7 +53061,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &450 + properties: &453 id: type: string description: SHA for the commit @@ -52572,7 +53112,7 @@ paths: - name - email nullable: true - required: &451 + required: &454 - id - tree_id - message @@ -52619,7 +53159,7 @@ paths: - workflow_url - pull_requests examples: - default: &426 + default: &429 value: total_count: 1 workflow_runs: @@ -52855,24 +53395,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *374 - - *375 - - &404 + - *377 + - *378 + - &407 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *402 + - *405 responses: '200': description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: &407 + default: &410 value: id: 30433642 name: Build @@ -53113,9 +53653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '204': description: Response @@ -53138,9 +53678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -53259,9 +53799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '201': description: Response @@ -53294,12 +53834,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 - *17 - *19 - - *405 + - *408 responses: '200': description: Response @@ -53315,9 +53855,9 @@ paths: type: integer artifacts: type: array - items: *391 + items: *394 examples: - default: *406 + default: *409 headers: Link: *39 x-github: @@ -53341,25 +53881,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *374 - - *375 - - *404 - - &408 + - *377 + - *378 + - *407 + - &411 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *402 + - *405 responses: '200': description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: *407 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53382,10 +53922,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *374 - - *375 - - *404 - - *408 + - *377 + - *378 + - *407 + - *411 - *17 - *19 responses: @@ -53403,9 +53943,9 @@ paths: type: integer jobs: type: array - items: *409 + items: *412 examples: - default: &410 + default: &413 value: total_count: 1 jobs: @@ -53518,10 +54058,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *374 - - *375 - - *404 - - *408 + - *377 + - *378 + - *407 + - *411 responses: '302': description: Response @@ -53549,9 +54089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '202': description: Response @@ -53584,9 +54124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: true content: @@ -53653,9 +54193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '202': description: Response @@ -53688,9 +54228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 - 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 @@ -53720,9 +54260,9 @@ paths: type: integer jobs: type: array - items: *409 + items: *412 examples: - default: *410 + default: *413 headers: Link: *39 x-github: @@ -53747,9 +54287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '302': description: Response @@ -53776,9 +54316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '204': description: Response @@ -53805,9 +54345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -53867,7 +54407,7 @@ paths: items: type: object properties: - type: &527 + type: &530 type: string description: The type of reviewer. enum: @@ -53877,7 +54417,7 @@ paths: reviewer: anyOf: - *4 - - *284 + - *227 required: - environment - wait_timer @@ -53952,9 +54492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: true content: @@ -54001,7 +54541,7 @@ paths: application/json: schema: type: array - items: &522 + items: &525 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54107,7 +54647,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &526 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54163,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: false content: @@ -54209,9 +54749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: false content: @@ -54265,9 +54805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -54404,8 +54944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -54423,9 +54963,9 @@ paths: type: integer secrets: type: array - items: *411 + items: *414 examples: - default: *412 + default: *415 headers: Link: *39 x-github: @@ -54450,16 +54990,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54481,17 +55021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: &540 + default: &543 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54517,8 +55057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -54576,8 +55116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -54603,9 +55143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *374 - - *375 - - *398 + - *377 + - *378 + - *401 - *19 responses: '200': @@ -54622,9 +55162,9 @@ paths: type: integer variables: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *39 x-github: @@ -54647,8 +55187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -54700,17 +55240,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &541 + default: &544 value: name: USERNAME value: octocat @@ -54736,8 +55276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 requestBody: required: true @@ -54780,8 +55320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 responses: '204': @@ -54807,8 +55347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -54826,7 +55366,7 @@ paths: type: integer workflows: type: array - items: &417 + items: &420 title: Workflow description: A GitHub Actions workflow type: object @@ -54933,9 +55473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *374 - - *375 - - &418 + - *377 + - *378 + - &421 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54950,7 +55490,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *420 examples: default: value: @@ -54983,9 +55523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55010,9 +55550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55063,9 +55603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55092,19 +55632,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *374 - - *375 - - *418 - - *419 - - *420 + - *377 + - *378 - *421 - *422 - - *17 - - *19 - *423 - - *402 - *424 - *425 + - *17 + - *19 + - *426 + - *405 + - *427 + - *428 responses: '200': description: Response @@ -55120,9 +55660,9 @@ paths: type: integer workflow_runs: type: array - items: *403 + items: *406 examples: - default: *426 + default: *429 headers: Link: *39 x-github: @@ -55155,9 +55695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '200': description: Response @@ -55218,8 +55758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *374 - - *375 + - *377 + - *378 - *86 - *17 - *84 @@ -55383,8 +55923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -55396,7 +55936,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -55421,8 +55961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *374 - - *375 + - *377 + - *378 - name: assignee in: path required: true @@ -55458,8 +55998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -55571,8 +56111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *84 - *85 @@ -55626,7 +56166,7 @@ paths: bundle_url: type: string examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55646,8 +56186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -55655,7 +56195,7 @@ paths: application/json: schema: type: array - items: &428 + items: &431 title: Autolink reference description: An autolink reference. type: object @@ -55705,8 +56245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -55745,9 +56285,9 @@ paths: description: response content: application/json: - schema: *428 + schema: *431 examples: - default: &429 + default: &432 value: id: 1 key_prefix: TICKET- @@ -55778,9 +56318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *374 - - *375 - - &430 + - *377 + - *378 + - &433 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55792,9 +56332,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: - default: *429 + default: *432 '404': *6 x-github: githubCloudOnly: false @@ -55814,9 +56354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *374 - - *375 - - *430 + - *377 + - *378 + - *433 responses: '204': description: Response @@ -55840,8 +56380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response if Dependabot is enabled @@ -55889,8 +56429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -55911,8 +56451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -55932,8 +56472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *374 - - *375 + - *377 + - *378 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55971,7 +56511,7 @@ paths: - url protected: type: boolean - protection: &432 + protection: &435 title: Branch Protection description: Branch Protection type: object @@ -56013,7 +56553,7 @@ paths: required: - contexts - checks - enforce_admins: &435 + enforce_admins: &438 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56028,7 +56568,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &437 + required_pull_request_reviews: &440 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56049,7 +56589,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *284 + items: *227 apps: description: The list of apps with review dismissal access. @@ -56078,7 +56618,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *284 + items: *227 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56104,7 +56644,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &434 + restrictions: &437 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56411,9 +56951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *374 - - *375 - - &433 + - *377 + - *378 + - &436 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -56427,14 +56967,14 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &495 + commit: &498 title: Commit description: Commit type: object @@ -56468,7 +57008,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &431 + properties: &434 name: type: string example: '"Chris Wanstrath"' @@ -56483,7 +57023,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true message: type: string @@ -56504,7 +57044,7 @@ paths: required: - sha - url - verification: &547 + verification: &550 title: Verification type: object properties: @@ -56574,7 +57114,7 @@ paths: type: integer files: type: array - items: &510 + items: &513 title: Diff Entry description: Diff Entry type: object @@ -56657,7 +57197,7 @@ paths: - self protected: type: boolean - protection: *432 + protection: *435 protection_url: type: string format: uri @@ -56764,7 +57304,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *388 + '301': *391 '404': *6 x-github: githubCloudOnly: false @@ -56786,15 +57326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *432 + schema: *435 examples: default: value: @@ -56988,9 +57528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -57245,7 +57785,7 @@ paths: url: type: string format: uri - required_status_checks: &440 + required_status_checks: &443 title: Status Check Policy description: Status Check Policy type: object @@ -57321,7 +57861,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 apps: type: array items: *5 @@ -57339,7 +57879,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 apps: type: array items: *5 @@ -57397,7 +57937,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *434 + restrictions: *437 required_conversation_resolution: type: object properties: @@ -57509,9 +58049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57536,17 +58076,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: &436 + default: &439 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57568,17 +58108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57597,9 +58137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57624,17 +58164,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: &438 + default: &441 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57730,9 +58270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -57830,9 +58370,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -57853,9 +58393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57882,17 +58422,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: &439 + default: &442 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57915,17 +58455,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *439 + default: *442 '404': *6 x-github: githubCloudOnly: false @@ -57945,9 +58485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57972,17 +58512,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: &441 + default: &444 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58008,9 +58548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58062,9 +58602,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 '404': *6 '422': *15 x-github: @@ -58086,9 +58626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -58112,9 +58652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58148,9 +58688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58217,9 +58757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58283,9 +58823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: content: application/json: @@ -58351,15 +58891,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -58450,9 +58990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -58475,9 +59015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58487,7 +59027,7 @@ paths: type: array items: *5 examples: - default: &442 + default: &445 value: - id: 1 slug: octoapp @@ -58544,9 +59084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58580,7 +59120,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58601,9 +59141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58637,7 +59177,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58658,9 +59198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58694,7 +59234,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58716,9 +59256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58726,9 +59266,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -58748,9 +59288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58786,9 +59326,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58809,9 +59349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58847,9 +59387,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58870,9 +59410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: content: application/json: @@ -58907,9 +59447,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58931,9 +59471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58943,7 +59483,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -58967,9 +59507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59002,7 +59542,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59027,9 +59567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59062,7 +59602,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59087,9 +59627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59122,7 +59662,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59149,9 +59689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59173,7 +59713,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: default: value: @@ -59287,8 +59827,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *374 - - *375 + - *377 + - *378 - *219 - *220 - *221 @@ -59324,8 +59864,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59398,8 +59938,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - *219 - *220 - *221 @@ -59413,9 +59953,9 @@ paths: application/json: schema: type: array - items: *444 + items: *447 examples: - default: *445 + default: *448 '404': *6 '403': *29 '500': *99 @@ -59439,8 +59979,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59452,7 +59992,7 @@ paths: description: A single bypass request. content: application/json: - schema: *444 + schema: *447 examples: default: value: @@ -59510,8 +60050,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59582,8 +60122,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_response_id in: path required: true @@ -59616,8 +60156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -59896,7 +60436,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &450 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60015,8 +60555,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *446 - deployment: &765 + items: *449 + deployment: &768 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60296,9 +60836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *374 - - *375 - - &448 + - *377 + - *378 + - &451 name: check_run_id description: The unique identifier of the check run. in: path @@ -60310,9 +60850,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *450 examples: - default: &449 + default: &452 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60412,9 +60952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 requestBody: required: true content: @@ -60654,9 +61194,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *450 examples: - default: *449 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60676,9 +61216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 - *17 - *19 responses: @@ -60775,9 +61315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 responses: '201': description: Response @@ -60821,8 +61361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -60844,7 +61384,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &452 + schema: &455 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60908,7 +61448,7 @@ paths: nullable: true pull_requests: type: array - items: *446 + items: *449 nullable: true app: title: GitHub app @@ -60930,12 +61470,12 @@ paths: type: string format: date-time nullable: true - head_commit: &791 + head_commit: &794 title: Simple Commit description: A commit. type: object - properties: *450 - required: *451 + properties: *453 + required: *454 latest_check_runs_count: type: integer check_runs_url: @@ -60963,7 +61503,7 @@ paths: - check_runs_url - pull_requests examples: - default: &453 + default: &456 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61254,9 +61794,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61275,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -61585,9 +62125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *374 - - *375 - - &454 + - *377 + - *378 + - &457 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61599,9 +62139,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61624,17 +62164,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *374 - - *375 - - *454 - - &503 + - *377 + - *378 + - *457 + - &506 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &504 + - &507 name: status description: Returns check runs with the specified `status`. in: query @@ -61673,9 +62213,9 @@ paths: type: integer check_runs: type: array - items: *447 + items: *450 examples: - default: &505 + default: &508 value: total_count: 1 check_runs: @@ -61777,9 +62317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *374 - - *375 - - *454 + - *377 + - *378 + - *457 responses: '201': description: Response @@ -61812,21 +62352,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *374 - - *375 - - *227 - - *228 + - *377 + - *378 + - *231 + - *232 - *19 - *17 - - &470 + - &473 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: *455 - - &471 + schema: *458 + - &474 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61851,13 +62391,13 @@ paths: be returned. in: query required: false - schema: *229 + schema: *233 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *456 + schema: *459 responses: '200': description: Response @@ -61873,7 +62413,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *457 + instances_url: *460 state: *89 fixed_at: *110 dismissed_by: @@ -61884,11 +62424,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *458 - dismissed_comment: *459 - rule: *460 - tool: *461 - most_recent_instance: *462 + dismissed_reason: *461 + dismissed_comment: *462 + rule: *463 + tool: *464 + most_recent_instance: *465 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62011,7 +62551,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &463 + '403': &466 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62038,9 +62578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *374 - - *375 - - &464 + - *377 + - *378 + - &467 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62054,7 +62594,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &468 type: object properties: number: *100 @@ -62062,7 +62602,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *457 + instances_url: *460 state: *89 fixed_at: *110 dismissed_by: @@ -62073,8 +62613,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *458 - dismissed_comment: *459 + dismissed_reason: *461 + dismissed_comment: *462 rule: type: object properties: @@ -62128,8 +62668,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *461 - most_recent_instance: *462 + tool: *464 + most_recent_instance: *465 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62225,7 +62765,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62245,9 +62785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: true content: @@ -62262,8 +62802,8 @@ paths: enum: - open - dismissed - dismissed_reason: *458 - dismissed_comment: *459 + dismissed_reason: *461 + dismissed_comment: *462 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62282,7 +62822,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: default: value: @@ -62358,7 +62898,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &469 + '403': &472 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62385,15 +62925,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: Response content: application/json: - schema: &466 + schema: &469 type: object properties: status: @@ -62419,13 +62959,13 @@ paths: - description - started_at examples: - default: &467 + default: &470 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &468 + '400': &471 description: Bad Request content: application/json: @@ -62436,7 +62976,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62461,29 +63001,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: OK content: application/json: - schema: *466 + schema: *469 examples: - default: *467 + default: *470 '202': description: Accepted content: application/json: - schema: *466 + schema: *469 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *468 + '400': *471 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62515,9 +63055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: false content: @@ -62562,8 +63102,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *468 - '403': *469 + '400': *471 + '403': *472 '404': *6 '422': description: Unprocessable Entity @@ -62587,13 +63127,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 - *19 - *17 - - *470 - - *471 + - *473 + - *474 responses: '200': description: Response @@ -62601,7 +63141,7 @@ paths: application/json: schema: type: array - items: *462 + items: *465 examples: default: value: @@ -62640,7 +63180,7 @@ paths: end_column: 50 classifications: - source - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62674,25 +63214,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *374 - - *375 - - *227 - - *228 + - *377 + - *378 + - *231 + - *232 - *19 - *17 - - *471 + - *474 - 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: *455 + schema: *458 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &474 + schema: &477 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -62713,23 +63253,23 @@ paths: application/json: schema: type: array - items: &475 + items: &478 type: object properties: - ref: *455 - commit_sha: &483 + ref: *458 + commit_sha: &486 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: *472 + analysis_key: *475 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *473 + category: *476 error: type: string example: error reading field xyz @@ -62753,8 +63293,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *474 - tool: *461 + sarif_id: *477 + tool: *464 deletable: type: boolean warning: @@ -62815,7 +63355,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62851,8 +63391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62865,7 +63405,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *478 examples: response: summary: application/json response @@ -62919,7 +63459,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63001,8 +63541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63055,7 +63595,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *469 + '403': *472 '404': *6 '503': *132 x-github: @@ -63077,8 +63617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -63086,7 +63626,7 @@ paths: application/json: schema: type: array - items: &476 + items: &479 title: CodeQL Database description: A CodeQL database. type: object @@ -63197,7 +63737,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63226,8 +63766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: language in: path description: The language of the CodeQL database. @@ -63239,7 +63779,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: default: value: @@ -63271,9 +63811,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &512 + '302': &515 description: Found - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63295,8 +63835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *374 - - *375 + - *377 + - *378 - name: language in: path description: The language of the CodeQL database. @@ -63306,7 +63846,7 @@ paths: responses: '204': description: Response - '403': *469 + '403': *472 '404': *6 '503': *132 x-github: @@ -63334,8 +63874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -63344,7 +63884,7 @@ paths: type: object additionalProperties: false properties: - language: &477 + language: &480 type: string description: The language targeted by the CodeQL query enum: @@ -63423,7 +63963,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &481 + schema: &484 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63433,7 +63973,7 @@ paths: description: The ID of the variant analysis. controller_repo: *96 actor: *4 - query_language: *477 + query_language: *480 query_pack_url: type: string description: The download url for the query pack. @@ -63480,7 +64020,7 @@ paths: items: type: object properties: - repository: &478 + repository: &481 title: Repository Identifier description: Repository Identifier type: object @@ -63516,7 +64056,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &482 + analysis_status: &485 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63548,7 +64088,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &479 + access_mismatch_repos: &482 type: object properties: repository_count: @@ -63562,7 +64102,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: *478 + items: *481 required: - repository_count - repositories @@ -63584,8 +64124,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *479 - over_limit_repos: *479 + no_codeql_db_repos: *482 + over_limit_repos: *482 required: - access_mismatch_repos - not_found_repos @@ -63601,7 +64141,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &480 + value: &483 summary: Default response value: id: 1 @@ -63753,10 +64293,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *480 + value: *483 repository_lists: summary: Response for a successful variant analysis submission - value: *480 + value: *483 '404': *6 '422': description: Unable to process variant analysis submission @@ -63784,8 +64324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *374 - - *375 + - *377 + - *378 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63797,9 +64337,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: *480 + default: *483 '404': *6 '503': *132 x-github: @@ -63822,7 +64362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *374 + - *377 - name: repo in: path description: The name of the controller repository. @@ -63857,7 +64397,7 @@ paths: type: object properties: repository: *96 - analysis_status: *482 + analysis_status: *485 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63982,8 +64522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64057,7 +64597,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -64078,8 +64618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64161,7 +64701,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *469 + '403': *472 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64226,8 +64766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64235,7 +64775,7 @@ paths: schema: type: object properties: - commit_sha: *483 + commit_sha: *486 ref: type: string description: |- @@ -64293,7 +64833,7 @@ paths: schema: type: object properties: - id: *474 + id: *477 url: type: string description: The REST API URL for checking the status of the upload. @@ -64307,7 +64847,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *469 + '403': *472 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64330,8 +64870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *374 - - *375 + - *377 + - *378 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64377,7 +64917,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *463 + '403': *466 '404': description: Not Found if the sarif id does not match any upload '503': *132 @@ -64402,8 +64942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64484,8 +65024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -64605,8 +65145,8 @@ paths: parameters: - *17 - *19 - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64622,7 +65162,7 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: default: value: @@ -64920,8 +65460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64984,17 +65524,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '400': *14 '401': *25 '403': *29 @@ -65023,8 +65563,8 @@ paths: parameters: - *17 - *19 - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -65088,8 +65628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65124,14 +65664,14 @@ paths: type: integer machines: type: array - items: &721 + items: &724 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *485 - required: *486 + properties: *488 + required: *489 examples: - default: &722 + default: &725 value: total_count: 2 machines: @@ -65171,8 +65711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *374 - - *375 + - *377 + - *378 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65256,8 +65796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -65323,8 +65863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -65342,7 +65882,7 @@ paths: type: integer secrets: type: array - items: &490 + items: &493 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65362,7 +65902,7 @@ paths: - created_at - updated_at examples: - default: *487 + default: *490 headers: Link: *39 x-github: @@ -65385,16 +65925,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *488 + schema: *491 examples: - default: *489 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65414,17 +65954,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *490 + schema: *493 examples: - default: *491 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65444,8 +65984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -65498,8 +66038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -65528,8 +66068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *374 - - *375 + - *377 + - *378 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65571,7 +66111,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &492 + properties: &495 login: type: string example: octocat @@ -65664,7 +66204,7 @@ paths: user_view_type: type: string example: public - required: &493 + required: &496 - avatar_url - events_url - followers_url @@ -65738,8 +66278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '204': @@ -65782,8 +66322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 requestBody: required: false @@ -65810,7 +66350,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &560 + schema: &563 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66032,8 +66572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '204': @@ -66063,8 +66603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '200': @@ -66085,8 +66625,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *492 - required: *493 + properties: *495 + required: *496 nullable: true required: - permission @@ -66141,8 +66681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -66152,7 +66692,7 @@ paths: application/json: schema: type: array - items: &494 + items: &497 title: Commit Comment description: Commit Comment type: object @@ -66210,7 +66750,7 @@ paths: - created_at - updated_at examples: - default: &497 + default: &500 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66269,17 +66809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *494 + schema: *497 examples: - default: &498 + default: &501 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66336,8 +66876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -66360,7 +66900,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: default: value: @@ -66411,8 +66951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -66434,8 +66974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -66462,9 +67002,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -66485,8 +67025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -66519,16 +67059,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -66550,10 +67090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -66602,8 +67142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *374 - - *375 + - *377 + - *378 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66659,9 +67199,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: &611 + default: &614 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66755,9 +67295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *374 - - *375 - - &496 + - *377 + - *378 + - &499 name: commit_sha description: The SHA of the commit. in: path @@ -66829,9 +67369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 - *17 - *19 responses: @@ -66841,9 +67381,9 @@ paths: application/json: schema: type: array - items: *494 + items: *497 examples: - default: *497 + default: *500 headers: Link: *39 x-github: @@ -66871,9 +67411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 requestBody: required: true content: @@ -66908,9 +67448,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: - default: *498 + default: *501 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66938,9 +67478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 - *17 - *19 responses: @@ -66950,7 +67490,7 @@ paths: application/json: schema: type: array - items: &602 + items: &605 title: Pull Request Simple description: Pull Request Simple type: object @@ -67056,8 +67596,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true active_lock_reason: type: string @@ -67102,7 +67642,7 @@ paths: nullable: true requested_teams: type: array - items: *284 + items: *227 nullable: true head: type: object @@ -67153,7 +67693,7 @@ paths: _links: type: object properties: - comments: &501 + comments: &504 title: Link description: Hypermedia Link type: object @@ -67162,13 +67702,13 @@ paths: type: string required: - href - commits: *501 - statuses: *501 - html: *501 - issue: *501 - review_comments: *501 - review_comment: *501 - self: *501 + commits: *504 + statuses: *504 + html: *504 + issue: *504 + review_comments: *504 + review_comment: *504 + self: *504 required: - comments - commits @@ -67179,7 +67719,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: &604 + auto_merge: &607 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67242,7 +67782,7 @@ paths: - author_association - auto_merge examples: - default: &603 + default: &606 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67779,11 +68319,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 - - &502 + - &505 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)" @@ -67798,9 +68338,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &589 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67913,11 +68453,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *374 - - *375 - - *502 - - *503 - - *504 + - *377 + - *378 + - *505 + - *506 + - *507 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67951,9 +68491,9 @@ paths: type: integer check_runs: type: array - items: *447 + items: *450 examples: - default: *505 + default: *508 headers: Link: *39 x-github: @@ -67978,9 +68518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67988,7 +68528,7 @@ paths: schema: type: integer example: 1 - - *503 + - *506 - *17 - *19 responses: @@ -68006,7 +68546,7 @@ paths: type: integer check_suites: type: array - items: *452 + items: *455 examples: default: value: @@ -68206,9 +68746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - *17 - *19 responses: @@ -68406,9 +68946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - *17 - *19 responses: @@ -68418,7 +68958,7 @@ paths: application/json: schema: type: array - items: &669 + items: &672 title: Status description: The status of a commit. type: object @@ -68499,7 +69039,7 @@ paths: site_admin: false headers: Link: *39 - '301': *388 + '301': *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68527,8 +69067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -68557,20 +69097,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *506 - required: *507 + properties: *509 + required: *510 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &508 + properties: &511 url: type: string format: uri html_url: type: string format: uri - required: &509 + required: &512 - url - html_url nullable: true @@ -68584,26 +69124,26 @@ paths: contributing: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true readme: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true issue_template: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true pull_request_template: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true required: - code_of_conduct @@ -68730,8 +69270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 - name: basehead @@ -68774,8 +69314,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *495 - merge_base_commit: *495 + base_commit: *498 + merge_base_commit: *498 status: type: string enum: @@ -68795,10 +69335,10 @@ paths: example: 6 commits: type: array - items: *495 + items: *498 files: type: array - items: *510 + items: *513 required: - url - html_url @@ -69084,8 +69624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -69228,7 +69768,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &511 + response-if-content-is-a-file: &514 summary: Response if content is a file value: type: file @@ -69360,7 +69900,7 @@ paths: - size - type - url - - &616 + - &619 title: Content File description: Content File type: object @@ -69561,7 +70101,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *511 + response-if-content-is-a-file: *514 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69630,7 +70170,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *512 + '302': *515 '304': *37 x-github: githubCloudOnly: false @@ -69653,8 +70193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -69747,7 +70287,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &516 title: File Commit description: File Commit type: object @@ -69899,7 +70439,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: example-for-creating-a-file: value: @@ -69953,7 +70493,7 @@ paths: schema: oneOf: - *3 - - &542 + - &545 description: Repository rule violation was detected type: object properties: @@ -69974,7 +70514,7 @@ paths: items: type: object properties: - placeholder_id: &661 + placeholder_id: &664 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70006,8 +70546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -70068,7 +70608,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: default: value: @@ -70123,8 +70663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *374 - - *375 + - *377 + - *378 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70247,21 +70787,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *374 - - *375 - - *245 - - *246 - - *247 - - *248 + - *377 + - *378 + - *249 + - *250 + - *251 + - *252 - 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 - - *249 - - *250 - - *251 + - *253 + - *254 + - *255 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -70281,8 +70821,8 @@ paths: default: 30 - *84 - *85 - - *252 - - *253 + - *256 + - *257 responses: '200': description: Response @@ -70290,7 +70830,7 @@ paths: application/json: schema: type: array - items: &516 + items: &519 type: object description: A Dependabot alert. properties: @@ -70336,7 +70876,7 @@ paths: - unknown - direct - transitive - security_advisory: *514 + security_advisory: *517 security_vulnerability: *104 url: *105 html_url: *106 @@ -70367,7 +70907,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *515 + auto_dismissed_at: *518 required: - number - state @@ -70597,9 +71137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *374 - - *375 - - &517 + - *377 + - *378 + - &520 name: alert_number in: path description: |- @@ -70614,7 +71154,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70727,9 +71267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *374 - - *375 - - *517 + - *377 + - *378 + - *520 requestBody: required: true content: @@ -70774,7 +71314,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70903,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -70922,7 +71462,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &523 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70975,16 +71515,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *518 + schema: *521 examples: - default: *519 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71004,15 +71544,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: default: value: @@ -71038,8 +71578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -71092,8 +71632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -71116,8 +71656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -71277,8 +71817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -71517,8 +72057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -71593,7 +72133,7 @@ paths: - version - url additionalProperties: false - metadata: &521 + metadata: &524 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71626,7 +72166,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *521 + metadata: *524 resolved: type: object description: A collection of resolved package dependencies. @@ -71639,7 +72179,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *521 + metadata: *524 relationship: type: string description: A notation of whether a dependency is requested @@ -71768,8 +72308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *374 - - *375 + - *377 + - *378 - name: sha description: The SHA recorded at creation time. in: query @@ -71809,9 +72349,9 @@ paths: application/json: schema: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *39 x-github: @@ -71877,8 +72417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -71959,7 +72499,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: simple-example: summary: Simple example @@ -72032,9 +72572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *374 - - *375 - - &524 + - *377 + - *378 + - &527 name: deployment_id description: deployment_id parameter in: path @@ -72046,7 +72586,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: default: value: @@ -72111,9 +72651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 responses: '204': description: Response @@ -72135,9 +72675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 - *17 - *19 responses: @@ -72147,7 +72687,7 @@ paths: application/json: schema: type: array - items: &525 + items: &528 title: Deployment Status description: The status of a deployment. type: object @@ -72308,9 +72848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 requestBody: required: true content: @@ -72385,9 +72925,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: - default: &526 + default: &529 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72443,9 +72983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 - name: status_id in: path required: true @@ -72456,9 +72996,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: - default: *526 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -72483,8 +73023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -72541,8 +73081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -72559,7 +73099,7 @@ paths: type: integer environments: type: array - items: &528 + items: &531 title: Environment description: Details of a deployment environment type: object @@ -72611,7 +73151,7 @@ paths: type: type: string example: wait_timer - wait_timer: &530 + wait_timer: &533 type: integer example: 30 description: The amount of time to delay a job after @@ -72648,11 +73188,11 @@ paths: items: type: object properties: - type: *527 + type: *530 reviewer: anyOf: - *4 - - *284 + - *227 required: - id - node_id @@ -72672,7 +73212,7 @@ paths: - id - node_id - type - deployment_branch_policy: &531 + deployment_branch_policy: &534 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -72788,9 +73328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *374 - - *375 - - &529 + - *377 + - *378 + - &532 name: environment_name in: path required: true @@ -72803,9 +73343,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: &532 + default: &535 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72889,9 +73429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: false content: @@ -72900,7 +73440,7 @@ paths: type: object nullable: true properties: - wait_timer: *530 + wait_timer: *533 prevent_self_review: type: boolean example: false @@ -72917,13 +73457,13 @@ paths: items: type: object properties: - type: *527 + type: *530 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *531 + deployment_branch_policy: *534 additionalProperties: false examples: default: @@ -72943,9 +73483,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: *532 + default: *535 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72969,9 +73509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 responses: '204': description: Default response @@ -72996,9 +73536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *17 - *19 responses: @@ -73016,7 +73556,7 @@ paths: example: 2 branch_policies: type: array - items: &533 + items: &536 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73073,9 +73613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: true content: @@ -73121,9 +73661,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - example-wildcard: &534 + example-wildcard: &537 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73165,10 +73705,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - &535 + - *377 + - *378 + - *532 + - &538 name: branch_policy_id in: path required: true @@ -73180,9 +73720,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73201,10 +73741,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - *535 + - *377 + - *378 + - *532 + - *538 requestBody: required: true content: @@ -73232,9 +73772,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73253,10 +73793,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - *535 + - *377 + - *378 + - *532 + - *538 responses: '204': description: Response @@ -73281,9 +73821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 responses: '200': description: List of deployment protection rules @@ -73299,7 +73839,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &536 + items: &539 title: Deployment protection rule description: Deployment protection rule type: object @@ -73318,7 +73858,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &537 + app: &540 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73417,9 +73957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 requestBody: content: application/json: @@ -73440,9 +73980,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *536 + schema: *539 examples: - default: &538 + default: &541 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73477,9 +74017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 - *19 - *17 responses: @@ -73498,7 +74038,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *537 + items: *540 examples: default: value: @@ -73533,10 +74073,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *374 - - *375 - - *529 - - &539 + - *377 + - *378 + - *532 + - &542 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73548,9 +74088,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *538 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73571,10 +74111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *529 - - *375 - - *374 - - *539 + - *532 + - *378 + - *377 + - *542 responses: '204': description: Response @@ -73600,9 +74140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *17 - *19 responses: @@ -73620,9 +74160,9 @@ paths: type: integer secrets: type: array - items: *411 + items: *414 examples: - default: *412 + default: *415 headers: Link: *39 x-github: @@ -73647,17 +74187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73679,18 +74219,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *540 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73712,9 +74252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 requestBody: required: true @@ -73772,9 +74312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 responses: '204': @@ -73800,10 +74340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *374 - - *375 - - *529 - - *398 + - *377 + - *378 + - *532 + - *401 - *19 responses: '200': @@ -73820,9 +74360,9 @@ paths: type: integer variables: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *39 x-github: @@ -73845,9 +74385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: true content: @@ -73899,18 +74439,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *209 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73931,10 +74471,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 - - *529 + - *532 requestBody: required: true content: @@ -73976,10 +74516,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 - - *529 + - *532 responses: '204': description: Response @@ -74001,8 +74541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -74079,8 +74619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *374 - - *375 + - *377 + - *378 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74239,8 +74779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -74272,9 +74812,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 '400': *14 '422': *15 '403': *29 @@ -74295,8 +74835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -74356,7 +74896,7 @@ paths: schema: oneOf: - *179 - - *542 + - *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74381,8 +74921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *374 - - *375 + - *377 + - *378 - name: file_sha in: path required: true @@ -74481,8 +75021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -74591,7 +75131,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &546 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74805,15 +75345,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -74869,9 +75409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *374 - - *375 - - &544 + - *377 + - *378 + - &547 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. @@ -74888,7 +75428,7 @@ paths: application/json: schema: type: array - items: &545 + items: &548 title: Git Reference description: Git references within a repository type: object @@ -74963,17 +75503,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 responses: '200': description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: &546 + default: &549 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75002,8 +75542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75032,9 +75572,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75060,9 +75600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 requestBody: required: true content: @@ -75091,9 +75631,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '422': *15 '409': *94 x-github: @@ -75111,9 +75651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 responses: '204': description: Response @@ -75166,8 +75706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75234,7 +75774,7 @@ paths: description: Response content: application/json: - schema: &548 + schema: &551 title: Git Tag description: Metadata for a Git tag type: object @@ -75285,7 +75825,7 @@ paths: - sha - type - url - verification: *547 + verification: *550 required: - sha - url @@ -75295,7 +75835,7 @@ paths: - tag - message examples: - default: &549 + default: &552 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75368,8 +75908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *374 - - *375 + - *377 + - *378 - name: tag_sha in: path required: true @@ -75380,9 +75920,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 '404': *6 '409': *94 x-github: @@ -75406,8 +75946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75480,7 +76020,7 @@ paths: description: Response content: application/json: - schema: &550 + schema: &553 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75497,6 +76037,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -75523,29 +76068,8 @@ paths: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated examples: @@ -75592,8 +76116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *374 - - *375 + - *377 + - *378 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75616,7 +76140,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *553 examples: default-response: summary: Default response @@ -75675,8 +76199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -75686,7 +76210,7 @@ paths: application/json: schema: type: array - items: &551 + items: &554 title: Webhook description: Webhooks for repositories. type: object @@ -75740,7 +76264,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &799 + last_response: &802 title: Hook Response type: object properties: @@ -75814,8 +76338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -75867,9 +76391,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: &552 + default: &555 value: type: Repository id: 12345678 @@ -75917,17 +76441,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '200': description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '404': *6 x-github: githubCloudOnly: false @@ -75947,9 +76471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 requestBody: required: true content: @@ -75994,9 +76518,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '422': *15 '404': *6 x-github: @@ -76017,9 +76541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76043,9 +76567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '200': description: Response @@ -76072,9 +76596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 requestBody: required: false content: @@ -76118,11 +76642,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *17 - - *262 + - *266 responses: '200': description: Response @@ -76130,9 +76654,9 @@ paths: application/json: schema: type: array - items: *263 + items: *267 examples: - default: *264 + default: *268 '400': *14 '422': *15 x-github: @@ -76151,18 +76675,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *16 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '400': *14 '422': *15 x-github: @@ -76181,9 +76705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *16 responses: '202': *95 @@ -76206,9 +76730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76233,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76293,14 +76817,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &553 + schema: &556 title: Import description: A repository import from an external source. type: object @@ -76399,7 +76923,7 @@ paths: - html_url - authors_url examples: - default: &556 + default: &559 value: vcs: subversion use_lfs: true @@ -76415,7 +76939,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': &554 + '503': &557 description: Unavailable due to service under maintenance. content: application/json: @@ -76444,8 +76968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -76493,7 +77017,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -76518,7 +77042,7 @@ paths: type: string '422': *15 '404': *6 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76546,8 +77070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -76596,7 +77120,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: example-1: summary: Example 1 @@ -76644,7 +77168,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': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76667,12 +77191,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76698,9 +77222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *374 - - *375 - - &745 + - *377 + - *378 + - &748 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76714,7 +77238,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Porter Author description: Porter Author type: object @@ -76768,7 +77292,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': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76793,8 +77317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *374 - - *375 + - *377 + - *378 - name: author_id in: path required: true @@ -76824,7 +77348,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: default: value: @@ -76837,7 +77361,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76861,8 +77385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -76903,7 +77427,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76931,8 +77455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -76959,11 +77483,11 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: *556 + default: *559 '422': *15 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76986,8 +77510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -76995,8 +77519,8 @@ paths: application/json: schema: *22 examples: - default: *557 - '301': *388 + default: *560 + '301': *391 '404': *6 x-github: githubCloudOnly: false @@ -77016,8 +77540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -77025,12 +77549,12 @@ paths: application/json: schema: anyOf: - - *279 + - *283 - type: object properties: {} additionalProperties: false examples: - default: &559 + default: &562 value: limit: collaborators_only origin: repository @@ -77055,13 +77579,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: application/json: - schema: *558 + schema: *561 examples: default: summary: Example request body @@ -77073,9 +77597,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *559 + default: *562 '409': description: Response x-github: @@ -77097,8 +77621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -77121,8 +77645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -77132,9 +77656,9 @@ paths: application/json: schema: type: array - items: *560 + items: *563 examples: - default: &738 + default: &741 value: - id: 1 repository: @@ -77265,9 +77789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *374 - - *375 - - *283 + - *377 + - *378 + - *287 requestBody: required: false content: @@ -77296,7 +77820,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -77427,9 +77951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *374 - - *375 - - *283 + - *377 + - *378 + - *287 responses: '204': description: Response @@ -77460,8 +77984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -77509,7 +78033,7 @@ paths: required: false schema: type: string - - *288 + - *291 - name: sort description: What to sort results by. in: query @@ -77534,7 +78058,7 @@ paths: type: array items: *153 examples: - default: &571 + default: &574 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77682,7 +78206,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *388 + '301': *391 '422': *15 '404': *6 x-github: @@ -77711,8 +78235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -77796,7 +78320,7 @@ paths: application/json: schema: *153 examples: - default: &566 + default: &569 value: id: 1 node_id: MDU6SXNzdWUx @@ -77952,7 +78476,7 @@ paths: '422': *15 '503': *132 '404': *6 - '410': *385 + '410': *388 x-github: triggersNotification: true githubCloudOnly: false @@ -77980,8 +78504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *163 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78002,9 +78526,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: &568 + default: &571 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78062,17 +78586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: &562 + default: &565 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78126,8 +78650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -78150,9 +78674,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: *562 + default: *565 '422': *15 x-github: githubCloudOnly: false @@ -78170,8 +78694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -78192,8 +78716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78220,9 +78744,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -78243,8 +78767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -78277,16 +78801,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -78308,10 +78832,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -78331,8 +78855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -78342,7 +78866,7 @@ paths: application/json: schema: type: array - items: &565 + items: &568 title: Issue Event description: Issue Event type: object @@ -78385,8 +78909,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *563 - required: *564 + properties: *566 + required: *567 nullable: true label: title: Issue Event Label @@ -78430,7 +78954,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *284 + requested_team: *227 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78693,8 +79217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *374 - - *375 + - *377 + - *378 - name: event_id in: path required: true @@ -78705,7 +79229,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: default: value: @@ -78898,7 +79422,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *385 + '410': *388 '403': *29 x-github: githubCloudOnly: false @@ -78932,9 +79456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *374 - - *375 - - &567 + - *377 + - *378 + - &570 name: issue_number description: The number that identifies the issue. in: path @@ -78948,10 +79472,10 @@ paths: application/json: schema: *153 examples: - default: *566 - '301': *388 + default: *569 + '301': *391 '404': *6 - '410': *385 + '410': *388 '304': *37 x-github: githubCloudOnly: false @@ -78976,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -79083,13 +79607,13 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 '422': *15 '503': *132 '403': *29 - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79107,9 +79631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -79137,7 +79661,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79153,9 +79677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: content: application/json: @@ -79182,7 +79706,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79204,9 +79728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - name: assignee in: path required: true @@ -79246,9 +79770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *143 - *17 - *19 @@ -79259,13 +79783,13 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: *568 + default: *571 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79294,9 +79818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -79318,16 +79842,16 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: *562 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *385 + '410': *388 '422': *15 '404': *6 x-github: @@ -79347,9 +79871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -79363,7 +79887,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &572 + - &575 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79417,7 +79941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &576 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79553,7 +80077,7 @@ paths: - performed_via_github_app - assignee - assigner - - &574 + - &577 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79604,7 +80128,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &578 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79655,7 +80179,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &579 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79709,7 +80233,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &580 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79743,7 +80267,7 @@ paths: properties: *138 required: *139 review_requester: *4 - requested_team: *284 + requested_team: *227 requested_reviewer: *4 required: - review_requester @@ -79756,7 +80280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &581 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79790,7 +80314,7 @@ paths: properties: *138 required: *139 review_requester: *4 - requested_team: *284 + requested_team: *227 requested_reviewer: *4 required: - review_requester @@ -79803,7 +80327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &582 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79863,7 +80387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &583 title: Locked Issue Event description: Locked Issue Event type: object @@ -79911,7 +80435,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &584 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79977,7 +80501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &585 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80043,7 +80567,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &586 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80109,7 +80633,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &587 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80200,7 +80724,7 @@ paths: color: red headers: Link: *39 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80217,9 +80741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -80229,7 +80753,7 @@ paths: application/json: schema: type: array - items: &569 + items: &572 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80276,7 +80800,7 @@ paths: - color - default examples: - default: &570 + default: &573 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80294,9 +80818,9 @@ paths: default: false headers: Link: *39 - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80313,9 +80837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80374,12 +80898,12 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 - '301': *388 + default: *573 + '301': *391 '404': *6 - '410': *385 + '410': *388 '422': *15 x-github: githubCloudOnly: false @@ -80396,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80458,12 +80982,12 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 - '301': *388 + default: *573 + '301': *391 '404': *6 - '410': *385 + '410': *388 '422': *15 x-github: githubCloudOnly: false @@ -80480,15 +81004,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 responses: '204': description: Response - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80507,9 +81031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - name: name in: path required: true @@ -80522,7 +81046,7 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: default: value: @@ -80533,9 +81057,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80555,9 +81079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80585,7 +81109,7 @@ paths: '204': description: Response '403': *29 - '410': *385 + '410': *388 '404': *6 '422': *15 x-github: @@ -80603,9 +81127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 responses: '204': description: Response @@ -80627,9 +81151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - 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. @@ -80655,13 +81179,13 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80679,9 +81203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80713,16 +81237,16 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -80744,10 +81268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *374 - - *375 - - *567 - - *366 + - *377 + - *378 + - *570 + - *369 responses: '204': description: Response @@ -80776,9 +81300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80802,7 +81326,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80835,9 +81359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -80849,11 +81373,11 @@ paths: type: array items: *153 examples: - default: *571 + default: *574 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80881,9 +81405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80912,14 +81436,14 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *385 + '410': *388 '422': *15 '404': *6 x-github: @@ -80939,9 +81463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80974,7 +81498,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 '403': *29 '404': *6 '422': *7 @@ -80996,9 +81520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -81013,9 +81537,6 @@ paths: description: Timeline Event type: object anyOf: - - *572 - - *573 - - *574 - *575 - *576 - *577 @@ -81026,6 +81547,9 @@ paths: - *582 - *583 - *584 + - *585 + - *586 + - *587 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81330,7 +81854,7 @@ paths: type: string comments: type: array - items: &605 + items: &608 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81539,7 +82063,7 @@ paths: type: string comments: type: array - items: *494 + items: *497 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81828,7 +82352,7 @@ paths: headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81845,8 +82369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -81856,7 +82380,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81921,8 +82445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -81958,9 +82482,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: id: 1 key: ssh-rsa AAA... @@ -81994,9 +82518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *374 - - *375 - - &587 + - *377 + - *378 + - &590 name: key_id description: The unique identifier of the key. in: path @@ -82008,9 +82532,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -82028,9 +82552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *374 - - *375 - - *587 + - *377 + - *378 + - *590 responses: '204': description: Response @@ -82050,8 +82574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -82061,9 +82585,9 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 + default: *573 headers: Link: *39 '404': *6 @@ -82084,8 +82608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82121,9 +82645,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: - default: &588 + default: &591 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82155,8 +82679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82167,9 +82691,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: - default: *588 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -82186,8 +82710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82226,7 +82750,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: default: value: @@ -82252,8 +82776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82279,8 +82803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -82316,8 +82840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '202': *95 '403': @@ -82345,8 +82869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -82372,9 +82896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *374 - - *375 - - *470 + - *377 + - *378 + - *473 responses: '200': description: Response @@ -82519,8 +83043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82585,8 +83109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82620,9 +83144,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *495 + schema: *498 examples: - default: *589 + default: *592 '204': description: Response when already merged '404': @@ -82647,8 +83171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82689,12 +83213,12 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 examples: default: value: @@ -82750,8 +83274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82791,9 +83315,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &591 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82852,9 +83376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *374 - - *375 - - &592 + - *377 + - *378 + - &595 name: milestone_number description: The number that identifies the milestone. in: path @@ -82866,9 +83390,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -82885,9 +83409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 requestBody: required: false content: @@ -82925,9 +83449,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82943,9 +83467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 responses: '204': description: Response @@ -82966,9 +83490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 - *17 - *19 responses: @@ -82978,9 +83502,9 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 + default: *573 headers: Link: *39 x-github: @@ -82999,12 +83523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *374 - - *375 - - *593 - - *594 + - *377 + - *378 + - *596 + - *597 - *143 - - *595 + - *598 - *17 - *19 responses: @@ -83016,7 +83540,7 @@ paths: type: array items: *166 examples: - default: *596 + default: *599 headers: Link: *39 x-github: @@ -83040,8 +83564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -83099,14 +83623,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &597 + schema: &600 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83231,7 +83755,7 @@ paths: - custom_404 - public examples: - default: &598 + default: &601 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83272,8 +83796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83327,9 +83851,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '422': *15 '409': *94 x-github: @@ -83352,8 +83876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83460,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -83487,8 +84011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -83498,7 +84022,7 @@ paths: application/json: schema: type: array - items: &599 + items: &602 title: Page Build description: Page Build type: object @@ -83592,8 +84116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -83638,16 +84162,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: &600 + default: &603 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83695,8 +84219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *374 - - *375 + - *377 + - *378 - name: build_id in: path required: true @@ -83707,9 +84231,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *600 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83729,8 +84253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83835,9 +84359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *374 - - *375 - - &601 + - *377 + - *378 + - &604 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83895,9 +84419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *374 - - *375 - - *601 + - *377 + - *378 + - *604 responses: '204': *118 '404': *6 @@ -83924,8 +84448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -84183,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Private vulnerability reporting status @@ -84221,8 +84745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': *118 '422': *14 @@ -84243,8 +84767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': *118 '422': *14 @@ -84267,8 +84791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: Indicates the state of the projects to return. in: query @@ -84289,7 +84813,7 @@ paths: application/json: schema: type: array - items: *319 + items: *322 examples: default: value: @@ -84329,7 +84853,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -84352,8 +84876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84379,13 +84903,13 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: *384 + default: *387 '401': *25 '403': *29 '404': *6 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -84408,8 +84932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -84417,7 +84941,7 @@ paths: application/json: schema: type: array - items: *321 + items: *324 examples: default: value: @@ -84448,8 +84972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84461,7 +84985,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *321 + items: *324 required: - properties examples: @@ -84511,8 +85035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84572,9 +85096,9 @@ paths: application/json: schema: type: array - items: *602 + items: *605 examples: - default: *603 + default: *606 headers: Link: *39 '304': *37 @@ -84606,8 +85130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84672,7 +85196,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &610 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84783,8 +85307,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true active_lock_reason: type: string @@ -84829,7 +85353,7 @@ paths: nullable: true requested_teams: type: array - items: *341 + items: *344 nullable: true head: type: object @@ -84868,14 +85392,14 @@ paths: _links: type: object properties: - comments: *501 - commits: *501 - statuses: *501 - html: *501 - issue: *501 - review_comments: *501 - review_comment: *501 - self: *501 + comments: *504 + commits: *504 + statuses: *504 + html: *504 + issue: *504 + review_comments: *504 + review_comment: *504 + self: *504 required: - comments - commits @@ -84886,7 +85410,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: *604 + auto_merge: *607 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84978,7 +85502,7 @@ paths: - merged_by - review_comments examples: - default: &608 + default: &611 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85505,8 +86029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: sort in: query required: false @@ -85535,9 +86059,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: &610 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85614,17 +86138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: &606 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85699,8 +86223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -85723,9 +86247,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: *606 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85741,8 +86265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -85764,8 +86288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -85792,9 +86316,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -85815,8 +86339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -85849,16 +86373,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -85880,10 +86404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -85926,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *374 - - *375 - - &609 + - *377 + - *378 + - &612 name: pull_number description: The number that identifies the pull request. in: path @@ -85941,9 +86465,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '304': *37 '404': *6 '406': @@ -85978,9 +86502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86022,9 +86546,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '422': *15 '403': *29 x-github: @@ -86046,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -86108,17 +86632,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -86148,9 +86672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86171,9 +86695,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *610 + default: *613 headers: Link: *39 x-github: @@ -86206,9 +86730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -86313,7 +86837,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: example-for-a-multi-line-comment: value: @@ -86401,9 +86925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *152 requestBody: required: true @@ -86426,7 +86950,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -86512,9 +87036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -86524,9 +87048,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: *611 + default: *614 headers: Link: *39 x-github: @@ -86556,9 +87080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -86568,7 +87092,7 @@ paths: application/json: schema: type: array - items: *510 + items: *513 examples: default: value: @@ -86606,9 +87130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 responses: '204': description: Response if pull request has been merged @@ -86631,9 +87155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86744,9 +87268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 responses: '200': description: Response @@ -86762,7 +87286,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 required: - users - teams @@ -86821,9 +87345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86860,7 +87384,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: default: value: @@ -87396,9 +87920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -87432,7 +87956,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: default: value: @@ -87937,9 +88461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -87949,7 +88473,7 @@ paths: application/json: schema: type: array - items: &612 + items: &615 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88100,9 +88624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -88188,9 +88712,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: &614 + default: &617 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88253,10 +88777,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - &613 + - *377 + - *378 + - *612 + - &616 name: review_id description: The unique identifier of the review. in: path @@ -88268,9 +88792,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: &615 + default: &618 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88329,10 +88853,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88355,7 +88879,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: default: value: @@ -88417,18 +88941,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 responses: '200': description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: *614 + default: *617 '422': *7 '404': *6 x-github: @@ -88455,10 +88979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 - *17 - *19 responses: @@ -88541,9 +89065,9 @@ paths: _links: type: object properties: - self: *501 - html: *501 - pull_request: *501 + self: *504 + html: *504 + pull_request: *504 required: - self - html @@ -88686,10 +89210,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88717,7 +89241,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: default: value: @@ -88780,10 +89304,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88818,9 +89342,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: *615 + default: *618 '404': *6 '422': *7 '403': *29 @@ -88842,9 +89366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -88907,8 +89431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *374 - - *375 + - *377 + - *378 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88921,9 +89445,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: &617 + default: &620 value: type: file encoding: base64 @@ -88965,8 +89489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *374 - - *375 + - *377 + - *378 - name: dir description: The alternate path to look for a README file in: path @@ -88986,9 +89510,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 '404': *6 '422': *15 x-github: @@ -89010,8 +89534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -89021,7 +89545,7 @@ paths: application/json: schema: type: array - items: &618 + items: &621 title: Release description: A release. type: object @@ -89084,7 +89608,7 @@ paths: author: *4 assets: type: array - items: &619 + items: &622 title: Release Asset description: Data related to a release. type: object @@ -89265,8 +89789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -89342,9 +89866,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: &622 + default: &625 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89447,9 +89971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *374 - - *375 - - &620 + - *377 + - *378 + - &623 name: asset_id description: The unique identifier of the asset. in: path @@ -89461,9 +89985,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: &621 + default: &624 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 @@ -89497,7 +90021,7 @@ paths: type: User site_admin: false '404': *6 - '302': *512 + '302': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89513,9 +90037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *374 - - *375 - - *620 + - *377 + - *378 + - *623 requestBody: required: false content: @@ -89543,9 +90067,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: *621 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89561,9 +90085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *374 - - *375 - - *620 + - *377 + - *378 + - *623 responses: '204': description: Response @@ -89587,8 +90111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -89673,16 +90197,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89699,8 +90223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *374 - - *375 + - *377 + - *378 - name: tag description: tag parameter in: path @@ -89713,9 +90237,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -89737,9 +90261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *374 - - *375 - - &623 + - *377 + - *378 + - &626 name: release_id description: The unique identifier of the release. in: path @@ -89753,9 +90277,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '401': description: Unauthorized x-github: @@ -89773,9 +90297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 requestBody: required: false content: @@ -89839,9 +90363,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '404': description: Not Found if the discussion category name is invalid content: @@ -89862,9 +90386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 responses: '204': description: Response @@ -89884,9 +90408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - *17 - *19 responses: @@ -89896,7 +90420,7 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: default: value: @@ -89977,9 +90501,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: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - name: name in: query required: true @@ -90005,7 +90529,7 @@ paths: description: Response for successful upload content: application/json: - schema: *619 + schema: *622 examples: response-for-successful-upload: value: @@ -90059,9 +90583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90085,9 +90609,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -90108,9 +90632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 requestBody: required: true content: @@ -90140,16 +90664,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -90171,10 +90695,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *374 - - *375 - - *623 - - *366 + - *377 + - *378 + - *626 + - *369 responses: '204': description: Response @@ -90198,9 +90722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 - *17 - *19 responses: @@ -90216,8 +90740,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *624 - - &626 + - *627 + - &629 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90236,66 +90760,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *625 - - *626 - - allOf: - - *627 - - *626 - allOf: - *628 - - *626 - - allOf: - *629 - - *626 - allOf: - *630 - - *626 + - *629 - allOf: - *631 - - *626 + - *629 - allOf: - *632 - - *626 + - *629 - allOf: - *633 - - *626 + - *629 - allOf: - *634 - - *626 + - *629 - allOf: - *635 - - *626 + - *629 - allOf: - *636 - - *626 + - *629 - allOf: - *637 - - *626 + - *629 - allOf: - *638 - - *626 + - *629 - allOf: - *639 - - *626 + - *629 - allOf: - *640 - - *626 + - *629 - allOf: - *641 - - *626 + - *629 - allOf: - *642 - - *626 + - *629 - allOf: - *643 - - *626 + - *629 - allOf: - *644 - - *626 + - *629 - allOf: - *645 - - *626 + - *629 + - allOf: + - *646 + - *629 + - allOf: + - *647 + - *629 + - allOf: + - *648 + - *629 examples: default: value: @@ -90334,8 +90858,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - name: includes_parents @@ -90346,7 +90870,7 @@ paths: schema: type: boolean default: true - - *646 + - *649 responses: '200': description: Response @@ -90401,8 +90925,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 requestBody: description: Request body required: true @@ -90464,7 +90988,7 @@ paths: application/json: schema: *128 examples: - default: &655 + default: &658 value: id: 42 name: super cool ruleset @@ -90511,12 +91035,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *374 - - *375 - - *647 + - *377 + - *378 + - *650 - *221 - - *648 - - *649 + - *651 + - *652 - *17 - *19 responses: @@ -90524,9 +91048,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 '404': *6 '500': *99 x-github: @@ -90547,17 +91071,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *374 - - *375 - - *652 + - *377 + - *378 + - *655 responses: '200': description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '500': *99 x-github: @@ -90585,8 +91109,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90608,7 +91132,7 @@ paths: application/json: schema: *128 examples: - default: *655 + default: *658 '404': *6 '500': *99 put: @@ -90626,8 +91150,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90691,7 +91215,7 @@ paths: application/json: schema: *128 examples: - default: *655 + default: *658 '404': *6 '500': *99 delete: @@ -90709,8 +91233,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90733,8 +91257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - name: ruleset_id @@ -90752,7 +91276,7 @@ paths: type: array items: *131 examples: - default: *329 + default: *332 '404': *6 '500': *99 x-github: @@ -90771,8 +91295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90790,7 +91314,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -90845,20 +91369,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *374 - - *375 - - *331 - - *332 - - *333 + - *377 + - *378 - *334 - - *86 - - *19 - - *17 - - *656 - - *657 - *335 - *336 - *337 + - *86 + - *19 + - *17 + - *659 + - *660 + - *338 + - *339 + - *340 responses: '200': description: Response @@ -90866,7 +91390,7 @@ paths: application/json: schema: type: array - items: &660 + items: &663 type: object properties: number: *100 @@ -90885,8 +91409,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *658 - resolution: *659 + state: *661 + resolution: *662 resolved_at: type: string format: date-time @@ -91104,15 +91628,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: Response content: application/json: - schema: *660 + schema: *663 examples: default: value: @@ -91164,9 +91688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: true content: @@ -91174,8 +91698,8 @@ paths: schema: type: object properties: - state: *658 - resolution: *659 + state: *661 + resolution: *662 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91193,7 +91717,7 @@ paths: description: Response content: application/json: - schema: *660 + schema: *663 examples: default: value: @@ -91268,9 +91792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 - *19 - *17 responses: @@ -91281,7 +91805,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &820 + items: &823 type: object properties: type: @@ -91640,8 +92164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -91649,14 +92173,14 @@ paths: schema: type: object properties: - reason: &662 + reason: &665 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *661 + placeholder_id: *664 required: - reason - placeholder_id @@ -91673,7 +92197,7 @@ paths: schema: type: object properties: - reason: *662 + reason: *665 expire_at: type: string format: date-time @@ -91716,8 +92240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91732,7 +92256,7 @@ paths: properties: incremental_scans: type: array - items: &663 + items: &666 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91758,15 +92282,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *663 + items: *666 backfill_scans: type: array - items: *663 + items: *666 custom_pattern_backfill_scans: type: array items: allOf: - - *663 + - *666 - type: object properties: pattern_name: @@ -91836,8 +92360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *374 - - *375 + - *377 + - *378 - *86 - name: sort description: The property to sort the results by. @@ -91881,9 +92405,9 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *665 + default: *668 '400': *14 '404': *6 x-github: @@ -91906,8 +92430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -91980,7 +92504,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 required: - login - type @@ -92067,9 +92591,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &667 + default: &670 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92302,8 +92826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -92407,7 +92931,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: default: value: @@ -92554,17 +93078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '200': description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *667 + default: *670 '403': *29 '404': *6 x-github: @@ -92588,9 +93112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 requestBody: required: true content: @@ -92663,7 +93187,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 required: - login - type @@ -92749,10 +93273,10 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *667 - add_credit: *667 + default: *670 + add_credit: *670 '403': *29 '404': *6 '422': @@ -92790,9 +93314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '202': *95 '400': *14 @@ -92819,17 +93343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '202': description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 '400': *14 '422': *15 '403': *29 @@ -92855,8 +93379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -92955,8 +93479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92965,7 +93489,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92998,8 +93522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93075,8 +93599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93172,8 +93696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93327,8 +93851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93338,7 +93862,7 @@ paths: application/json: schema: type: array - items: *668 + items: *671 examples: default: value: @@ -93371,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *374 - - *375 + - *377 + - *378 - name: sha in: path required: true @@ -93426,7 +93950,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: default: value: @@ -93480,8 +94004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93493,7 +94017,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -93513,14 +94037,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &670 + schema: &673 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93588,8 +94112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -93615,7 +94139,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -93642,8 +94166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -93663,8 +94187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93743,8 +94267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93752,7 +94276,7 @@ paths: application/json: schema: type: array - items: &671 + items: &674 title: Tag protection description: Tag protection type: object @@ -93804,8 +94328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -93828,7 +94352,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *674 examples: default: value: @@ -93859,8 +94383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93897,8 +94421,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *374 - - *375 + - *377 + - *378 - name: ref in: path required: true @@ -93934,8 +94458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93945,9 +94469,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 headers: Link: *39 '404': *6 @@ -93967,8 +94491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 responses: @@ -93976,7 +94500,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &675 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93988,7 +94512,7 @@ paths: required: - names examples: - default: &673 + default: &676 value: names: - octocat @@ -94011,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -94043,9 +94567,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - default: *673 + default: *676 '404': *6 '422': *7 x-github: @@ -94066,9 +94590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *374 - - *375 - - &674 + - *377 + - *378 + - &677 name: per description: The time frame to display results for. in: query @@ -94097,7 +94621,7 @@ paths: example: 128 clones: type: array - items: &675 + items: &678 title: Traffic type: object properties: @@ -94184,8 +94708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -94275,8 +94799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -94336,9 +94860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *374 - - *375 - - *674 + - *377 + - *378 + - *677 responses: '200': description: Response @@ -94357,7 +94881,7 @@ paths: example: 3782 views: type: array - items: *675 + items: *678 required: - uniques - count @@ -94434,8 +94958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -94709,8 +95233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94733,8 +95257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -94756,8 +95280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -94783,8 +95307,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *374 - - *375 + - *377 + - *378 - name: ref in: path required: true @@ -94876,9 +95400,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95029,7 +95553,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &683 + - &686 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95038,7 +95562,7 @@ paths: schema: type: string example: members - - &688 + - &691 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95049,7 +95573,7 @@ paths: default: 1 format: int32 example: 1 - - &689 + - &692 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95091,7 +95615,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &677 + items: &680 allOf: - type: object required: @@ -95166,7 +95690,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &690 + meta: &693 type: object description: The metadata associated with the creation/updates to the user. @@ -95226,31 +95750,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &678 + '400': &681 description: Bad request content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '401': &679 + schema: *679 + '401': &682 description: Authorization failure - '403': &680 + '403': &683 description: Permission denied - '429': &681 + '429': &684 description: Too many requests content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '500': &682 + schema: *679 + '500': &685 description: Internal server error content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 + schema: *679 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95274,7 +95798,7 @@ paths: required: true content: application/json: - schema: &686 + schema: &689 type: object required: - schemas @@ -95330,9 +95854,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *677 + schema: *680 examples: - group: &684 + group: &687 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95351,13 +95875,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *678 - '401': *679 - '403': *680 - '409': &687 + '400': *681 + '401': *682 + '403': *683 + '409': &690 description: Duplicate record detected - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95374,7 +95898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &685 + - &688 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95382,22 +95906,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *683 + - *686 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *677 + schema: *680 examples: - default: *684 - '400': *678 - '401': *679 - '403': *680 + default: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95416,13 +95940,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *685 + - *688 - *40 requestBody: required: true content: application/json: - schema: *686 + schema: *689 examples: group: summary: Group @@ -95448,17 +95972,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *677 + schema: *680 examples: - group: *684 - groupWithMembers: *684 - '400': *678 - '401': *679 - '403': *680 + group: *687 + groupWithMembers: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95482,13 +96006,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *685 + - *688 - *40 requestBody: required: true content: application/json: - schema: &697 + schema: &700 type: object required: - Operations @@ -95548,17 +96072,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *677 + schema: *680 examples: - updateGroup: *684 - addMembers: *684 - '400': *678 - '401': *679 - '403': *680 + updateGroup: *687 + addMembers: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95574,17 +96098,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *685 + - *688 - *40 responses: '204': description: Group was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95618,8 +96142,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *688 - - *689 + - *691 + - *692 - *40 responses: '200': @@ -95652,7 +96176,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &692 + items: &695 allOf: - type: object required: @@ -95731,7 +96255,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &691 + roles: &694 type: array description: The roles assigned to the user. items: @@ -95787,7 +96311,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *690 + meta: *693 startIndex: type: integer description: A starting index for the returned page @@ -95824,11 +96348,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *678 - '401': *679 - '403': *680 - '429': *681 - '500': *682 + '400': *681 + '401': *682 + '403': *683 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95852,7 +96376,7 @@ paths: required: true content: application/json: - schema: &695 + schema: &698 type: object required: - schemas @@ -95934,9 +96458,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *691 + roles: *694 examples: - user: &696 + user: &699 summary: User value: schemas: @@ -95983,9 +96507,9 @@ paths: description: User has been created content: application/scim+json: - schema: *692 + schema: *695 examples: - user: &693 + user: &696 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96011,13 +96535,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *693 - '400': *678 - '401': *679 - '403': *680 - '409': *687 - '429': *681 - '500': *682 + enterpriseOwner: *696 + '400': *681 + '401': *682 + '403': *683 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96034,7 +96558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &694 + - &697 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96047,15 +96571,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *692 + schema: *695 examples: - default: *693 - '400': *678 - '401': *679 - '403': *680 + default: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96077,30 +96601,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *694 + - *697 - *40 requestBody: required: true content: application/json: - schema: *695 + schema: *698 examples: - user: *696 + user: *699 responses: '200': description: User was updated content: application/scim+json: - schema: *692 + schema: *695 examples: - user: *693 - '400': *678 - '401': *679 - '403': *680 + user: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96135,13 +96659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *694 + - *697 - *40 requestBody: required: true content: application/json: - schema: *697 + schema: *700 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96181,18 +96705,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *692 - examples: - userMultiValuedProperties: *693 - userSingleValuedProperties: *693 - disableUser: *693 - '400': *678 - '401': *679 - '403': *680 + schema: *695 + examples: + userMultiValuedProperties: *696 + userSingleValuedProperties: *696 + disableUser: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96212,17 +96736,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *694 + - *697 - *40 responses: '204': description: User was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96309,7 +96833,7 @@ paths: example: 1 Resources: type: array - items: &698 + items: &701 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -96540,22 +97064,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &699 + '404': &702 description: Resource not found content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '403': &700 + schema: *679 + '403': &703 description: Forbidden content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '400': *678 - '429': *681 + schema: *679 + '400': *681 + '429': *684 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -96581,9 +97105,9 @@ paths: description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: &701 + default: &704 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96606,17 +97130,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *699 - '403': *700 - '500': *682 + '404': *702 + '403': *703 + '500': *685 '409': description: Conflict content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '400': *678 + schema: *679 + '400': *681 requestBody: required: true content: @@ -96714,17 +97238,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 - '404': *699 - '403': *700 + default: *704 + '404': *702 + '403': *703 '304': *37 x-github: githubCloudOnly: true @@ -96748,18 +97272,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 + default: *704 '304': *37 - '404': *699 - '403': *700 + '404': *702 + '403': *703 requestBody: required: true content: @@ -96872,19 +97396,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 + default: *704 '304': *37 - '404': *699 - '403': *700 - '400': *678 + '404': *702 + '403': *703 + '400': *681 '429': description: Response content: @@ -96975,12 +97499,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *170 - - *694 + - *697 responses: '204': description: Response - '404': *699 - '403': *700 + '404': *702 + '403': *703 '304': *37 x-github: githubCloudOnly: true @@ -97113,7 +97637,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &702 + text_matches: &705 title: Search Result Text Matches type: array items: @@ -97276,7 +97800,7 @@ paths: enum: - author-date - committer-date - - &703 + - &706 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 @@ -97347,7 +97871,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true comment_count: type: integer @@ -97367,7 +97891,7 @@ paths: url: type: string format: uri - verification: *547 + verification: *550 required: - author - committer @@ -97386,7 +97910,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true parents: type: array @@ -97404,7 +97928,7 @@ paths: type: number node_id: type: string - text_matches: *702 + text_matches: *705 required: - sha - node_id @@ -97587,7 +98111,7 @@ paths: - interactions - created - updated - - *703 + - *706 - *17 - *19 - name: advanced_search @@ -97714,8 +98238,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true comments: type: integer @@ -97729,7 +98253,7 @@ paths: type: string format: date-time nullable: true - text_matches: *702 + text_matches: *705 pull_request: type: object properties: @@ -97773,7 +98297,7 @@ paths: timeline_url: type: string format: uri - type: *285 + type: *288 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97957,7 +98481,7 @@ paths: enum: - created - updated - - *703 + - *706 - *17 - *19 responses: @@ -98001,7 +98525,7 @@ paths: nullable: true score: type: number - text_matches: *702 + text_matches: *705 required: - id - node_id @@ -98087,7 +98611,7 @@ paths: - forks - help-wanted-issues - updated - - *703 + - *706 - *17 - *19 responses: @@ -98326,7 +98850,7 @@ paths: - admin - pull - push - text_matches: *702 + text_matches: *705 temp_clone_token: type: string allow_merge_commit: @@ -98627,7 +99151,7 @@ paths: type: string format: uri nullable: true - text_matches: *702 + text_matches: *705 related: type: array nullable: true @@ -98820,7 +99344,7 @@ paths: - followers - repositories - joined - - *703 + - *706 - *17 - *19 responses: @@ -98924,7 +99448,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *702 + text_matches: *705 blog: type: string nullable: true @@ -99003,7 +99527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &704 + - &707 name: team_id description: The unique identifier of the team. in: path @@ -99015,9 +99539,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -99044,7 +99568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -99107,16 +99631,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '201': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 '422': *15 '403': *29 @@ -99144,7 +99668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *704 + - *707 responses: '204': description: Response @@ -99175,7 +99699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *704 + - *707 - *86 - *17 - *19 @@ -99186,9 +99710,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *705 + default: *708 headers: Link: *39 x-github: @@ -99217,7 +99741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -99251,9 +99775,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: triggersNotification: true githubCloudOnly: false @@ -99280,16 +99804,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 responses: '200': description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99314,8 +99838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: false content: @@ -99338,9 +99862,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *706 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99365,8 +99889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 responses: '204': description: Response @@ -99395,8 +99919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *704 - - *359 + - *707 + - *362 - *86 - *17 - *19 @@ -99407,9 +99931,9 @@ paths: application/json: schema: type: array - items: *360 + items: *363 examples: - default: *707 + default: *710 headers: Link: *39 x-github: @@ -99438,8 +99962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: true content: @@ -99461,9 +99985,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: triggersNotification: true githubCloudOnly: false @@ -99490,17 +100014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 responses: '200': description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99525,9 +100049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 requestBody: required: true content: @@ -99549,9 +100073,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *708 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99576,9 +100100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 responses: '204': description: Response @@ -99607,9 +100131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -99635,9 +100159,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -99666,9 +100190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 requestBody: required: true content: @@ -99700,9 +100224,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99728,8 +100252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -99755,9 +100279,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -99786,8 +100310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: true content: @@ -99819,9 +100343,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99845,7 +100369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -99855,9 +100379,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 x-github: @@ -99883,7 +100407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *704 + - *707 - name: role description: Filters members returned by their role in the team. in: query @@ -99906,7 +100430,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -99934,7 +100458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -99971,7 +100495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100011,7 +100535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100048,16 +100572,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 responses: '200': description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-user-is-a-team-maintainer: *709 + response-if-user-is-a-team-maintainer: *712 '404': *6 x-github: githubCloudOnly: false @@ -100090,7 +100614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 requestBody: required: false @@ -100116,9 +100640,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: *710 + response-if-users-membership-with-team-is-now-pending: *713 '403': description: Forbidden if team synchronization is set up '422': @@ -100152,7 +100676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100181,7 +100705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100191,9 +100715,9 @@ paths: application/json: schema: type: array - items: *372 + items: *375 examples: - default: *711 + default: *714 headers: Link: *39 '404': *6 @@ -100219,16 +100743,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *704 - - *373 + - *707 + - *376 responses: '200': description: Response content: application/json: - schema: *372 + schema: *375 examples: - default: *712 + default: *715 '404': description: Not Found if project is not managed by this team x-github: @@ -100252,8 +100776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *704 - - *373 + - *707 + - *376 requestBody: required: false content: @@ -100320,8 +100844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *704 - - *373 + - *707 + - *376 responses: '204': description: Response @@ -100348,7 +100872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100360,7 +100884,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '404': *6 @@ -100390,15 +100914,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *713 + schema: *716 examples: alternative-response-with-extra-repository-information: value: @@ -100549,9 +101073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 requestBody: required: false content: @@ -100601,9 +101125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 responses: '204': description: Response @@ -100632,15 +101156,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *704 + - *707 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 '403': *29 '404': *6 x-github: @@ -100667,7 +101191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -100724,7 +101248,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *379 examples: default: value: @@ -100755,7 +101279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100765,9 +101289,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - response-if-child-teams-exist: *714 + response-if-child-teams-exist: *717 headers: Link: *39 '404': *6 @@ -100800,7 +101324,7 @@ paths: application/json: schema: oneOf: - - &716 + - &719 title: Private User description: Private User type: object @@ -101003,7 +101527,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *715 + - *718 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101156,7 +101680,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: default: value: @@ -101235,7 +101759,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '304': *37 '404': *6 '403': *29 @@ -101359,9 +101883,9 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '304': *37 '500': *99 '401': *25 @@ -101500,17 +102024,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -101554,7 +102078,7 @@ paths: type: integer secrets: type: array - items: &717 + items: &720 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101594,7 +102118,7 @@ paths: - visibility - selected_repositories_url examples: - default: *487 + default: *490 headers: Link: *39 x-github: @@ -101670,7 +102194,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: default: value: @@ -101816,7 +102340,7 @@ paths: type: array items: *196 examples: - default: *718 + default: *721 '401': *25 '403': *29 '404': *6 @@ -101960,15 +102484,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '304': *37 '500': *99 '401': *25 @@ -101994,7 +102518,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 requestBody: required: false content: @@ -102024,9 +102548,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -102048,7 +102572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '202': *95 '304': *37 @@ -102077,13 +102601,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '202': description: Response content: application/json: - schema: &719 + schema: &722 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102124,7 +102648,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &720 + default: &723 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102156,7 +102680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *293 + - *296 - name: export_id in: path required: true @@ -102169,9 +102693,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *722 examples: - default: *720 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -102192,7 +102716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *293 + - *296 responses: '200': description: Response @@ -102208,9 +102732,9 @@ paths: type: integer machines: type: array - items: *721 + items: *724 examples: - default: *722 + default: *725 '304': *37 '500': *99 '401': *25 @@ -102239,7 +102763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *293 + - *296 requestBody: required: true content: @@ -102289,13 +102813,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *387 + repository: *390 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *485 - required: *486 + properties: *488 + required: *489 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -103069,15 +103593,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '304': *37 '500': *99 '400': *14 @@ -103109,15 +103633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '500': *99 '401': *25 '403': *29 @@ -103147,9 +103671,9 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: &735 + default: &738 value: - id: 197 name: hello_docker @@ -103250,7 +103774,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Email description: Email type: object @@ -103315,9 +103839,9 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: - default: &737 + default: &740 value: - email: octocat@github.com verified: true @@ -103392,7 +103916,7 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: default: value: @@ -103502,7 +104026,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '304': *37 @@ -103535,7 +104059,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '304': *37 @@ -103648,7 +104172,7 @@ paths: application/json: schema: type: array - items: &724 + items: &727 title: GPG Key description: A unique encryption key type: object @@ -103779,7 +104303,7 @@ paths: - subkeys - revoked examples: - default: &748 + default: &751 value: - id: 3 name: Octocat's GPG Key @@ -103864,9 +104388,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *727 examples: - default: &725 + default: &728 value: id: 3 name: Octocat's GPG Key @@ -103923,7 +104447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &726 + - &729 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -103935,9 +104459,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *727 examples: - default: *725 + default: *728 '404': *6 '304': *37 '403': *29 @@ -103960,7 +104484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *726 + - *729 responses: '204': description: Response @@ -104151,7 +104675,7 @@ paths: type: array items: *63 examples: - default: *727 + default: *730 headers: Link: *39 '404': *6 @@ -104236,12 +104760,12 @@ paths: application/json: schema: anyOf: - - *279 + - *283 - type: object properties: {} additionalProperties: false examples: - default: *280 + default: *284 '204': description: Response when there are no restrictions x-github: @@ -104265,7 +104789,7 @@ paths: required: true content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -104276,7 +104800,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -104357,7 +104881,7 @@ paths: - closed - all default: open - - *288 + - *291 - name: sort description: What to sort results by. in: query @@ -104382,7 +104906,7 @@ paths: type: array items: *153 examples: - default: *289 + default: *292 headers: Link: *39 '404': *6 @@ -104415,7 +104939,7 @@ paths: application/json: schema: type: array - items: &728 + items: &731 title: Key description: Key type: object @@ -104512,9 +105036,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: &729 + default: &732 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104547,15 +105071,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *587 + - *590 responses: '200': description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *729 + default: *732 '404': *6 '304': *37 '403': *29 @@ -104578,7 +105102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *587 + - *590 responses: '204': description: Response @@ -104611,7 +105135,7 @@ paths: application/json: schema: type: array - items: &730 + items: &733 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -104679,7 +105203,7 @@ paths: - account - plan examples: - default: &731 + default: &734 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -104741,9 +105265,9 @@ paths: application/json: schema: type: array - items: *730 + items: *733 examples: - default: *731 + default: *734 headers: Link: *39 '304': *37 @@ -104783,7 +105307,7 @@ paths: application/json: schema: type: array - items: *294 + items: *297 examples: default: value: @@ -104891,7 +105415,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: default: value: @@ -104974,7 +105498,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: default: value: @@ -105042,7 +105566,7 @@ paths: application/json: schema: type: array - items: *296 + items: *299 examples: default: value: @@ -105295,7 +105819,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -105475,7 +105999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *297 + - *300 - name: exclude in: query required: false @@ -105488,7 +106012,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -105682,7 +106206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *297 + - *300 responses: '302': description: Response @@ -105708,7 +106232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *297 + - *300 responses: '204': description: Response @@ -105737,8 +106261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *297 - - *732 + - *300 + - *735 responses: '204': description: Response @@ -105762,7 +106286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *297 + - *300 - *17 - *19 responses: @@ -105774,7 +106298,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '404': *6 @@ -105811,7 +106335,7 @@ paths: type: array items: *58 examples: - default: *733 + default: *736 headers: Link: *39 '304': *37 @@ -105853,7 +106377,7 @@ paths: - docker - nuget - container - - *734 + - *737 - *19 - *17 responses: @@ -105863,10 +106387,10 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 - '400': *736 + default: *738 + '400': *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105886,16 +106410,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: - default: &749 + default: &752 value: id: 40201 name: octo-name @@ -106008,8 +106532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 responses: '204': description: Response @@ -106039,8 +106563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 - name: token description: package token schema: @@ -106072,8 +106596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 - *19 - *17 - name: state @@ -106093,7 +106617,7 @@ paths: application/json: schema: type: array - items: *307 + items: *310 examples: default: value: @@ -106142,15 +106666,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '200': description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -106186,9 +106710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '204': description: Response @@ -106218,9 +106742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '204': description: Response @@ -106276,7 +106800,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: default: value: @@ -106348,9 +106872,9 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: - default: *737 + default: *740 headers: Link: *39 '304': *37 @@ -106463,7 +106987,7 @@ paths: type: array items: *63 examples: - default: &744 + default: &747 summary: Default response value: - id: 1296269 @@ -106767,9 +107291,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106807,9 +107331,9 @@ paths: application/json: schema: type: array - items: *560 + items: *563 examples: - default: *738 + default: *741 headers: Link: *39 '304': *37 @@ -106832,7 +107356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *283 + - *287 responses: '204': description: Response @@ -106855,7 +107379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *283 + - *287 responses: '204': description: Response @@ -106888,7 +107412,7 @@ paths: application/json: schema: type: array - items: &739 + items: &742 title: Social account description: Social media account type: object @@ -106903,7 +107427,7 @@ paths: - provider - url examples: - default: &740 + default: &743 value: - provider: twitter url: https://twitter.com/github @@ -106965,9 +107489,9 @@ paths: application/json: schema: type: array - items: *739 + items: *742 examples: - default: *740 + default: *743 '422': *15 '304': *37 '404': *6 @@ -107054,7 +107578,7 @@ paths: application/json: schema: type: array - items: &741 + items: &744 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107074,7 +107598,7 @@ paths: - title - created_at examples: - default: &750 + default: &753 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107140,9 +107664,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *744 examples: - default: &742 + default: &745 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107173,7 +107697,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: - - &743 + - &746 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107185,9 +107709,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *744 examples: - default: *742 + default: *745 '404': *6 '304': *37 '403': *29 @@ -107210,7 +107734,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: - - *743 + - *746 responses: '204': description: Response @@ -107239,7 +107763,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: - - &751 + - &754 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 @@ -107264,11 +107788,11 @@ paths: type: array items: *63 examples: - default-response: *744 + default-response: *747 application/vnd.github.v3.star+json: schema: type: array - items: &752 + items: &755 title: Starred Repository description: Starred Repository type: object @@ -107424,8 +107948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response if this repository is starred by you @@ -107453,8 +107977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -107478,8 +108002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -107514,7 +108038,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '304': *37 @@ -107551,7 +108075,7 @@ paths: application/json: schema: type: array - items: *355 + items: *358 examples: default: value: @@ -107637,10 +108161,10 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *719 + - *718 examples: - default-response: &746 + default-response: &749 summary: Default response value: login: octocat @@ -107675,7 +108199,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &747 + response-with-git-hub-plan-information: &750 summary: Response with GitHub plan information value: login: octocat @@ -107735,7 +108259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *745 + - *748 - *17 responses: '200': @@ -107746,7 +108270,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: example: ; rel="next" @@ -107784,11 +108308,11 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *719 + - *718 examples: - default-response: *746 - response-with-git-hub-plan-information: *747 + default-response: *749 + response-with-git-hub-plan-information: *750 '404': *6 x-github: githubCloudOnly: false @@ -107864,7 +108388,7 @@ paths: bundle_url: type: string examples: - default: *427 + default: *430 '201': description: Response content: @@ -107903,9 +108427,9 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 + default: *738 '403': *29 '401': *25 x-github: @@ -108188,7 +108712,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -108219,7 +108743,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -108309,9 +108833,9 @@ paths: application/json: schema: type: array - items: *724 + items: *727 examples: - default: *748 + default: *751 headers: Link: *39 x-github: @@ -108415,7 +108939,7 @@ paths: application/json: schema: *22 examples: - default: *557 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108493,7 +109017,7 @@ paths: type: array items: *58 examples: - default: *733 + default: *736 headers: Link: *39 x-github: @@ -108532,7 +109056,7 @@ paths: - docker - nuget - container - - *734 + - *737 - *218 - *19 - *17 @@ -108543,12 +109067,12 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 + default: *738 '403': *29 '401': *25 - '400': *736 + '400': *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108568,17 +109092,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: - default: *749 + default: *752 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108599,8 +109123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '204': @@ -108633,8 +109157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 - name: token description: package token @@ -108667,8 +109191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '200': @@ -108677,7 +109201,7 @@ paths: application/json: schema: type: array - items: *307 + items: *310 examples: default: value: @@ -108735,16 +109259,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 - *218 responses: '200': description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -108779,10 +109303,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *305 - - *306 - - *218 - *308 + - *309 + - *218 + - *311 responses: '204': description: Response @@ -108814,10 +109338,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *305 - - *306 - - *218 - *308 + - *309 + - *218 + - *311 responses: '204': description: Response @@ -108864,7 +109388,7 @@ paths: application/json: schema: type: array - items: *319 + items: *322 examples: default: value: @@ -109147,7 +109671,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -109177,9 +109701,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109207,9 +109731,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109237,9 +109761,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: - default: *350 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109267,9 +109791,9 @@ paths: application/json: schema: type: array - items: *739 + items: *742 examples: - default: *740 + default: *743 headers: Link: *39 x-github: @@ -109299,9 +109823,9 @@ paths: application/json: schema: type: array - items: *741 + items: *744 examples: - default: *750 + default: *753 headers: Link: *39 x-github: @@ -109326,7 +109850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *218 - - *751 + - *754 - *86 - *17 - *19 @@ -109338,11 +109862,11 @@ paths: schema: anyOf: - type: array - items: *752 + items: *755 - type: array items: *63 examples: - default-response: *744 + default-response: *747 headers: Link: *39 x-github: @@ -109373,7 +109897,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -109501,7 +110025,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &753 + enterprise: &756 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109559,7 +110083,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &754 + installation: &757 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109578,7 +110102,7 @@ x-webhooks: required: - id - node_id - organization: &755 + organization: &758 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109638,13 +110162,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &756 + repository: &759 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &793 + properties: &796 id: description: Unique identifier of the repository example: 42 @@ -110327,7 +110851,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &794 + required: &797 - archive_url - assignees_url - blobs_url @@ -110478,10 +111002,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -110557,11 +111081,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: &757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: &760 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) @@ -110784,11 +111308,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -110971,11 +111495,11 @@ x-webhooks: - everyone required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -111046,7 +111570,7 @@ x-webhooks: required: true content: application/json: - schema: &760 + schema: &763 title: Exemption request cancellation event type: object properties: @@ -111054,11 +111578,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: &758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: &761 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111283,7 +111807,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &759 + items: &762 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111391,7 +111915,7 @@ x-webhooks: required: true content: application/json: - schema: &761 + schema: &764 title: Exemption request completed event type: object properties: @@ -111399,11 +111923,11 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 sender: *4 required: - action @@ -111473,7 +111997,7 @@ x-webhooks: required: true content: application/json: - schema: &762 + schema: &765 title: Exemption request created event type: object properties: @@ -111481,11 +112005,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 sender: *4 required: - action @@ -111555,7 +112079,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &766 title: Exemption response dismissed event type: object properties: @@ -111563,12 +112087,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 - exemption_response: *759 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 + exemption_response: *762 sender: *4 required: - action @@ -111640,7 +112164,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &767 title: Exemption response submitted event type: object properties: @@ -111648,12 +112172,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 - exemption_response: *759 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 + exemption_response: *762 sender: *4 required: - action @@ -111726,7 +112250,7 @@ x-webhooks: required: true content: application/json: - schema: *760 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111793,7 +112317,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *764 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111860,7 +112384,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111927,7 +112451,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111995,7 +112519,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112073,7 +112597,7 @@ x-webhooks: type: string enum: - completed - check_run: &766 + check_run: &769 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112136,7 +112660,7 @@ x-webhooks: type: string pull_requests: type: array - items: *446 + items: *449 repository: *196 status: example: completed @@ -112174,7 +112698,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *765 + deployment: *768 details_url: example: https://example.com type: string @@ -112224,7 +112748,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *446 + items: *449 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -112259,9 +112783,9 @@ x-webhooks: - output - app - pull_requests - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -112654,10 +113178,10 @@ x-webhooks: type: string enum: - created - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -113053,10 +113577,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 requested_action: description: The action requested by the user. type: object @@ -113461,10 +113985,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -114441,10 +114965,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115114,10 +115638,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115781,10 +116305,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115947,7 +116471,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116092,20 +116616,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &767 + commit_oid: &770 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: *753 - installation: *754 - organization: *755 - ref: &768 + enterprise: *756 + installation: *757 + organization: *758 + ref: &771 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: *756 + repository: *759 sender: *4 required: - action @@ -116267,7 +116791,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116497,12 +117021,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -116597,7 +117121,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116765,12 +117289,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -116933,7 +117457,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117099,12 +117623,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -117201,7 +117725,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117369,16 +117893,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *756 + repository: *759 sender: *4 required: - action @@ -117472,7 +117996,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117612,12 +118136,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -117874,10 +118398,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -117957,18 +118481,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *755 - pusher_type: &769 + organization: *758 + pusher_type: &772 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &770 + ref: &773 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -117978,7 +118502,7 @@ x-webhooks: enum: - tag - branch - repository: *756 + repository: *759 sender: *4 required: - ref @@ -118061,9 +118585,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118148,9 +118672,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118228,9 +118752,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118308,9 +118832,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118387,19 +118911,19 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - repository: *756 - organization: *755 + enterprise: *756 + installation: *757 + repository: *759 + organization: *758 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *321 + items: *324 old_property_values: type: array description: The old custom property values for the repository. - items: *321 + items: *324 required: - action - repository @@ -118475,18 +118999,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - pusher_type: *769 - ref: *770 + enterprise: *756 + installation: *757 + organization: *758 + pusher_type: *772 + ref: *773 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *756 + repository: *759 sender: *4 required: - ref @@ -118570,11 +119094,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118658,11 +119182,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118746,11 +119270,11 @@ x-webhooks: type: string enum: - created - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118832,11 +119356,11 @@ x-webhooks: type: string enum: - dismissed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118918,11 +119442,11 @@ x-webhooks: type: string enum: - fixed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119005,11 +119529,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119091,11 +119615,11 @@ x-webhooks: type: string enum: - reopened - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119172,9 +119696,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - key: &771 + enterprise: *756 + installation: *757 + key: &774 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119210,8 +119734,8 @@ x-webhooks: - verified - created_at - read_only - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -119288,11 +119812,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - key: *771 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + key: *774 + organization: *758 + repository: *759 sender: *4 required: - action @@ -119853,12 +120377,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: &775 + workflow: &778 title: Workflow type: object nullable: true @@ -120584,13 +121108,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *522 + deployment: *525 pull_requests: type: array - items: *607 - repository: *756 - organization: *755 - installation: *754 + items: *610 + repository: *759 + organization: *758 + installation: *757 sender: *4 responses: '200': @@ -120661,7 +121185,7 @@ x-webhooks: type: string enum: - approved - approver: &772 + approver: &775 type: object properties: avatar_url: @@ -120704,11 +121228,11 @@ x-webhooks: type: string comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: &773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: &776 type: array items: type: object @@ -120787,7 +121311,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &774 + workflow_job_run: &777 type: object properties: conclusion: @@ -121518,18 +122042,18 @@ x-webhooks: type: string enum: - rejected - approver: *772 + approver: *775 comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: *773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: *776 sender: *4 since: type: string - workflow_job_run: *774 + workflow_job_run: *777 workflow_job_runs: type: array items: @@ -122233,13 +122757,13 @@ x-webhooks: type: string enum: - requested - enterprise: *753 + enterprise: *756 environment: type: string - installation: *754 - organization: *755 - repository: *756 - requestor: &780 + installation: *757 + organization: *758 + repository: *759 + requestor: &783 title: User type: object nullable: true @@ -124138,12 +124662,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Deployment Workflow Run type: object @@ -124823,7 +125347,7 @@ x-webhooks: type: string enum: - answered - answer: &778 + answer: &781 type: object properties: author_association: @@ -124980,7 +125504,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &776 + discussion: &779 title: Discussion description: A Discussion in a repository. type: object @@ -125266,7 +125790,7 @@ x-webhooks: - id labels: type: array - items: *569 + items: *572 required: - repository_url - category @@ -125288,10 +125812,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125418,11 +125942,11 @@ x-webhooks: - from required: - category - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125505,11 +126029,11 @@ x-webhooks: type: string enum: - closed - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125591,7 +126115,7 @@ x-webhooks: type: string enum: - created - comment: &777 + comment: &780 type: object properties: author_association: @@ -125748,11 +126272,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125835,12 +126359,12 @@ x-webhooks: type: string enum: - deleted - comment: *777 - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *780 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125935,12 +126459,12 @@ x-webhooks: - from required: - body - comment: *777 - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *780 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126024,11 +126548,11 @@ x-webhooks: type: string enum: - created - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126110,11 +126634,11 @@ x-webhooks: type: string enum: - deleted - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126214,11 +126738,11 @@ x-webhooks: type: string required: - from - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126300,10 +126824,10 @@ x-webhooks: type: string enum: - labeled - discussion: *776 - enterprise: *753 - installation: *754 - label: &779 + discussion: *779 + enterprise: *756 + installation: *757 + label: &782 title: Label type: object properties: @@ -126335,8 +126859,8 @@ x-webhooks: - color - default - description - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126419,11 +126943,11 @@ x-webhooks: type: string enum: - locked - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126505,11 +127029,11 @@ x-webhooks: type: string enum: - pinned - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126591,11 +127115,11 @@ x-webhooks: type: string enum: - reopened - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126680,16 +127204,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *776 - new_repository: *756 + new_discussion: *779 + new_repository: *759 required: - new_discussion - new_repository - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126772,10 +127296,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *776 - old_answer: *778 - organization: *755 - repository: *756 + discussion: *779 + old_answer: *781 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126857,12 +127381,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *776 - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126945,11 +127469,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -127031,11 +127555,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -127107,7 +127631,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127173,7 +127697,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127239,7 +127763,7 @@ x-webhooks: required: true content: application/json: - schema: *760 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127305,7 +127829,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *764 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127371,7 +127895,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127437,7 +127961,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127503,7 +128027,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127570,7 +128094,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *753 + enterprise: *756 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128230,9 +128754,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - forkee @@ -128378,9 +128902,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pages: description: The pages that were updated. type: array @@ -128417,7 +128941,7 @@ x-webhooks: - action - sha - html_url - repository: *756 + repository: *759 sender: *4 required: - pages @@ -128493,10 +129017,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: &781 + organization: *758 + repositories: &784 description: An array of repository objects that the installation can access. type: array @@ -128522,8 +129046,8 @@ x-webhooks: - name - full_name - private - repository: *756 - requester: *780 + repository: *759 + requester: *783 sender: *4 required: - action @@ -128598,11 +129122,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -128678,11 +129202,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -128758,10 +129282,10 @@ x-webhooks: type: string enum: - added - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories_added: &782 + organization: *758 + repositories_added: &785 description: An array of repository objects, which were added to the installation. type: array @@ -128807,15 +129331,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *756 - repository_selection: &783 + repository: *759 + repository_selection: &786 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *780 + requester: *783 sender: *4 required: - action @@ -128894,10 +129418,10 @@ x-webhooks: type: string enum: - removed - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories_added: *782 + organization: *758 + repositories_added: *785 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -128924,9 +129448,9 @@ x-webhooks: - name - full_name - private - repository: *756 - repository_selection: *783 - requester: *780 + repository: *759 + repository_selection: *786 + requester: *783 sender: *4 required: - action @@ -129005,11 +129529,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -129188,10 +129712,10 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 target_type: type: string @@ -129270,11 +129794,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -129526,8 +130050,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130350,7 +130874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -130683,8 +131207,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -130764,7 +131288,7 @@ x-webhooks: type: string enum: - deleted - comment: &784 + comment: &787 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -130929,8 +131453,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131749,7 +132273,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -132084,8 +132608,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -132165,7 +132689,7 @@ x-webhooks: type: string enum: - edited - changes: &812 + changes: &815 description: The changes to the comment. type: object properties: @@ -132177,9 +132701,9 @@ x-webhooks: type: string required: - from - comment: *784 - enterprise: *753 - installation: *754 + comment: *787 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133001,7 +133525,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -133334,8 +133858,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -133417,10 +133941,10 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *753 - installation: *754 - issue: &787 + assignee: *783 + enterprise: *756 + installation: *757 + issue: &790 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134238,7 +134762,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -134339,8 +134863,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134420,8 +134944,8 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135244,7 +135768,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -135480,8 +136004,8 @@ x-webhooks: required: - state - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135560,8 +136084,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136373,7 +136897,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -136473,8 +136997,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -136553,8 +137077,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137390,7 +137914,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -137469,7 +137993,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &785 + milestone: &788 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137607,8 +138131,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -137707,8 +138231,8 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138523,7 +139047,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -138627,9 +139151,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *755 - repository: *756 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -138709,8 +139233,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139524,7 +140048,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -139628,9 +140152,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *755 - repository: *756 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -139710,8 +140234,8 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140549,7 +141073,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -140630,8 +141154,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -140710,8 +141234,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141546,7 +142070,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -141624,9 +142148,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *785 - organization: *755 - repository: *756 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -143087,8 +143611,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143906,7 +144430,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -144006,8 +144530,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144087,9 +144611,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *753 - installation: *754 - issue: &786 + enterprise: *756 + installation: *757 + issue: &789 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144901,7 +145425,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -145001,8 +145525,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -145081,8 +145605,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145999,9 +146523,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *285 - organization: *755 - repository: *756 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -146896,7 +147420,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -147464,11 +147988,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *753 - installation: *754 - issue: *786 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *789 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147548,12 +148072,12 @@ x-webhooks: type: string enum: - typed - enterprise: *753 - installation: *754 - issue: *787 - type: *285 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147634,7 +148158,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &815 + assignee: &818 title: User type: object nullable: true @@ -147704,11 +148228,11 @@ x-webhooks: required: - login - id - enterprise: *753 - installation: *754 - issue: *787 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147787,12 +148311,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - issue: *787 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147872,8 +148396,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148712,7 +149236,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -148790,8 +149314,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -148871,11 +149395,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *753 - installation: *754 - issue: *786 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *789 + organization: *758 + repository: *759 sender: *4 required: - action @@ -148954,12 +149478,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *753 - installation: *754 - issue: *787 - type: *285 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149039,11 +149563,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149121,11 +149645,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149235,11 +149759,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149321,9 +149845,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: &788 + enterprise: *756 + installation: *757 + marketplace_purchase: &791 title: Marketplace Purchase type: object required: @@ -149406,8 +149930,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: &789 + organization: *758 + previous_marketplace_purchase: &792 title: Marketplace Purchase type: object properties: @@ -149487,7 +150011,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149567,10 +150091,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149653,7 +150177,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149735,10 +150259,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149820,7 +150344,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149901,8 +150425,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 marketplace_purchase: title: Marketplace Purchase type: object @@ -149984,9 +150508,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: *789 - repository: *756 + organization: *758 + previous_marketplace_purchase: *792 + repository: *759 sender: *4 required: - action @@ -150066,12 +150590,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 - previous_marketplace_purchase: *789 - repository: *756 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 + previous_marketplace_purchase: *792 + repository: *759 sender: *4 required: - action @@ -150173,11 +150697,11 @@ x-webhooks: type: string required: - to - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150277,11 +150801,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150360,11 +150884,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150442,11 +150966,11 @@ x-webhooks: type: string enum: - added - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150522,7 +151046,7 @@ x-webhooks: required: - login - id - team: &790 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150712,11 +151236,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150793,7 +151317,7 @@ x-webhooks: required: - login - id - team: *790 + team: *793 required: - action - scope @@ -150875,8 +151399,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *754 - merge_group: &792 + installation: *757 + merge_group: &795 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -150895,15 +151419,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *791 + head_commit: *794 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150989,10 +151513,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *754 - merge_group: *792 - organization: *755 - repository: *756 + installation: *757 + merge_group: *795 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151065,7 +151589,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *756 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151173,16 +151697,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *754 - organization: *755 + installation: *757 + organization: *758 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -151263,11 +151787,11 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151346,9 +151870,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - milestone: &795 + enterprise: *756 + installation: *757 + milestone: &798 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151485,8 +152009,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151565,11 +152089,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151679,11 +152203,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151763,11 +152287,11 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - milestone: *795 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *798 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151846,11 +152370,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *780 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *783 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151929,11 +152453,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *780 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *783 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152012,9 +152536,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - membership: &796 + enterprise: *756 + installation: *757 + membership: &799 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152106,8 +152630,8 @@ x-webhooks: - role - organization_url - user - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152185,11 +152709,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152268,8 +152792,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152385,10 +152909,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 - user: *780 + user: *783 required: - action - invitation @@ -152466,11 +152990,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152557,11 +153081,11 @@ x-webhooks: properties: from: type: string - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152637,9 +153161,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -153138,7 +153662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &797 + items: &800 title: Ruby Gems metadata type: object properties: @@ -153233,7 +153757,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -153309,9 +153833,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -153664,7 +154188,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *797 + items: *800 source_url: type: string format: uri @@ -153734,7 +154258,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -153911,12 +154435,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *753 + enterprise: *756 id: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - id @@ -153993,7 +154517,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &798 + personal_access_token_request: &801 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154139,10 +154663,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *753 - organization: *755 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154219,11 +154743,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *798 - enterprise: *753 - organization: *755 + personal_access_token_request: *801 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154299,11 +154823,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *798 - enterprise: *753 - organization: *755 + personal_access_token_request: *801 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154378,11 +154902,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *798 - organization: *755 - enterprise: *753 + personal_access_token_request: *801 + organization: *758 + enterprise: *756 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154487,7 +155011,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *799 + last_response: *802 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154519,8 +155043,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 zen: description: Random string of GitHub zen. @@ -154765,10 +155289,10 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: &800 + enterprise: *756 + installation: *757 + organization: *758 + project_card: &803 title: Project Card type: object properties: @@ -154887,7 +155411,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -154968,11 +155492,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_card: *800 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *803 + repository: *759 sender: *4 required: - action @@ -155052,9 +155576,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 project_card: title: Project Card type: object @@ -155182,8 +155706,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -155277,11 +155801,11 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: *800 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *803 + repository: *759 sender: *4 required: - action @@ -155375,9 +155899,9 @@ x-webhooks: - from required: - column_id - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 project_card: allOf: - title: Project Card @@ -155567,7 +156091,7 @@ x-webhooks: type: string required: - after_id - repository: *756 + repository: *759 sender: *4 required: - action @@ -155647,10 +156171,10 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - organization: *755 - project: &802 + enterprise: *756 + installation: *757 + organization: *758 + project: &805 title: Project type: object properties: @@ -155774,7 +156298,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -155854,10 +156378,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_column: &801 + enterprise: *756 + installation: *757 + organization: *758 + project_column: &804 title: Project Column type: object properties: @@ -155896,7 +156420,7 @@ x-webhooks: - name - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -155975,18 +156499,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -156076,11 +156600,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 + repository: *759 sender: *4 required: - action @@ -156160,11 +156684,11 @@ x-webhooks: type: string enum: - moved - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 + repository: *759 sender: *4 required: - action @@ -156244,11 +156768,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156328,18 +156852,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project: *802 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -156441,11 +156965,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156524,11 +157048,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156609,9 +157133,9 @@ x-webhooks: type: string enum: - closed - installation: *754 - organization: *755 - projects_v2: &803 + installation: *757 + organization: *758 + projects_v2: &806 title: Projects v2 Project description: A projects v2 project type: object @@ -156754,9 +157278,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -156837,9 +157361,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -156956,9 +157480,9 @@ x-webhooks: type: string to: type: string - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -157041,7 +157565,7 @@ x-webhooks: type: string enum: - archived - changes: &807 + changes: &810 type: object properties: archived_at: @@ -157055,9 +157579,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *754 - organization: *755 - projects_v2_item: &804 + installation: *757 + organization: *758 + projects_v2_item: &807 title: Projects v2 Item description: An item belonging to a project type: object @@ -157191,9 +157715,9 @@ x-webhooks: nullable: true to: type: string - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157275,9 +157799,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157358,9 +157882,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157466,7 +157990,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &805 + - &808 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157484,7 +158008,7 @@ x-webhooks: required: - id - name - - &806 + - &809 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157507,8 +158031,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *805 - - *806 + - *808 + - *809 required: - field_value - type: object @@ -157524,9 +158048,9 @@ x-webhooks: nullable: true required: - body - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157621,9 +158145,9 @@ x-webhooks: to: type: string nullable: true - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157706,10 +158230,10 @@ x-webhooks: type: string enum: - restored - changes: *807 - installation: *754 - organization: *755 - projects_v2_item: *804 + changes: *810 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157791,9 +158315,9 @@ x-webhooks: type: string enum: - reopened - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -157874,9 +158398,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_status_update: &808 + installation: *757 + organization: *758 + projects_v2_status_update: &811 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158003,9 +158527,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_status_update: *808 + installation: *757 + organization: *758 + projects_v2_status_update: *811 sender: *4 required: - action @@ -158141,9 +158665,9 @@ x-webhooks: type: string format: date nullable: true - installation: *754 - organization: *755 - projects_v2_status_update: *808 + installation: *757 + organization: *758 + projects_v2_status_update: *811 sender: *4 required: - action @@ -158214,10 +158738,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - repository @@ -158294,13 +158818,13 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *753 - installation: *754 - number: &809 + assignee: *783 + enterprise: *756 + installation: *757 + number: &812 description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -160583,7 +161107,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -160665,11 +161189,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -162947,7 +163471,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *759 sender: *4 required: - action @@ -163029,11 +163553,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -165311,7 +165835,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *759 sender: *4 required: - action @@ -165393,13 +165917,13 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: &810 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: &813 allOf: - - *607 + - *610 - type: object properties: allow_auto_merge: @@ -165461,7 +165985,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *756 + repository: *759 sender: *4 required: - action @@ -165542,12 +166066,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -165627,11 +166151,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - milestone: *590 - number: *809 - organization: *755 - pull_request: &811 + enterprise: *756 + milestone: *593 + number: *812 + organization: *758 + pull_request: &814 title: Pull Request type: object properties: @@ -167894,7 +168418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -167973,11 +168497,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -170259,7 +170783,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *756 + repository: *759 sender: *4 required: - action @@ -170383,12 +170907,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -170468,11 +170992,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -172739,7 +173263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -172819,11 +173343,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 - label: *779 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + label: *782 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -175105,7 +175629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -175186,10 +175710,10 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -177469,7 +177993,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -177549,12 +178073,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - milestone: *590 - number: *809 - organization: *755 - pull_request: *811 - repository: *756 + enterprise: *756 + milestone: *593 + number: *812 + organization: *758 + pull_request: *814 + repository: *759 sender: *4 required: - action @@ -177633,12 +178157,12 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -177719,12 +178243,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -177804,12 +178328,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -178175,9 +178699,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -180347,7 +180871,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -180427,7 +180951,7 @@ x-webhooks: type: string enum: - deleted - comment: &813 + comment: &816 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. @@ -180712,9 +181236,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -182872,7 +183396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -182952,11 +183476,11 @@ x-webhooks: type: string enum: - edited - changes: *812 - comment: *813 - enterprise: *753 - installation: *754 - organization: *755 + changes: *815 + comment: *816 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -185117,7 +185641,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -185198,9 +185722,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -187373,7 +187897,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 review: description: The review that was affected. type: object @@ -187616,9 +188140,9 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -189672,8 +190196,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: &814 + repository: *759 + review: &817 description: The review that was affected. type: object properties: @@ -189902,12 +190426,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -192190,7 +192714,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_reviewer: title: User type: object @@ -192274,12 +192798,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -194569,7 +195093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194761,12 +195285,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -197051,7 +197575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_reviewer: title: User type: object @@ -197136,12 +197660,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -199417,7 +199941,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199598,9 +200122,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -201775,8 +202299,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: *814 + repository: *759 + review: *817 sender: *4 required: - action @@ -201856,9 +202380,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -203928,7 +204452,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 sender: *4 thread: type: object @@ -204311,9 +204835,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -206369,7 +206893,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 sender: *4 thread: type: object @@ -206755,10 +207279,10 @@ x-webhooks: type: string before: type: string - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -209029,7 +209553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -209111,11 +209635,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *815 - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + assignee: *818 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -211398,7 +211922,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -211477,11 +212001,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - label: *779 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + label: *782 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -213754,7 +214278,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -213835,10 +214359,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -216103,7 +216627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -216303,7 +216827,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *753 + enterprise: *756 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216395,8 +216919,8 @@ x-webhooks: - url - author - committer - installation: *754 - organization: *755 + installation: *757 + organization: *758 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216971,9 +217495,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -217419,7 +217943,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *797 + items: *800 summary: type: string tag_name: @@ -217473,7 +217997,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -217551,9 +218075,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -217861,7 +218385,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *797 + items: *800 summary: type: string tag_name: @@ -217910,7 +218434,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -217987,10 +218511,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - release: &816 + enterprise: *756 + installation: *757 + organization: *758 + release: &819 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218295,7 +218819,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *756 + repository: *759 sender: *4 required: - action @@ -218372,11 +218896,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -218493,11 +219017,11 @@ x-webhooks: type: boolean required: - to - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -218575,9 +219099,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -218886,7 +219410,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *759 sender: *4 required: - action @@ -218962,10 +219486,10 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - release: &817 + enterprise: *756 + installation: *757 + organization: *758 + release: &820 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219271,7 +219795,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *759 sender: *4 required: - action @@ -219347,11 +219871,11 @@ x-webhooks: type: string enum: - released - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -219427,11 +219951,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *753 - installation: *754 - organization: *755 - release: *817 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *820 + repository: *759 sender: *4 required: - action @@ -219507,11 +220031,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *664 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *667 sender: *4 required: - action @@ -219587,11 +220111,11 @@ x-webhooks: type: string enum: - reported - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *664 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *667 sender: *4 required: - action @@ -219667,10 +220191,10 @@ x-webhooks: type: string enum: - archived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219747,10 +220271,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219828,10 +220352,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219915,10 +220439,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220030,10 +220554,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220105,10 +220629,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 status: type: string @@ -220189,10 +220713,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220269,10 +220793,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220366,10 +220890,10 @@ x-webhooks: - name required: - repository - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220449,10 +220973,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 sender: *4 required: @@ -220531,10 +221055,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 sender: *4 required: @@ -220613,10 +221137,10 @@ x-webhooks: type: string enum: - edited - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 changes: type: object @@ -220921,10 +221445,10 @@ x-webhooks: - from required: - owner - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221002,10 +221526,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221083,7 +221607,7 @@ x-webhooks: type: string enum: - create - alert: &818 + alert: &821 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221204,10 +221728,10 @@ x-webhooks: type: string enum: - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221413,10 +221937,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221494,11 +222018,11 @@ x-webhooks: type: string enum: - reopen - alert: *818 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221697,10 +222221,10 @@ x-webhooks: enum: - fixed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221778,7 +222302,7 @@ x-webhooks: type: string enum: - created - alert: &819 + alert: &822 type: object properties: number: *100 @@ -221889,10 +222413,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221973,11 +222497,11 @@ x-webhooks: type: string enum: - created - alert: *819 - installation: *754 - location: *820 - organization: *755 - repository: *756 + alert: *822 + installation: *757 + location: *823 + organization: *758 + repository: *759 sender: *4 required: - location @@ -222215,11 +222739,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222297,11 +222821,11 @@ x-webhooks: type: string enum: - reopened - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222379,11 +222903,11 @@ x-webhooks: type: string enum: - resolved - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222461,11 +222985,11 @@ x-webhooks: type: string enum: - validated - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222591,10 +223115,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *756 - enterprise: *753 - installation: *754 - organization: *755 + repository: *759 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -222672,11 +223196,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: &821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: &824 description: The details of the security advisory, including summary, description, and severity. type: object @@ -222859,11 +223383,11 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: *821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: *824 sender: *4 required: - action @@ -222936,10 +223460,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223123,11 +223647,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *324 - enterprise: *753 - installation: *754 - organization: *755 - repository: *387 + security_and_analysis: *327 + enterprise: *756 + installation: *757 + organization: *758 + repository: *390 sender: *4 required: - changes @@ -223205,12 +223729,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: &822 + sponsorship: &825 type: object properties: created_at: @@ -223511,12 +224035,12 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - sponsorship @@ -223604,12 +224128,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223686,17 +224210,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &823 + effective_date: &826 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: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - sponsorship @@ -223770,7 +224294,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &824 + changes: &827 type: object properties: tier: @@ -223814,13 +224338,13 @@ x-webhooks: - from required: - tier - effective_date: *823 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + effective_date: *826 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223897,13 +224421,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *824 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + changes: *827 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223977,10 +224501,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224063,10 +224587,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224486,15 +225010,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *753 + enterprise: *756 id: description: The unique identifier of the status. type: integer - installation: *754 + installation: *757 name: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 sha: description: The Commit SHA. @@ -224609,9 +225133,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224701,9 +225225,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224793,9 +225317,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224885,9 +225409,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224964,12 +225488,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - team: &825 + team: &828 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225159,9 +225683,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -225619,7 +226143,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -225695,9 +226219,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -226155,7 +226679,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -226232,9 +226756,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -226692,7 +227216,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -226836,9 +227360,9 @@ x-webhooks: - from required: - permissions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -227296,7 +227820,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - changes @@ -227374,9 +227898,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -227834,7 +228358,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -227910,10 +228434,10 @@ x-webhooks: type: string enum: - started - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -227986,16 +228510,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *753 + enterprise: *756 inputs: type: object nullable: true additionalProperties: true - installation: *754 - organization: *755 + installation: *757 + organization: *758 ref: type: string - repository: *756 + repository: *759 sender: *4 workflow: type: string @@ -228077,10 +228601,10 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -228317,7 +228841,7 @@ x-webhooks: type: string required: - conclusion - deployment: *522 + deployment: *525 required: - action - repository @@ -228396,10 +228920,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -228659,7 +229183,7 @@ x-webhooks: required: - status - steps - deployment: *522 + deployment: *525 required: - action - repository @@ -228738,10 +229262,10 @@ x-webhooks: type: string enum: - queued - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -228876,7 +229400,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *525 required: - action - repository @@ -228955,10 +229479,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -229094,7 +229618,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *525 required: - action - repository @@ -229174,12 +229698,12 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -230178,12 +230702,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -231167,12 +231691,12 @@ x-webhooks: type: string enum: - requested - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index aec34de4cb..797a6e0c4c 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -195,6 +195,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -38283,7 +38287,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -39558,7 +39562,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -40939,7 +40943,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -42456,7 +42460,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -43727,7 +43731,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -91762,25 +91766,3006 @@ } } }, - "500": { - "description": "Internal Error", + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/bypass-requests/secret-scanning": { + "get": { + "summary": "List bypass requests for secret scanning for an org", + "description": "List requests to bypass secret scanning push protection in an org.\n\nDelegated bypass must be enabled on repositories in the org and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "secret-scanning" + ], + "operationId": "secret-scanning/list-org-bypass-requests", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "secret-scanning", + "subcategory": "delegated-bypass" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_name", + "description": "The name of the repository to filter on.", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "reviewer", + "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "requester", + "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "time_period", + "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "hour", + "day", + "week", + "month" + ], + "default": "day" + } + }, + { + "name": "request_status", + "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "completed", + "cancelled", + "expired", + "deleted", + "denied", + "open", + "all" + ], + "default": "all" + } + }, + { + "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": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Secret scanning bypass request", + "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The unique identifier of the bypass request." + }, + "number": { + "type": "integer", + "description": "The number uniquely identifying the bypass request within its repository." + }, + "repository": { + "type": "object", + "description": "The repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the repository the bypass request is for." + }, + "name": { + "type": "string", + "description": "The name of the repository the bypass request is for." + }, + "full_name": { + "type": "string", + "description": "The full name of the repository the bypass request is for." + } + } + }, + "organization": { + "type": "object", + "description": "The organization associated with the repository the bypass request is for.", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the organization." + }, + "name": { + "type": "string", + "description": "The name of the organization." + } + } + }, + "requester": { + "type": "object", + "description": "The user who requested the bypass.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who requested the bypass." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who requested the bypass." + } + } + }, + "request_type": { + "type": "string", + "description": "The type of request." + }, + "data": { + "nullable": true, + "type": "array", + "description": "Data describing the push rules that are being requested to be bypassed.", + "items": { + "type": "object", + "properties": { + "secret_type": { + "type": "string", + "description": "The type of secret that secret scanning detected." + }, + "bypass_reason": { + "type": "string", + "enum": [ + "used_in_tests", + "false_positive", + "fix_later" + ], + "description": "The reason the bypass was requested." + }, + "path": { + "type": "string", + "description": "The path in the repo where the secret was located during the request." + }, + "branch": { + "type": "string", + "description": "The branch in the repo where the secret was located during the request." + } + } + } + }, + "resource_identifier": { + "type": "string", + "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", + "example": "827efc6d56897b048c772eb4087f854f46256132" + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": "string", + "description": "The comment the requester provided when creating the bypass request.", + "nullable": true + }, + "expires_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request will expire." + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the bypass request was created." + }, + "responses": { + "type": "array", + "description": "The responses to the bypass request.", + "nullable": true, + "items": { + "title": "Bypass response", + "description": "A response made by a delegated bypasser to a bypass request.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the response to the bypass request." + }, + "reviewer": { + "type": "object", + "description": "The user who reviewed the bypass request.", + "properties": { + "actor_id": { + "type": "integer", + "description": "The ID of the GitHub user who reviewed the bypass request." + }, + "actor_name": { + "type": "string", + "description": "The name of the GitHub user who reviewed the bypass request." + } + } + }, + "status": { + "type": "string", + "description": "The response status to the bypass request until dismissed.", + "enum": [ + "approved", + "denied", + "dismissed" + ] + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the response to the bypass request was created." + } + } + } + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" + }, + "html_url": { + "type": "string", + "description": "The URL to view the bypass request in a browser.", + "format": "uri", + "example": "https://github.com/octo-org/smile/exemptions/1" + } + } + } + }, + "examples": { + "default": { + "value": [ + { + "id": 21, + "number": 42, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "used_in_tests", + "path": "/tests/README.md:16:0", + "branch": "refs/heads/main" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", + "status": "denied", + "requester_comment": "Test token used in the readme as an example", + "expires_at": "2024-07-08T08:43:03Z", + "created_at": "2024-07-01T08:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", + "html_url": "https://github.com/octo-org/smile/exemptions/1" + }, + { + "id": 12, + "number": 24, + "repository": { + "id": 1, + "name": "smile", + "full_name": "octo-org/smile" + }, + "organization": { + "id": 1, + "name": "octo-org" + }, + "requester": { + "actor_id": 12, + "actor_name": "monalisa" + }, + "request_type": "secret_scanning", + "data": [ + { + "secret_type": "adafruit_io_key", + "bypass_reason": "fix_later", + "path": "README.md:17:0", + "branch": "refs/heads/my-branch" + } + ], + "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", + "status": "denied", + "requester_comment": "Token is already revoked, I'll remove it later", + "expires_at": "2024-07-08T07:43:03Z", + "created_at": "2024-07-01T07:43:03Z", + "responses": [ + { + "id": 42, + "reviewer": { + "actor_id": 4, + "actor_name": "octocat" + }, + "status": "denied", + "created_at": "2024-07-02T08:43:04Z" + } + ], + "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", + "html_url": "https://github.com/octo-org/smile/exemptions/2" + } + ] + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + } + } + }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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 + } + }, + { + "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": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + } + } + } + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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" + } + } + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "nullable": true, + "type": "string" + }, + "email": { + "nullable": true, + "type": "string" + }, + "login": { + "type": "string", + "example": "octocat" + }, + "id": { + "type": "integer", + "format": "int64", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VXNlcjE=" + }, + "avatar_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/images/error/octocat_happy.gif" + }, + "gravatar_id": { + "type": "string", + "example": "41d064eb2195891e12d0413f63227ea7", + "nullable": true + }, + "url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/octocat" + }, + "followers_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/followers" + }, + "following_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/following{/other_user}" + }, + "gists_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/gists{/gist_id}" + }, + "starred_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}" + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/subscriptions" + }, + "organizations_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/orgs" + }, + "repos_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/repos" + }, + "events_url": { + "type": "string", + "example": "https://api.github.com/users/octocat/events{/privacy}" + }, + "received_events_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/users/octocat/received_events" + }, + "type": { + "type": "string", + "example": "User" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "example": "\"2020-07-09T00:17:55Z\"" + }, + "user_view_type": { + "type": "string", + "example": "public" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "title": "Team", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "node_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "slug": { + "type": "string" + }, + "description": { + "type": "string", + "nullable": true + }, + "privacy": { + "type": "string" + }, + "notification_setting": { + "type": "string" + }, + "permission": { + "type": "string" + }, + "permissions": { + "type": "object", + "properties": { + "pull": { + "type": "boolean" + }, + "triage": { + "type": "boolean" + }, + "push": { + "type": "boolean" + }, + "maintain": { + "type": "boolean" + }, + "admin": { + "type": "boolean" + } + }, + "required": [ + "pull", + "triage", + "push", + "maintain", + "admin" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "title": "Team Simple", + "description": "Groups of organization members that gives permissions on specified repositories.", + "type": "object", + "properties": { + "id": { + "description": "Unique identifier of the team", + "type": "integer", + "example": 1 + }, + "node_id": { + "type": "string", + "example": "MDQ6VGVhbTE=" + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1" + }, + "members_url": { + "type": "string", + "example": "https://api.github.com/organizations/1/team/1/members{/member}" + }, + "name": { + "description": "Name of the team", + "type": "string", + "example": "Justice League" + }, + "description": { + "description": "Description of the team", + "type": "string", + "nullable": true, + "example": "A great team." + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "example": "admin" + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "example": "closed" + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "example": "notifications_enabled" + }, + "html_url": { + "type": "string", + "format": "uri", + "example": "https://github.com/orgs/rails/teams/core" + }, + "repositories_url": { + "type": "string", + "format": "uri", + "example": "https://api.github.com/organizations/1/team/1/repos" + }, + "slug": { + "type": "string", + "example": "justice-league" + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "example": "uid=example,ou=users,dc=github,dc=com", + "type": "string" + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ], + "nullable": true + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug", + "parent" + ] + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, + "examples": { + "default": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "422": { + "description": "Unprocessable Entity", + "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": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { + "code": { "type": "string" }, - "url": { + "message": { "type": "string" }, - "status": { + "documentation_url": { "type": "string" } } @@ -91788,26 +94773,24 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } - } - }, - "/orgs/{org}/bypass-requests/secret-scanning": { - "get": { - "summary": "List bypass requests for secret scanning for an org", - "description": "List requests to bypass secret scanning push protection in an org.\n\nDelegated bypass must be enabled on repositories in the org and the user must be a bypass reviewer to access this endpoint.\nPersonal access tokens (classic) need the `security_events` scope to use this endpoint.", + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", "tags": [ - "secret-scanning" + "campaigns" ], - "operationId": "secret-scanning/list-org-bypass-requests", + "operationId": "campaigns/delete-campaign", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org" - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": true, - "category": "secret-scanning", - "subcategory": "delegated-bypass" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization" }, "parameters": [ { @@ -91820,373 +94803,18 @@ } }, { - "name": "repository_name", - "description": "The name of the repository to filter on.", - "in": "query", - "schema": { - "type": "string" - } - }, - { - "name": "reviewer", - "description": "Filter bypass requests by the handle of the GitHub user who reviewed the bypass request.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "requester", - "description": "Filter bypass requests by the handle of the GitHub user who requested the bypass.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "name": "time_period", - "description": "The time period to filter by.\n\nFor example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "hour", - "day", - "week", - "month" - ], - "default": "day" - } - }, - { - "name": "request_status", - "description": "The status of the bypass request to filter on. When specified, only requests with this status will be returned.", - "in": "query", - "required": false, - "schema": { - "type": "string", - "enum": [ - "completed", - "cancelled", - "expired", - "deleted", - "denied", - "open", - "all" - ], - "default": "all" - } - }, - { - "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", + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, "schema": { - "type": "integer", - "default": 1 + "type": "integer" } } ], "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "title": "Secret scanning bypass request", - "description": "A bypass request made by a user asking to be exempted from push protection in this repository.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The unique identifier of the bypass request." - }, - "number": { - "type": "integer", - "description": "The number uniquely identifying the bypass request within its repository." - }, - "repository": { - "type": "object", - "description": "The repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the repository the bypass request is for." - }, - "name": { - "type": "string", - "description": "The name of the repository the bypass request is for." - }, - "full_name": { - "type": "string", - "description": "The full name of the repository the bypass request is for." - } - } - }, - "organization": { - "type": "object", - "description": "The organization associated with the repository the bypass request is for.", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the organization." - }, - "name": { - "type": "string", - "description": "The name of the organization." - } - } - }, - "requester": { - "type": "object", - "description": "The user who requested the bypass.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who requested the bypass." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who requested the bypass." - } - } - }, - "request_type": { - "type": "string", - "description": "The type of request." - }, - "data": { - "nullable": true, - "type": "array", - "description": "Data describing the push rules that are being requested to be bypassed.", - "items": { - "type": "object", - "properties": { - "secret_type": { - "type": "string", - "description": "The type of secret that secret scanning detected." - }, - "bypass_reason": { - "type": "string", - "enum": [ - "used_in_tests", - "false_positive", - "fix_later" - ], - "description": "The reason the bypass was requested." - }, - "path": { - "type": "string", - "description": "The path in the repo where the secret was located during the request." - }, - "branch": { - "type": "string", - "description": "The branch in the repo where the secret was located during the request." - } - } - } - }, - "resource_identifier": { - "type": "string", - "description": "The unique identifier for the request type of the bypass request. For example, a commit SHA.", - "example": "827efc6d56897b048c772eb4087f854f46256132" - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": "string", - "description": "The comment the requester provided when creating the bypass request.", - "nullable": true - }, - "expires_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request will expire." - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the bypass request was created." - }, - "responses": { - "type": "array", - "description": "The responses to the bypass request.", - "nullable": true, - "items": { - "title": "Bypass response", - "description": "A response made by a delegated bypasser to a bypass request.", - "type": "object", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the response to the bypass request." - }, - "reviewer": { - "type": "object", - "description": "The user who reviewed the bypass request.", - "properties": { - "actor_id": { - "type": "integer", - "description": "The ID of the GitHub user who reviewed the bypass request." - }, - "actor_name": { - "type": "string", - "description": "The name of the GitHub user who reviewed the bypass request." - } - } - }, - "status": { - "type": "string", - "description": "The response status to the bypass request until dismissed.", - "enum": [ - "approved", - "denied", - "dismissed" - ] - }, - "created_at": { - "type": "string", - "format": "date-time", - "description": "The date and time the response to the bypass request was created." - } - } - } - }, - "url": { - "type": "string", - "format": "uri", - "example": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1" - }, - "html_url": { - "type": "string", - "description": "The URL to view the bypass request in a browser.", - "format": "uri", - "example": "https://github.com/octo-org/smile/exemptions/1" - } - } - } - }, - "examples": { - "default": { - "value": [ - { - "id": 21, - "number": 42, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "used_in_tests", - "path": "/tests/README.md:16:0", - "branch": "refs/heads/main" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46256132", - "status": "denied", - "requester_comment": "Test token used in the readme as an example", - "expires_at": "2024-07-08T08:43:03Z", - "created_at": "2024-07-01T08:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/1", - "html_url": "https://github.com/octo-org/smile/exemptions/1" - }, - { - "id": 12, - "number": 24, - "repository": { - "id": 1, - "name": "smile", - "full_name": "octo-org/smile" - }, - "organization": { - "id": 1, - "name": "octo-org" - }, - "requester": { - "actor_id": 12, - "actor_name": "monalisa" - }, - "request_type": "secret_scanning", - "data": [ - { - "secret_type": "adafruit_io_key", - "bypass_reason": "fix_later", - "path": "README.md:17:0", - "branch": "refs/heads/my-branch" - } - ], - "resource_identifier": "827efc6d56897b048c772eb4087f854f46255555", - "status": "denied", - "requester_comment": "Token is already revoked, I'll remove it later", - "expires_at": "2024-07-08T07:43:03Z", - "created_at": "2024-07-01T07:43:03Z", - "responses": [ - { - "id": 42, - "reviewer": { - "actor_id": 4, - "actor_name": "octocat" - }, - "status": "denied", - "created_at": "2024-07-02T08:43:04Z" - } - ], - "url": "https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2", - "html_url": "https://github.com/octo-org/smile/exemptions/2" - } - ] - } - } - } - } + "204": { + "description": "Deletion successful" }, "404": { "description": "Resource not found", @@ -92214,25 +94842,20 @@ } } }, - "500": { - "description": "Internal Error", + "503": { + "description": "Service unavailable", "content": { "application/json": { "schema": { - "title": "Basic Error", - "description": "Basic Error", "type": "object", "properties": { - "message": { - "type": "string" - }, - "documentation_url": { + "code": { "type": "string" }, - "url": { + "message": { "type": "string" }, - "status": { + "documentation_url": { "type": "string" } } @@ -92240,6 +94863,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -156099,7 +158728,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -157382,7 +160011,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -158672,7 +161301,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -160603,7 +163232,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -161911,7 +164540,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -163197,7 +165826,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -316397,6 +319026,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -316431,42 +319066,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -316733,6 +319339,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -316767,42 +319379,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -442281,7 +444864,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -443994,7 +446577,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -445067,7 +447650,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -446347,7 +448930,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -448297,7 +450880,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -449385,7 +451968,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -450661,7 +453244,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1130356,7 +1132939,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1133206,7 +1135789,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1136056,7 +1138639,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1137056,7 +1139639,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1137884,7 +1140467,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -1138715,7 +1141298,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index e9d979cf4d..97ae582ecd 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -103,6 +103,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -855,7 +857,7 @@ paths: - subscriptions_url - type - url - type: &340 + type: &343 type: string description: The type of credit the user is receiving. enum: @@ -1021,7 +1023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &666 + - &669 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1584,7 +1586,7 @@ paths: schema: type: integer default: 30 - - &262 + - &266 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1600,7 +1602,7 @@ paths: application/json: schema: type: array - items: &263 + items: &267 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1680,7 +1682,7 @@ paths: - installation_id - repository_id examples: - default: &264 + default: &268 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1712,7 +1714,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &676 + schema: &679 title: Scim Error description: Scim Error type: object @@ -1808,7 +1810,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &269 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1922,7 +1924,7 @@ paths: - request - response examples: - default: &266 + default: &270 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2849,7 +2851,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &322 + properties: &325 id: description: Unique identifier of the repository example: 42 @@ -3278,7 +3280,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &323 + required: &326 - archive_url - assignees_url - blobs_url @@ -11170,7 +11172,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &227 + - &231 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`, @@ -11180,7 +11182,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &228 + - &232 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 @@ -11203,7 +11205,7 @@ paths: be returned. in: query required: false - schema: &229 + schema: &233 type: string description: State of a code scanning alert. enum: @@ -11228,7 +11230,7 @@ paths: application/json: schema: type: array - items: &230 + items: &234 type: object properties: number: &100 @@ -11257,7 +11259,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &457 + instances_url: &460 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11292,7 +11294,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &458 + dismissed_reason: &461 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11301,13 +11303,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &459 + dismissed_comment: &462 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &460 + rule: &463 type: object properties: id: @@ -11360,7 +11362,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &461 + tool: &464 type: object properties: name: *87 @@ -11370,15 +11372,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &462 + most_recent_instance: &465 type: object properties: - ref: &455 + ref: &458 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &472 + analysis_key: &475 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11389,7 +11391,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &473 + category: &476 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11734,7 +11736,7 @@ paths: - most_recent_instance - repository examples: - default: &231 + default: &235 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12541,7 +12543,7 @@ paths: description: Response content: application/json: - schema: &233 + schema: &237 type: array description: A list of default code security configurations items: @@ -12557,7 +12559,7 @@ paths: default configuration: *90 examples: - default: &234 + default: &238 value: - default_for_new_repos: public configuration: @@ -12988,7 +12990,7 @@ paths: default: value: default_for_new_repos: all - configuration: &232 + configuration: &236 value: id: 1325 target_type: organization @@ -13071,7 +13073,7 @@ paths: application/json: schema: type: array - items: &235 + items: &239 type: object description: Repositories associated with a code security configuration and attachment status @@ -13095,7 +13097,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &236 + repository: &240 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13560,7 +13562,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &238 + items: &242 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -13578,7 +13580,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &284 + - &227 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13637,7 +13639,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &300 + properties: &303 id: description: Unique identifier of the team type: integer @@ -13693,7 +13695,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &301 + required: &304 - id - node_id - url @@ -13812,7 +13814,7 @@ paths: - created_at additionalProperties: false examples: - default: &239 + default: &243 value: total_seats: 2 seats: @@ -14382,7 +14384,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &245 + - &249 name: state in: query description: |- @@ -14391,7 +14393,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &246 + - &250 name: severity in: query description: |- @@ -14400,7 +14402,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &247 + - &251 name: ecosystem in: query description: |- @@ -14409,14 +14411,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &248 + - &252 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 - - &249 + - &253 name: epss_percentage in: query description: |- @@ -14428,7 +14430,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 - - &250 + - &254 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14438,7 +14440,7 @@ paths: enum: - development - runtime - - &251 + - &255 name: sort in: query description: |- @@ -14456,7 +14458,7 @@ paths: - *86 - *84 - *85 - - &252 + - &256 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14469,7 +14471,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &253 + - &257 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14489,7 +14491,7 @@ paths: application/json: schema: type: array - items: &254 + items: &258 type: object description: A Dependabot alert. properties: @@ -14552,7 +14554,7 @@ paths: - unknown - direct - transitive - security_advisory: &514 + security_advisory: &517 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14784,7 +14786,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &515 + auto_dismissed_at: &518 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14810,7 +14812,7 @@ paths: - repository additionalProperties: false examples: - default: &255 + default: &259 value: - number: 2 state: dismissed @@ -15276,7 +15278,7 @@ paths: - name - created_on examples: - default: &351 + default: &354 value: total_count: 2 network_configurations: @@ -15499,7 +15501,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *40 - - &352 + - &355 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15511,7 +15513,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &356 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15545,7 +15547,7 @@ paths: - subnet_id - region examples: - default: &354 + default: &357 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15847,7 +15849,7 @@ paths: required: true content: application/json: - schema: &320 + schema: &323 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16213,7 +16215,7 @@ paths: type: object description: A repository rule. oneOf: - - &624 + - &627 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16225,7 +16227,7 @@ paths: type: string enum: - creation - - &625 + - &628 title: update description: Only allow users with bypass permission to update matching refs. @@ -16246,7 +16248,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &627 + - &630 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16258,7 +16260,7 @@ paths: type: string enum: - deletion - - &628 + - &631 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16270,7 +16272,7 @@ paths: type: string enum: - required_linear_history - - &629 + - &632 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16346,7 +16348,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &630 + - &633 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16370,7 +16372,7 @@ paths: type: string required: - required_deployment_environments - - &631 + - &634 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16382,7 +16384,7 @@ paths: type: string enum: - required_signatures - - &632 + - &635 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16410,11 +16412,9 @@ paths: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot + for new pull requests, if the author has access to + Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss @@ -16444,7 +16444,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &633 + - &636 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16491,7 +16491,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &634 + - &637 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16503,7 +16503,7 @@ paths: type: string enum: - non_fast_forward - - &635 + - &638 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16539,7 +16539,7 @@ paths: required: - operator - pattern - - &636 + - &639 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16575,7 +16575,7 @@ paths: required: - operator - pattern - - &637 + - &640 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16611,7 +16611,7 @@ paths: required: - operator - pattern - - &638 + - &641 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16647,7 +16647,7 @@ paths: required: - operator - pattern - - &639 + - &642 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16683,7 +16683,7 @@ paths: required: - operator - pattern - - &640 + - &643 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16707,7 +16707,7 @@ paths: type: string required: - restricted_file_paths - - &641 + - &644 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16731,7 +16731,7 @@ paths: maximum: 256 required: - max_file_path_length - - &642 + - &645 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16754,7 +16754,7 @@ paths: type: string required: - restricted_file_extensions - - &643 + - &646 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16778,7 +16778,7 @@ paths: maximum: 100 required: - max_file_size - - &644 + - &647 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16827,7 +16827,7 @@ paths: - repository_id required: - workflows - - &645 + - &648 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -16984,7 +16984,7 @@ paths: nullable: true anyOf: - *121 - - &327 + - &330 title: Organization ruleset conditions type: object description: |- @@ -17265,7 +17265,7 @@ paths: type: string format: date-time examples: - default: &329 + default: &332 value: - version_id: 3 actor: @@ -17318,7 +17318,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &333 allOf: - *131 - type: object @@ -17373,7 +17373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &331 + - &334 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17384,7 +17384,7 @@ paths: enum: - open - resolved - - &332 + - &335 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17394,7 +17394,7 @@ paths: required: false schema: type: string - - &333 + - &336 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17403,7 +17403,7 @@ paths: required: false schema: type: string - - &334 + - &337 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. @@ -17419,7 +17419,7 @@ paths: - *17 - *84 - *85 - - &335 + - &338 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17428,7 +17428,7 @@ paths: required: false schema: type: string - - &336 + - &339 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17437,7 +17437,7 @@ paths: schema: type: boolean default: false - - &337 + - &340 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17453,7 +17453,7 @@ paths: application/json: schema: type: array - items: &338 + items: &341 type: object properties: number: *100 @@ -17472,14 +17472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &658 + state: &661 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: &659 + resolution: &662 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17581,7 +17581,7 @@ paths: is base64 encoded nullable: true examples: - default: &339 + default: &342 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -17844,7 +17844,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 type: object properties: total_minutes_used: @@ -17914,7 +17914,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &343 + default: &346 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -17945,7 +17945,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *40 - - &344 + - &347 name: advanced_security_product in: query description: The security feature to get GitHub Advanced Security active committers @@ -17963,7 +17963,7 @@ paths: description: Success content: application/json: - schema: &345 + schema: &348 type: object properties: total_advanced_security_committers: @@ -18018,7 +18018,7 @@ paths: required: - repositories examples: - default: &346 + default: &349 value: total_advanced_security_committers: 2 total_count: 2 @@ -18257,7 +18257,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &350 type: object properties: total_gigabytes_bandwidth_used: @@ -18275,7 +18275,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &348 + default: &351 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18307,7 +18307,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &352 type: object properties: days_left_in_billing_cycle: @@ -18325,7 +18325,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &350 + default: &353 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18695,7 +18695,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &563 + properties: &566 id: type: integer format: int64 @@ -18806,7 +18806,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &499 + properties: &502 url: type: string format: uri @@ -18876,7 +18876,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &500 + required: &503 - closed_issues - creator - description @@ -18955,7 +18955,7 @@ paths: timeline_url: type: string format: uri - type: &285 + type: &288 title: Issue Type description: The type of issue. type: object @@ -19080,7 +19080,7 @@ paths: - total - completed - percent_completed - required: &564 + required: &567 - assignee - closed_at - comments @@ -19102,7 +19102,7 @@ paths: - author_association - created_at - updated_at - comment: &561 + comment: &564 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19669,7 +19669,7 @@ paths: url: type: string format: uri - user: &715 + user: &718 title: Public User description: Public User type: object @@ -21539,7 +21539,7 @@ paths: - closed - all default: open - - &288 + - &291 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -21590,7 +21590,7 @@ paths: type: array items: *153 examples: - default: &289 + default: &292 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22974,14 +22974,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &374 + - &377 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &375 + - &378 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23052,7 +23052,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &388 + '301': &391 description: Moved permanently content: application/json: @@ -23074,7 +23074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &593 + - &596 name: all description: If `true`, show notifications marked as read. in: query @@ -23082,7 +23082,7 @@ paths: schema: type: boolean default: false - - &594 + - &597 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23092,7 +23092,7 @@ paths: type: boolean default: false - *143 - - &595 + - &598 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: @@ -23128,7 +23128,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &257 + properties: &261 id: type: integer format: int64 @@ -23404,7 +23404,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &324 + security_and_analysis: &327 nullable: true type: object properties: @@ -23476,7 +23476,7 @@ paths: enum: - enabled - disabled - required: &258 + required: &262 - archive_url - assignees_url - blobs_url @@ -23564,7 +23564,7 @@ paths: - url - subscription_url examples: - default: &596 + default: &599 value: - id: '1' repository: @@ -24110,7 +24110,7 @@ paths: type: array items: *58 examples: - default: &733 + default: &736 value: - login: github id: 1 @@ -24174,7 +24174,7 @@ paths: type: integer custom_roles: type: array - items: &240 + items: &244 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24222,7 +24222,7 @@ paths: - created_at - updated_at examples: - default: &241 + default: &245 value: id: 8030 name: Security Engineer @@ -25043,7 +25043,7 @@ paths: type: integer repository_cache_usages: type: array - items: &393 + items: &396 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25713,7 +25713,7 @@ paths: type: array items: *63 examples: - default: &727 + default: &730 value: total_count: 1 repositories: @@ -26532,7 +26532,7 @@ paths: type: array items: *196 examples: - default: &718 + default: &721 value: total_count: 1 repositories: @@ -27573,7 +27573,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &416 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -27602,7 +27602,7 @@ paths: - key_id - key examples: - default: &414 + default: &417 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28015,7 +28015,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *170 - - &398 + - &401 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28628,7 +28628,7 @@ paths: bundle_url: type: string examples: - default: &427 + default: &430 value: attestations: - bundle: @@ -28797,7 +28797,7 @@ paths: type: array items: *4 examples: - default: &290 + default: &293 value: - login: octocat id: 1 @@ -28975,7 +28975,7 @@ paths: application/json: schema: type: array - items: &444 + items: &447 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29100,7 +29100,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &445 + default: &448 value: - id: 21 number: 42 @@ -29168,6 +29168,546 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *99 + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - *170 + - *19 + - *17 + - *86 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &228 + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &229 + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, + in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: *4 + team_managers: + description: The campaign team managers + type: array + items: *227 + published_at: + description: The date and time the campaign was published, in + ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO + 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign + is still open. + type: string + format: date-time + nullable: true + state: *228 + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link + examples: + default: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited + by attackers. This reduces risk, prevents breaches and can help + protect sensitive data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + headers: + Link: *39 + '404': *6 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - *170 + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: &230 + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited + to prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '429': + description: Too Many Requests + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: *230 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: *228 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *229 + examples: + default: *230 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - *170 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *132 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29185,8 +29725,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *170 - - *227 - - *228 + - *231 + - *232 - *84 - *85 - *19 @@ -29197,7 +29737,7 @@ paths: be returned. in: query required: false - schema: *229 + schema: *233 - name: sort description: The property by which to sort the results. in: query @@ -29213,7 +29753,7 @@ paths: be returned. in: query required: false - schema: &456 + schema: &459 type: string description: Severity of a code scanning alert. enum: @@ -29231,9 +29771,9 @@ paths: application/json: schema: type: array - items: *230 + items: *234 examples: - default: *231 + default: *235 headers: Link: *39 '404': *6 @@ -29570,7 +30110,7 @@ paths: application/json: schema: *90 examples: - default: *232 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29598,9 +30138,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '304': *37 '403': *29 '404': *6 @@ -29684,7 +30224,7 @@ paths: application/json: schema: *90 examples: - default: *232 + default: *236 '304': *37 '403': *29 '404': *6 @@ -30084,7 +30624,7 @@ paths: default: value: default_for_new_repos: all - configuration: *232 + configuration: *236 '403': *29 '404': *6 x-github: @@ -30137,13 +30677,13 @@ paths: application/json: schema: type: array - items: *235 + items: *239 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *236 + repository: *240 '403': *29 '404': *6 x-github: @@ -30183,7 +30723,7 @@ paths: type: integer codespaces: type: array - items: &291 + items: &294 type: object title: Codespace description: A codespace. @@ -30213,7 +30753,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &485 + properties: &488 name: type: string description: The name of the machine. @@ -30255,7 +30795,7 @@ paths: - ready - in_progress nullable: true - required: &486 + required: &489 - name - display_name - operating_system @@ -30460,7 +31000,7 @@ paths: - pulls_url - recent_folders examples: - default: &292 + default: &295 value: total_count: 3 codespaces: @@ -31084,7 +31624,7 @@ paths: type: integer secrets: type: array - items: &237 + items: &241 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31123,7 +31663,7 @@ paths: - updated_at - visibility examples: - default: &487 + default: &490 value: total_count: 2 secrets: @@ -31161,7 +31701,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &491 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -31190,7 +31730,7 @@ paths: - key_id - key examples: - default: &489 + default: &492 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31220,9 +31760,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *241 examples: - default: &491 + default: &494 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -31689,9 +32229,9 @@ paths: currently being billed. seats: type: array - items: *238 + items: *242 examples: - default: *239 + default: *243 headers: Link: *39 '500': *99 @@ -32293,7 +32833,7 @@ paths: type: integer custom_roles: type: array - items: *240 + items: *244 examples: default: value: @@ -32385,7 +32925,7 @@ paths: required: true content: application/json: - schema: &243 + schema: &247 type: object properties: name: @@ -32426,9 +32966,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32453,7 +32993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *170 - - &242 + - &246 name: role_id description: The unique identifier of the role. in: path @@ -32465,9 +33005,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '404': *6 x-github: githubCloudOnly: true @@ -32490,12 +33030,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: application/json: - schema: &244 + schema: &248 type: object properties: name: @@ -32533,9 +33073,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32560,7 +33100,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -32593,7 +33133,7 @@ paths: required: true content: application/json: - schema: *243 + schema: *247 examples: default: value: @@ -32607,9 +33147,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32640,15 +33180,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *170 - - *242 + - *246 responses: '200': description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '404': *6 x-github: githubCloudOnly: true @@ -32677,12 +33217,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: application/json: - schema: *244 + schema: *248 examples: default: value: @@ -32697,9 +33237,9 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: - default: *241 + default: *245 '422': *15 '404': *6 x-github: @@ -32730,7 +33270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -32759,18 +33299,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *170 - - *245 - - *246 - - *247 - - *248 - *249 - *250 - *251 + - *252 + - *253 + - *254 + - *255 - *86 - *84 - *85 - - *252 - - *253 + - *256 + - *257 - *17 responses: '200': @@ -32779,9 +33319,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '304': *37 '400': *14 '403': *29 @@ -32825,7 +33365,7 @@ paths: type: integer secrets: type: array - items: &256 + items: &260 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -32902,7 +33442,7 @@ paths: description: Response content: application/json: - schema: &518 + schema: &521 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -32919,7 +33459,7 @@ paths: - key_id - key examples: - default: &519 + default: &522 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32949,7 +33489,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *260 examples: default: value: @@ -33246,7 +33786,7 @@ paths: application/json: schema: type: array - items: &303 + items: &306 title: Package description: A software package type: object @@ -33296,8 +33836,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *257 - required: *258 + properties: *261 + required: *262 nullable: true created_at: type: string @@ -33316,7 +33856,7 @@ paths: - created_at - updated_at examples: - default: &304 + default: &307 value: - id: 197 name: hello_docker @@ -33500,7 +34040,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -33581,7 +34121,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &370 + default: &373 value: group_id: '123' group_name: Octocat admins @@ -33636,7 +34176,7 @@ paths: description: Response content: application/json: - schema: &367 + schema: &370 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -33673,7 +34213,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &368 + default: &371 value: groups: - group_id: '123' @@ -33717,7 +34257,7 @@ paths: application/json: schema: type: array - items: &281 + items: &285 title: Organization Invitation description: Organization Invitation type: object @@ -33764,7 +34304,7 @@ paths: - invitation_teams_url - node_id examples: - default: &282 + default: &286 value: - id: 1 login: monalisa @@ -33831,7 +34371,7 @@ paths: application/json: schema: type: array - items: &325 + items: &328 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -33845,7 +34385,7 @@ paths: - name - description examples: - default: &326 + default: &329 value: - name: add_assignee description: Assign or remove a user @@ -33886,7 +34426,7 @@ paths: application/json: schema: type: array - items: &259 + items: &263 title: Org Hook description: Org Hook type: object @@ -34055,9 +34595,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: - default: &260 + default: &264 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -34102,7 +34642,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *170 - - &261 + - &265 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -34115,9 +34655,9 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: - default: *260 + default: *264 '404': *6 x-github: githubCloudOnly: false @@ -34139,7 +34679,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *170 - - *261 + - *265 requestBody: required: false content: @@ -34184,7 +34724,7 @@ paths: description: Response content: application/json: - schema: *259 + schema: *263 examples: default: value: @@ -34224,7 +34764,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *170 - - *261 + - *265 responses: '204': description: Response @@ -34250,7 +34790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *170 - - *261 + - *265 responses: '200': description: Response @@ -34279,7 +34819,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *170 - - *261 + - *265 requestBody: required: false content: @@ -34328,9 +34868,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *17 - - *262 + - *266 responses: '200': description: Response @@ -34338,9 +34878,9 @@ paths: application/json: schema: type: array - items: *263 + items: *267 examples: - default: *264 + default: *268 '400': *14 '422': *15 x-github: @@ -34364,16 +34904,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *16 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '400': *14 '422': *15 x-github: @@ -34397,7 +34937,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *170 - - *261 + - *265 - *16 responses: '202': *95 @@ -34424,7 +34964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *170 - - *261 + - *265 responses: '204': description: Response @@ -34447,7 +34987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *170 - - &271 + - &275 name: actor_type in: path description: The type of the actor @@ -34460,14 +35000,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &272 + - &276 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &267 + - &271 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -34475,7 +35015,7 @@ paths: required: true schema: type: string - - &268 + - &272 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -34569,12 +35109,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *170 - - *267 - - *268 + - *271 + - *272 - *19 - *17 - *86 - - &277 + - &281 name: sort description: The property to sort the results by. in: query @@ -34653,14 +35193,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *170 - - *267 - - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: &269 + schema: &273 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -34676,7 +35216,7 @@ paths: type: integer format: int64 examples: - default: &270 + default: &274 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -34697,23 +35237,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *170 - - &273 + - &277 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *267 - - *268 + - *271 + - *272 responses: '200': description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -34732,18 +35272,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *170 - - *267 - - *268 - *271 - *272 + - *275 + - *276 responses: '200': description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -34761,9 +35301,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *170 - - *267 - - *268 - - &274 + - *271 + - *272 + - &278 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -34776,7 +35316,7 @@ paths: description: Response content: application/json: - schema: &275 + schema: &279 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -34792,7 +35332,7 @@ paths: type: integer format: int64 examples: - default: &276 + default: &280 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -34829,18 +35369,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *170 - - *273 - - *267 - - *268 - - *274 + - *277 + - *271 + - *272 + - *278 responses: '200': description: Response content: application/json: - schema: *275 + schema: *279 examples: - default: *276 + default: *280 x-github: enabledForGitHubApps: true category: orgs @@ -34858,19 +35398,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *170 + - *275 + - *276 - *271 - *272 - - *267 - - *268 - - *274 + - *278 responses: '200': description: Response content: application/json: - schema: *275 + schema: *279 examples: - default: *276 + default: *280 x-github: enabledForGitHubApps: true category: orgs @@ -34888,13 +35428,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *170 - - *273 - - *267 - - *268 + - *277 + - *271 + - *272 - *19 - *17 - *86 - - *277 + - *281 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -34975,7 +35515,7 @@ paths: application/json: schema: *22 examples: - default: &557 + default: &560 value: id: 1 account: @@ -35141,12 +35681,12 @@ paths: application/json: schema: anyOf: - - &279 + - &283 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &278 + limit: &282 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -35171,7 +35711,7 @@ paths: properties: {} additionalProperties: false examples: - default: &280 + default: &284 value: limit: collaborators_only origin: organization @@ -35200,13 +35740,13 @@ paths: required: true content: application/json: - schema: &558 + schema: &561 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *278 + limit: *282 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -35230,9 +35770,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *280 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -35310,9 +35850,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 '404': *6 @@ -35390,7 +35930,7 @@ paths: description: Response content: application/json: - schema: *281 + schema: *285 examples: default: value: @@ -35447,7 +35987,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *170 - - &283 + - &287 name: invitation_id description: The unique identifier of the invitation. in: path @@ -35481,7 +36021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *170 - - *283 + - *287 - *17 - *19 responses: @@ -35491,9 +36031,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: &302 + default: &305 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -35536,7 +36076,7 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: default: value: @@ -35621,9 +36161,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: &286 + default: &289 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -35656,7 +36196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *170 - - &287 + - &290 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -35709,9 +36249,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - default: *286 + default: *289 '404': *6 '422': *7 x-github: @@ -35736,7 +36276,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *170 - - *287 + - *290 responses: '204': description: Response @@ -35799,7 +36339,7 @@ paths: - closed - all default: open - - *288 + - *291 - name: type description: Can be the name of an issue type. in: query @@ -35830,7 +36370,7 @@ paths: type: array items: *153 examples: - default: *289 + default: *292 headers: Link: *39 '404': *6 @@ -35888,7 +36428,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '422': *15 @@ -35984,9 +36524,9 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '304': *37 '500': *99 '401': *25 @@ -36013,7 +36553,7 @@ paths: parameters: - *170 - *218 - - &293 + - &296 name: codespace_name in: path required: true @@ -36048,15 +36588,15 @@ paths: parameters: - *170 - *218 - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: &484 + default: &487 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -36236,7 +36776,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -36311,7 +36851,7 @@ paths: description: Response content: application/json: - schema: &294 + schema: &297 title: Org Membership description: Org Membership type: object @@ -36363,7 +36903,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &295 + response-if-user-has-an-active-admin-membership-with-organization: &298 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -36460,9 +37000,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: - response-if-user-already-had-membership-with-organization: *295 + response-if-user-already-had-membership-with-organization: *298 '422': *15 '403': *29 x-github: @@ -36530,7 +37070,7 @@ paths: application/json: schema: type: array - items: &296 + items: &299 title: Migration description: A migration. type: object @@ -36859,7 +37399,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -37038,7 +37578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *170 - - &297 + - &300 name: migration_id description: The unique identifier of the migration. in: path @@ -37065,7 +37605,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -37235,7 +37775,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *170 - - *297 + - *300 responses: '302': description: Response @@ -37257,7 +37797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *170 - - *297 + - *300 responses: '204': description: Response @@ -37281,8 +37821,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *170 - - *297 - - &732 + - *300 + - &735 name: repo_name description: repo_name parameter in: path @@ -37310,7 +37850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *170 - - *297 + - *300 - *17 - *19 responses: @@ -37322,7 +37862,7 @@ paths: type: array items: *196 examples: - default: &309 + default: &312 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37531,7 +38071,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &298 + items: &301 title: Organization Role description: Organization roles type: object @@ -37738,7 +38278,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -37790,7 +38330,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *170 - - &299 + - &302 name: team_slug description: The slug of the team name. in: path @@ -37822,8 +38362,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *170 - - *299 - - *242 + - *302 + - *246 responses: '204': description: Response @@ -37853,8 +38393,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *170 - - *299 - - *242 + - *302 + - *246 responses: '204': description: Response @@ -37907,7 +38447,7 @@ paths: parameters: - *170 - *218 - - *242 + - *246 responses: '204': description: Response @@ -37939,7 +38479,7 @@ paths: parameters: - *170 - *218 - - *242 + - *246 responses: '204': description: Response @@ -37968,13 +38508,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *170 - - *242 + - *246 responses: '200': description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -38032,7 +38572,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *170 - - *242 + - *246 requestBody: required: true content: @@ -38071,7 +38611,7 @@ paths: description: Response content: application/json: - schema: *298 + schema: *301 examples: default: value: @@ -38125,7 +38665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *170 - - *242 + - *246 responses: '204': description: Response @@ -38151,7 +38691,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *170 - - *242 + - *246 - *17 - *19 responses: @@ -38229,8 +38769,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true required: - id @@ -38245,7 +38785,7 @@ paths: - slug - parent examples: - default: *302 + default: *305 headers: Link: *39 '404': @@ -38275,7 +38815,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *170 - - *242 + - *246 - *17 - *19 responses: @@ -38303,13 +38843,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &341 + items: &344 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 name: nullable: true type: string @@ -38404,7 +38944,7 @@ paths: - type - url examples: - default: *290 + default: *293 headers: Link: *39 '404': @@ -38452,7 +38992,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -38594,7 +39134,7 @@ paths: - nuget - container - *170 - - &734 + - &737 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -38630,12 +39170,12 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *304 + default: *307 '403': *29 '401': *25 - '400': &736 + '400': &739 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -38657,7 +39197,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &305 + - &308 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -38675,7 +39215,7 @@ paths: - docker - nuget - container - - &306 + - &309 name: package_name description: The name of the package. in: path @@ -38688,7 +39228,7 @@ paths: description: Response content: application/json: - schema: *303 + schema: *306 examples: default: value: @@ -38740,8 +39280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 responses: '204': @@ -38774,8 +39314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - name: token description: package token @@ -38808,8 +39348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - *19 - *17 @@ -38830,7 +39370,7 @@ paths: application/json: schema: type: array - items: &307 + items: &310 title: Package Version description: A version of a software package type: object @@ -38955,10 +39495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *305 - - *306 + - *308 + - *309 - *170 - - &308 + - &311 name: package_version_id description: Unique identifier of the package version. in: path @@ -38970,7 +39510,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -39006,10 +39546,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *305 - - *306 - - *170 - *308 + - *309 + - *170 + - *311 responses: '204': description: Response @@ -39041,10 +39581,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *305 - - *306 - - *170 - *308 + - *309 + - *170 + - *311 responses: '204': description: Response @@ -39074,7 +39614,7 @@ paths: - *170 - *17 - *19 - - &310 + - &313 name: sort description: The property by which to sort the results. in: query @@ -39085,7 +39625,7 @@ paths: - created_at default: created_at - *86 - - &311 + - &314 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -39096,7 +39636,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &312 + - &315 name: repository description: The name of the repository to use to filter the results. in: query @@ -39104,7 +39644,7 @@ paths: schema: type: string example: Hello-World - - &313 + - &316 name: permission description: The permission to use to filter the results. in: query @@ -39112,7 +39652,7 @@ paths: schema: type: string example: issues_read - - &314 + - &317 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39122,7 +39662,7 @@ paths: schema: type: string format: date-time - - &315 + - &318 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -39132,7 +39672,7 @@ paths: schema: type: string format: date-time - - &316 + - &319 name: token_id description: The ID of the token in: query @@ -39445,7 +39985,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -39471,14 +40011,14 @@ paths: - *170 - *17 - *19 - - *310 - - *86 - - *311 - - *312 - *313 + - *86 - *314 - *315 - *316 + - *317 + - *318 + - *319 responses: '500': *99 '422': *15 @@ -39760,7 +40300,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -39804,7 +40344,7 @@ paths: type: integer configurations: type: array - items: &317 + items: &320 title: Organization private registry description: Private registry configuration for an organization type: object @@ -40010,7 +40550,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &318 + org-private-registry-with-selected-visibility: &321 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -40110,9 +40650,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *317 + schema: *320 examples: - default: *318 + default: *321 '404': *6 x-github: githubCloudOnly: false @@ -40262,7 +40802,7 @@ paths: application/json: schema: type: array - items: &319 + items: &322 title: Project description: Projects are a way to organize columns and cards of work. @@ -40435,7 +40975,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: default: value: @@ -40473,7 +41013,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &385 + '410': &388 description: Gone content: application/json: @@ -40639,7 +41179,7 @@ paths: required: true content: application/json: - schema: *320 + schema: *323 examples: default: value: @@ -40742,7 +41282,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &321 + items: &324 title: Custom Property Value description: Custom property name and associated value type: object @@ -40829,7 +41369,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *321 + items: *324 required: - repository_names - properties @@ -40882,7 +41422,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -41022,7 +41562,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -41225,7 +41765,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &390 title: Full Repository description: Full Repository type: object @@ -41502,8 +42042,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *322 - required: *323 + properties: *325 + required: *326 nullable: true temp_clone_token: type: string @@ -41618,7 +42158,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &506 + properties: &509 url: type: string format: uri @@ -41634,12 +42174,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &507 + required: &510 - url - key - name - html_url - security_and_analysis: *324 + security_and_analysis: *327 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -41723,7 +42263,7 @@ paths: - network_count - subscribers_count examples: - default: &389 + default: &392 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -42249,9 +42789,9 @@ paths: application/json: schema: type: array - items: *325 + items: *328 examples: - default: *326 + default: *329 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42276,7 +42816,7 @@ paths: - *170 - *17 - *19 - - &646 + - &649 name: targets description: | A comma-separated list of rule targets to filter by. @@ -42367,7 +42907,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *327 + conditions: *330 rules: type: array description: An array of rules within the ruleset. @@ -42411,7 +42951,7 @@ paths: application/json: schema: *128 examples: - default: &328 + default: &331 value: id: 21 name: super cool ruleset @@ -42466,7 +43006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *170 - - &647 + - &650 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 @@ -42478,14 +43018,14 @@ paths: x-multi-segment: true - *225 - *221 - - &648 + - &651 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 - - &649 + - &652 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -42505,7 +43045,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &653 title: Rule Suites description: Response type: array @@ -42560,7 +43100,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &651 + default: &654 value: - id: 21 actor_id: 12 @@ -42604,7 +43144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *170 - - &652 + - &655 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -42620,7 +43160,7 @@ paths: description: Response content: application/json: - schema: &653 + schema: &656 title: Rule Suite description: Response type: object @@ -42719,7 +43259,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &654 + default: &657 value: id: 21 actor_id: 12 @@ -42794,7 +43334,7 @@ paths: application/json: schema: *128 examples: - default: *328 + default: *331 '404': *6 '500': *99 put: @@ -42843,7 +43383,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *126 - conditions: *327 + conditions: *330 rules: description: An array of rules within the ruleset. type: array @@ -42884,7 +43424,7 @@ paths: application/json: schema: *128 examples: - default: *328 + default: *331 '404': *6 '500': *99 delete: @@ -42943,7 +43483,7 @@ paths: type: array items: *131 examples: - default: *329 + default: *332 '404': *6 '500': *99 x-github: @@ -42980,7 +43520,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -43043,14 +43583,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *170 - - *331 - - *332 - - *333 - *334 + - *335 + - *336 + - *337 - *86 - *19 - *17 - - &656 + - &659 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -43060,7 +43600,7 @@ paths: required: false schema: type: string - - &657 + - &660 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -43070,9 +43610,9 @@ paths: required: false schema: type: string - - *335 - - *336 - - *337 + - *338 + - *339 + - *340 responses: '200': description: Response @@ -43080,9 +43620,9 @@ paths: application/json: schema: type: array - items: *338 + items: *341 examples: - default: *339 + default: *342 headers: Link: *39 '404': *6 @@ -43152,7 +43692,7 @@ paths: application/json: schema: type: array - items: &664 + items: &667 description: A repository security advisory. type: object properties: @@ -43372,7 +43912,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 credits_detailed: type: array nullable: true @@ -43382,7 +43922,7 @@ paths: type: object properties: user: *4 - type: *340 + type: *343 state: type: string description: The state of the user's acceptance of the @@ -43406,7 +43946,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *284 + items: *227 private_fork: readOnly: true nullable: true @@ -43443,7 +43983,7 @@ paths: - private_fork additionalProperties: false examples: - default: &665 + default: &668 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -43830,9 +44370,9 @@ paths: application/json: schema: type: array - items: *341 + items: *344 examples: - default: *302 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43856,7 +44396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -43882,7 +44422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -43917,9 +44457,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -43944,7 +44484,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *170 - - *344 + - *347 - *17 - *19 responses: @@ -43952,9 +44492,9 @@ paths: description: Success content: application/json: - schema: *345 + schema: *348 examples: - default: *346 + default: *349 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43982,9 +44522,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44012,9 +44552,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: - default: *350 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44054,7 +44594,7 @@ paths: type: array items: *111 examples: - default: *351 + default: *354 headers: Link: *39 x-github: @@ -44255,15 +44795,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *170 - - *352 + - *355 responses: '200': description: Response content: application/json: - schema: *353 + schema: *356 examples: - default: *354 + default: *357 headers: Link: *39 x-github: @@ -44301,7 +44841,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &379 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -44347,7 +44887,7 @@ paths: type: string nullable: true examples: - default: &377 + default: &380 value: groups: - group_id: '123' @@ -44393,7 +44933,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *170 - - *299 + - *302 - 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`). @@ -44459,9 +44999,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 headers: Link: *39 '403': *29 @@ -44555,7 +45095,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &358 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -44618,8 +45158,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *300 - required: *301 + properties: *303 + required: *304 nullable: true members_count: type: integer @@ -44865,7 +45405,7 @@ paths: - repos_count - organization examples: - default: &356 + default: &359 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44936,15 +45476,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -44966,7 +45506,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *170 - - *299 + - *302 requestBody: required: false content: @@ -45028,16 +45568,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '201': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 '422': *15 '403': *29 @@ -45063,7 +45603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *170 - - *299 + - *302 responses: '204': description: Response @@ -45090,7 +45630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *170 - - *299 + - *302 - *86 - *17 - *19 @@ -45107,7 +45647,7 @@ paths: application/json: schema: type: array - items: &357 + items: &360 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -45206,7 +45746,7 @@ paths: - updated_at - url examples: - default: &705 + default: &708 value: - author: login: octocat @@ -45281,7 +45821,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *170 - - *299 + - *302 requestBody: required: true content: @@ -45315,9 +45855,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: &358 + default: &361 value: author: login: octocat @@ -45390,8 +45930,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *170 - - *299 - - &359 + - *302 + - &362 name: discussion_number description: The number that identifies the discussion. in: path @@ -45403,9 +45943,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45428,8 +45968,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: false content: @@ -45452,9 +45992,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: &706 + default: &709 value: author: login: octocat @@ -45525,8 +46065,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 responses: '204': description: Response @@ -45553,8 +46093,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *170 - - *299 - - *359 + - *302 + - *362 - *86 - *17 - *19 @@ -45565,7 +46105,7 @@ paths: application/json: schema: type: array - items: &360 + items: &363 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -45637,7 +46177,7 @@ paths: - updated_at - url examples: - default: &707 + default: &710 value: - author: login: octocat @@ -45706,8 +46246,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: true content: @@ -45729,9 +46269,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: &361 + default: &364 value: author: login: octocat @@ -45798,9 +46338,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *170 - - *299 - - *359 - - &362 + - *302 + - *362 + - &365 name: comment_number description: The number that identifies the comment. in: path @@ -45812,9 +46352,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45837,9 +46377,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 requestBody: required: true content: @@ -45861,9 +46401,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: &708 + default: &711 value: author: login: octocat @@ -45928,9 +46468,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 responses: '204': description: Response @@ -45957,9 +46497,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -45985,7 +46525,7 @@ paths: application/json: schema: type: array - items: &363 + items: &366 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -46028,7 +46568,7 @@ paths: - content - created_at examples: - default: &365 + default: &368 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46079,9 +46619,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *170 - - *299 - - *359 + - *302 - *362 + - *365 requestBody: required: true content: @@ -46114,9 +46654,9 @@ paths: team discussion comment content: application/json: - schema: *363 + schema: *366 examples: - default: &364 + default: &367 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -46145,9 +46685,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46171,10 +46711,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *170 - - *299 - - *359 + - *302 - *362 - - &366 + - *365 + - &369 name: reaction_id description: The unique identifier of the reaction. in: path @@ -46207,8 +46747,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -46234,9 +46774,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -46263,8 +46803,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *170 - - *299 - - *359 + - *302 + - *362 requestBody: required: true content: @@ -46296,16 +46836,16 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46329,9 +46869,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *170 - - *299 - - *359 - - *366 + - *302 + - *362 + - *369 responses: '204': description: Response @@ -46355,15 +46895,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *367 + schema: *370 examples: - default: *368 + default: *371 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46383,7 +46923,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: - *170 - - *299 + - *302 requestBody: required: true content: @@ -46406,9 +46946,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - default: *370 + default: *373 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -46428,7 +46968,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: - *170 - - *299 + - *302 responses: '204': description: Response @@ -46453,7 +46993,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -46463,9 +47003,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 x-github: @@ -46488,7 +47028,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *170 - - *299 + - *302 - name: role description: Filters members returned by their role in the team. in: query @@ -46511,7 +47051,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -46542,14 +47082,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 responses: '200': description: Response content: application/json: - schema: &371 + schema: &374 title: Team Membership description: Team Membership type: object @@ -46576,7 +47116,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &709 + response-if-user-is-a-team-maintainer: &712 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -46613,7 +47153,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 requestBody: required: false @@ -46639,9 +47179,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: &710 + response-if-users-membership-with-team-is-now-pending: &713 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -46677,7 +47217,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *170 - - *299 + - *302 - *218 responses: '204': @@ -46704,7 +47244,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -46714,7 +47254,7 @@ paths: application/json: schema: type: array - items: &372 + items: &375 title: Team Project description: A team's access to a project. type: object @@ -46782,7 +47322,7 @@ paths: - updated_at - permissions examples: - default: &711 + default: &714 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46846,8 +47386,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *170 - - *299 - - &373 + - *302 + - &376 name: project_id description: The unique identifier of the project. in: path @@ -46859,9 +47399,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *375 examples: - default: &712 + default: &715 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -46924,8 +47464,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *170 - - *299 - - *373 + - *302 + - *376 requestBody: required: false content: @@ -46992,8 +47532,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *170 - - *299 - - *373 + - *302 + - *376 responses: '204': description: Response @@ -47021,7 +47561,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -47033,7 +47573,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -47063,15 +47603,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &713 + schema: &716 title: Team Repository description: A team's access to a repository. type: object @@ -47641,9 +48181,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 requestBody: required: false content: @@ -47689,9 +48229,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *170 - - *299 - - *374 - - *375 + - *302 + - *377 + - *378 responses: '204': description: Response @@ -47718,15 +48258,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *170 - - *299 + - *302 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47749,7 +48289,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *170 - - *299 + - *302 requestBody: required: true content: @@ -47792,7 +48332,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *379 examples: default: value: @@ -47825,7 +48365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *170 - - *299 + - *302 - *17 - *19 responses: @@ -47835,9 +48375,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - response-if-child-teams-exist: &714 + response-if-child-teams-exist: &717 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -47964,7 +48504,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &378 + - &381 name: card_id description: The unique identifier of the card. in: path @@ -47976,7 +48516,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &382 title: Project Card description: Project cards represent a scope of work. type: object @@ -48043,7 +48583,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &383 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -48099,7 +48639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *378 + - *381 requestBody: required: false content: @@ -48126,9 +48666,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *380 + default: *383 '304': *37 '403': *29 '401': *25 @@ -48155,7 +48695,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *378 + - *381 responses: '204': description: Response @@ -48199,7 +48739,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *378 + - *381 requestBody: required: true content: @@ -48310,7 +48850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &381 + - &384 name: column_id description: The unique identifier of the column. in: path @@ -48322,7 +48862,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &385 title: Project Column description: Project columns contain cards of work. type: object @@ -48368,7 +48908,7 @@ paths: - created_at - updated_at examples: - default: &383 + default: &386 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -48403,7 +48943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *381 + - *384 requestBody: required: true content: @@ -48427,9 +48967,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *385 examples: - default: *383 + default: *386 '304': *37 '403': *29 '401': *25 @@ -48454,7 +48994,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *381 + - *384 responses: '204': description: Response @@ -48483,7 +49023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *381 + - *384 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -48504,7 +49044,7 @@ paths: application/json: schema: type: array - items: *379 + items: *382 examples: default: value: @@ -48563,7 +49103,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *381 + - *384 requestBody: required: true content: @@ -48603,9 +49143,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *380 + default: *383 '304': *37 '403': *29 '401': *25 @@ -48661,7 +49201,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *381 + - *384 requestBody: required: true content: @@ -48721,15 +49261,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *373 + - *376 responses: '200': description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: &384 + default: &387 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -48786,7 +49326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *373 + - *376 requestBody: required: false content: @@ -48832,9 +49372,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: *384 + default: *387 '404': description: Not Found if the authenticated user does not have access to the project @@ -48855,7 +49395,7 @@ paths: items: type: string '401': *25 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -48878,7 +49418,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *373 + - *376 responses: '204': description: Delete Success @@ -48899,7 +49439,7 @@ paths: items: type: string '401': *25 - '410': *385 + '410': *388 '404': *6 x-github: githubCloudOnly: false @@ -48923,7 +49463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *373 + - *376 - 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 @@ -48950,7 +49490,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -48980,7 +49520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *373 + - *376 - *218 requestBody: required: false @@ -49033,7 +49573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *373 + - *376 - *218 responses: '204': @@ -49065,7 +49605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *373 + - *376 - *218 responses: '200': @@ -49139,7 +49679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *373 + - *376 - *17 - *19 responses: @@ -49149,7 +49689,7 @@ paths: application/json: schema: type: array - items: *382 + items: *385 examples: default: value: @@ -49187,7 +49727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *373 + - *376 requestBody: required: true content: @@ -49210,7 +49750,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *385 examples: default: value: @@ -49274,7 +49814,7 @@ paths: resources: type: object properties: - core: &386 + core: &389 title: Rate Limit type: object properties: @@ -49291,20 +49831,20 @@ paths: - remaining - reset - used - graphql: *386 - search: *386 - code_search: *386 - source_import: *386 - integration_manifest: *386 - code_scanning_upload: *386 - actions_runner_registration: *386 - scim: *386 - dependency_snapshots: *386 - code_scanning_autofix: *386 + graphql: *389 + search: *389 + code_search: *389 + source_import: *389 + integration_manifest: *389 + code_scanning_upload: *389 + actions_runner_registration: *389 + scim: *389 + dependency_snapshots: *389 + code_scanning_autofix: *389 required: - core - search - rate: *386 + rate: *389 required: - rate - resources @@ -49408,14 +49948,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *387 + schema: *390 examples: default-response: summary: Default response @@ -49920,7 +50460,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *388 + '301': *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49938,8 +50478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -50193,10 +50733,10 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 - '307': &390 + default: *392 + '307': &393 description: Temporary Redirect content: application/json: @@ -50225,8 +50765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -50248,7 +50788,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *390 + '307': *393 '404': *6 x-github: githubCloudOnly: false @@ -50271,11 +50811,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - - &405 + - &408 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -50298,7 +50838,7 @@ paths: type: integer artifacts: type: array - items: &391 + items: &394 title: Artifact description: An artifact type: object @@ -50376,7 +50916,7 @@ paths: - expires_at - updated_at examples: - default: &406 + default: &409 value: total_count: 2 artifacts: @@ -50437,9 +50977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *374 - - *375 - - &392 + - *377 + - *378 + - &395 name: artifact_id description: The unique identifier of the artifact. in: path @@ -50451,7 +50991,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *394 examples: default: value: @@ -50489,9 +51029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *374 - - *375 - - *392 + - *377 + - *378 + - *395 responses: '204': description: Response @@ -50515,9 +51055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *374 - - *375 - - *392 + - *377 + - *378 + - *395 - name: archive_format in: path required: true @@ -50531,7 +51071,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': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50554,14 +51094,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *393 + schema: *396 examples: default: value: @@ -50587,11 +51127,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - - &394 + - &397 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 @@ -50625,7 +51165,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &398 title: Repository actions caches description: Repository actions caches type: object @@ -50667,7 +51207,7 @@ paths: - total_count - actions_caches examples: - default: &396 + default: &399 value: total_count: 1 actions_caches: @@ -50699,23 +51239,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *374 - - *375 + - *377 + - *378 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *394 + - *397 responses: '200': description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *396 + default: *399 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50735,8 +51275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *374 - - *375 + - *377 + - *378 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -50767,9 +51307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *374 - - *375 - - &397 + - *377 + - *378 + - &400 name: job_id description: The unique identifier of the job. in: path @@ -50781,7 +51321,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &412 title: Job description: Information of a job execution in a workflow run type: object @@ -51088,9 +51628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *374 - - *375 - - *397 + - *377 + - *378 + - *400 responses: '302': description: Response @@ -51118,9 +51658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *374 - - *375 - - *397 + - *377 + - *378 + - *400 requestBody: required: false content: @@ -51165,8 +51705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Status response @@ -51216,8 +51756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -51280,8 +51820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -51299,7 +51839,7 @@ paths: type: integer secrets: type: array - items: &411 + items: &414 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -51319,7 +51859,7 @@ paths: - created_at - updated_at examples: - default: &412 + default: &415 value: total_count: 2 secrets: @@ -51352,9 +51892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *374 - - *375 - - *398 + - *377 + - *378 + - *401 - *19 responses: '200': @@ -51371,7 +51911,7 @@ paths: type: integer variables: type: array - items: &415 + items: &418 title: Actions Variable type: object properties: @@ -51401,7 +51941,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &419 value: total_count: 2 variables: @@ -51434,8 +51974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51444,7 +51984,7 @@ paths: schema: type: object properties: - enabled: &399 + enabled: &402 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *48 @@ -51477,8 +52017,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -51489,7 +52029,7 @@ paths: schema: type: object properties: - enabled: *399 + enabled: *402 allowed_actions: *48 required: - enabled @@ -51520,14 +52060,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &400 + schema: &403 type: object properties: access_level: @@ -51545,7 +52085,7 @@ paths: required: - access_level examples: - default: &401 + default: &404 value: access_level: organization x-github: @@ -51570,15 +52110,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 responses: '204': description: Response @@ -51602,8 +52142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51634,8 +52174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -51667,8 +52207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51697,8 +52237,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Success response @@ -51738,8 +52278,8 @@ paths: in: query schema: type: string - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -51783,8 +52323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -51816,8 +52356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -51891,8 +52431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -51928,8 +52468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -51959,8 +52499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': @@ -51990,8 +52530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '204': @@ -52017,8 +52557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': *66 @@ -52043,8 +52583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 requestBody: required: true @@ -52093,8 +52633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 requestBody: required: true @@ -52144,8 +52684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 responses: '200': *203 @@ -52175,8 +52715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *60 - *204 responses: @@ -52206,9 +52746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *374 - - *375 - - &419 + - *377 + - *378 + - &422 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. @@ -52216,7 +52756,7 @@ paths: required: false schema: type: string - - &420 + - &423 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -52224,7 +52764,7 @@ paths: required: false schema: type: string - - &421 + - &424 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -52233,7 +52773,7 @@ paths: required: false schema: type: string - - &422 + - &425 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 @@ -52260,7 +52800,7 @@ paths: - pending - *17 - *19 - - &423 + - &426 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -52269,7 +52809,7 @@ paths: schema: type: string format: date-time - - &402 + - &405 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -52278,13 +52818,13 @@ paths: schema: type: boolean default: false - - &424 + - &427 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &425 + - &428 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -52307,7 +52847,7 @@ paths: type: integer workflow_runs: type: array - items: &403 + items: &406 title: Workflow Run description: An invocation of a workflow type: object @@ -52402,7 +52942,7 @@ paths: that triggered the run. type: array nullable: true - items: &446 + items: &449 title: Pull Request Minimal type: object properties: @@ -52521,7 +53061,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &450 + properties: &453 id: type: string description: SHA for the commit @@ -52572,7 +53112,7 @@ paths: - name - email nullable: true - required: &451 + required: &454 - id - tree_id - message @@ -52619,7 +53159,7 @@ paths: - workflow_url - pull_requests examples: - default: &426 + default: &429 value: total_count: 1 workflow_runs: @@ -52855,24 +53395,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *374 - - *375 - - &404 + - *377 + - *378 + - &407 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *402 + - *405 responses: '200': description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: &407 + default: &410 value: id: 30433642 name: Build @@ -53113,9 +53653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '204': description: Response @@ -53138,9 +53678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -53259,9 +53799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '201': description: Response @@ -53294,12 +53834,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 - *17 - *19 - - *405 + - *408 responses: '200': description: Response @@ -53315,9 +53855,9 @@ paths: type: integer artifacts: type: array - items: *391 + items: *394 examples: - default: *406 + default: *409 headers: Link: *39 x-github: @@ -53341,25 +53881,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *374 - - *375 - - *404 - - &408 + - *377 + - *378 + - *407 + - &411 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *402 + - *405 responses: '200': description: Response content: application/json: - schema: *403 + schema: *406 examples: - default: *407 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53382,10 +53922,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *374 - - *375 - - *404 - - *408 + - *377 + - *378 + - *407 + - *411 - *17 - *19 responses: @@ -53403,9 +53943,9 @@ paths: type: integer jobs: type: array - items: *409 + items: *412 examples: - default: &410 + default: &413 value: total_count: 1 jobs: @@ -53518,10 +54058,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *374 - - *375 - - *404 - - *408 + - *377 + - *378 + - *407 + - *411 responses: '302': description: Response @@ -53549,9 +54089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '202': description: Response @@ -53584,9 +54124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: true content: @@ -53653,9 +54193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '202': description: Response @@ -53688,9 +54228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 - 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 @@ -53720,9 +54260,9 @@ paths: type: integer jobs: type: array - items: *409 + items: *412 examples: - default: *410 + default: *413 headers: Link: *39 x-github: @@ -53747,9 +54287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '302': description: Response @@ -53776,9 +54316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '204': description: Response @@ -53805,9 +54345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -53867,7 +54407,7 @@ paths: items: type: object properties: - type: &527 + type: &530 type: string description: The type of reviewer. enum: @@ -53877,7 +54417,7 @@ paths: reviewer: anyOf: - *4 - - *284 + - *227 required: - environment - wait_timer @@ -53952,9 +54492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: true content: @@ -54001,7 +54541,7 @@ paths: application/json: schema: type: array - items: &522 + items: &525 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -54107,7 +54647,7 @@ paths: - created_at - updated_at examples: - default: &523 + default: &526 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -54163,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: false content: @@ -54209,9 +54749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 requestBody: required: false content: @@ -54265,9 +54805,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *374 - - *375 - - *404 + - *377 + - *378 + - *407 responses: '200': description: Response @@ -54404,8 +54944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -54423,9 +54963,9 @@ paths: type: integer secrets: type: array - items: *411 + items: *414 examples: - default: *412 + default: *415 headers: Link: *39 x-github: @@ -54450,16 +54990,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54481,17 +55021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: &540 + default: &543 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -54517,8 +55057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -54576,8 +55116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -54603,9 +55143,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *374 - - *375 - - *398 + - *377 + - *378 + - *401 - *19 responses: '200': @@ -54622,9 +55162,9 @@ paths: type: integer variables: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *39 x-github: @@ -54647,8 +55187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -54700,17 +55240,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: &541 + default: &544 value: name: USERNAME value: octocat @@ -54736,8 +55276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 requestBody: required: true @@ -54780,8 +55320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 responses: '204': @@ -54807,8 +55347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -54826,7 +55366,7 @@ paths: type: integer workflows: type: array - items: &417 + items: &420 title: Workflow description: A GitHub Actions workflow type: object @@ -54933,9 +55473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *374 - - *375 - - &418 + - *377 + - *378 + - &421 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -54950,7 +55490,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *420 examples: default: value: @@ -54983,9 +55523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55010,9 +55550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55063,9 +55603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '204': description: Response @@ -55092,19 +55632,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *374 - - *375 - - *418 - - *419 - - *420 + - *377 + - *378 - *421 - *422 - - *17 - - *19 - *423 - - *402 - *424 - *425 + - *17 + - *19 + - *426 + - *405 + - *427 + - *428 responses: '200': description: Response @@ -55120,9 +55660,9 @@ paths: type: integer workflow_runs: type: array - items: *403 + items: *406 examples: - default: *426 + default: *429 headers: Link: *39 x-github: @@ -55155,9 +55695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *374 - - *375 - - *418 + - *377 + - *378 + - *421 responses: '200': description: Response @@ -55218,8 +55758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *374 - - *375 + - *377 + - *378 - *86 - *17 - *84 @@ -55383,8 +55923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -55396,7 +55936,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -55421,8 +55961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *374 - - *375 + - *377 + - *378 - name: assignee in: path required: true @@ -55458,8 +55998,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -55571,8 +56111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *84 - *85 @@ -55626,7 +56166,7 @@ paths: bundle_url: type: string examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55646,8 +56186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -55655,7 +56195,7 @@ paths: application/json: schema: type: array - items: &428 + items: &431 title: Autolink reference description: An autolink reference. type: object @@ -55705,8 +56245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -55745,9 +56285,9 @@ paths: description: response content: application/json: - schema: *428 + schema: *431 examples: - default: &429 + default: &432 value: id: 1 key_prefix: TICKET- @@ -55778,9 +56318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *374 - - *375 - - &430 + - *377 + - *378 + - &433 name: autolink_id description: The unique identifier of the autolink. in: path @@ -55792,9 +56332,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *431 examples: - default: *429 + default: *432 '404': *6 x-github: githubCloudOnly: false @@ -55814,9 +56354,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *374 - - *375 - - *430 + - *377 + - *378 + - *433 responses: '204': description: Response @@ -55840,8 +56380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response if Dependabot is enabled @@ -55889,8 +56429,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -55911,8 +56451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -55932,8 +56472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *374 - - *375 + - *377 + - *378 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -55971,7 +56511,7 @@ paths: - url protected: type: boolean - protection: &432 + protection: &435 title: Branch Protection description: Branch Protection type: object @@ -56013,7 +56553,7 @@ paths: required: - contexts - checks - enforce_admins: &435 + enforce_admins: &438 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -56028,7 +56568,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &437 + required_pull_request_reviews: &440 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -56049,7 +56589,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *284 + items: *227 apps: description: The list of apps with review dismissal access. @@ -56078,7 +56618,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *284 + items: *227 apps: description: The list of apps allowed to bypass pull request requirements. @@ -56104,7 +56644,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &434 + restrictions: &437 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -56411,9 +56951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *374 - - *375 - - &433 + - *377 + - *378 + - &436 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -56427,14 +56967,14 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &495 + commit: &498 title: Commit description: Commit type: object @@ -56468,7 +57008,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &431 + properties: &434 name: type: string example: '"Chris Wanstrath"' @@ -56483,7 +57023,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true message: type: string @@ -56504,7 +57044,7 @@ paths: required: - sha - url - verification: &547 + verification: &550 title: Verification type: object properties: @@ -56574,7 +57114,7 @@ paths: type: integer files: type: array - items: &510 + items: &513 title: Diff Entry description: Diff Entry type: object @@ -56657,7 +57197,7 @@ paths: - self protected: type: boolean - protection: *432 + protection: *435 protection_url: type: string format: uri @@ -56764,7 +57304,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *388 + '301': *391 '404': *6 x-github: githubCloudOnly: false @@ -56786,15 +57326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *432 + schema: *435 examples: default: value: @@ -56988,9 +57528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -57245,7 +57785,7 @@ paths: url: type: string format: uri - required_status_checks: &440 + required_status_checks: &443 title: Status Check Policy description: Status Check Policy type: object @@ -57321,7 +57861,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 apps: type: array items: *5 @@ -57339,7 +57879,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 apps: type: array items: *5 @@ -57397,7 +57937,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *434 + restrictions: *437 required_conversation_resolution: type: object properties: @@ -57509,9 +58049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57536,17 +58076,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: &436 + default: &439 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -57568,17 +58108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *436 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57597,9 +58137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57624,17 +58164,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: &438 + default: &441 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -57730,9 +58270,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -57830,9 +58370,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *440 examples: - default: *438 + default: *441 '422': *15 x-github: githubCloudOnly: false @@ -57853,9 +58393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57882,17 +58422,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: &439 + default: &442 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -57915,17 +58455,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *435 + schema: *438 examples: - default: *439 + default: *442 '404': *6 x-github: githubCloudOnly: false @@ -57945,9 +58485,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -57972,17 +58512,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: &441 + default: &444 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -58008,9 +58548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58062,9 +58602,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *443 examples: - default: *441 + default: *444 '404': *6 '422': *15 x-github: @@ -58086,9 +58626,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -58112,9 +58652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58148,9 +58688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58217,9 +58757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58283,9 +58823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: content: application/json: @@ -58351,15 +58891,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response content: application/json: - schema: *434 + schema: *437 examples: default: value: @@ -58450,9 +58990,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '204': description: Response @@ -58475,9 +59015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58487,7 +59027,7 @@ paths: type: array items: *5 examples: - default: &442 + default: &445 value: - id: 1 slug: octoapp @@ -58544,9 +59084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58580,7 +59120,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58601,9 +59141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58637,7 +59177,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58658,9 +59198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -58694,7 +59234,7 @@ paths: type: array items: *5 examples: - default: *442 + default: *445 '422': *15 x-github: githubCloudOnly: false @@ -58716,9 +59256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58726,9 +59266,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '404': *6 x-github: githubCloudOnly: false @@ -58748,9 +59288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58786,9 +59326,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58809,9 +59349,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: false content: @@ -58847,9 +59387,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58870,9 +59410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: content: application/json: @@ -58907,9 +59447,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 '422': *15 x-github: githubCloudOnly: false @@ -58931,9 +59471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 responses: '200': description: Response @@ -58943,7 +59483,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -58967,9 +59507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59002,7 +59542,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59027,9 +59567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59062,7 +59602,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59087,9 +59627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59122,7 +59662,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '422': *15 x-github: githubCloudOnly: false @@ -59149,9 +59689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 requestBody: required: true content: @@ -59173,7 +59713,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: default: value: @@ -59287,8 +59827,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *374 - - *375 + - *377 + - *378 - *219 - *220 - *221 @@ -59324,8 +59864,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59398,8 +59938,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - *219 - *220 - *221 @@ -59413,9 +59953,9 @@ paths: application/json: schema: type: array - items: *444 + items: *447 examples: - default: *445 + default: *448 '404': *6 '403': *29 '500': *99 @@ -59439,8 +59979,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59452,7 +59992,7 @@ paths: description: A single bypass request. content: application/json: - schema: *444 + schema: *447 examples: default: value: @@ -59510,8 +60050,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_request_number in: path required: true @@ -59582,8 +60122,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *374 - - *375 + - *377 + - *378 - name: bypass_response_id in: path required: true @@ -59616,8 +60156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -59896,7 +60436,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &450 title: CheckRun description: A check performed on the code of a given code change type: object @@ -60015,8 +60555,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *446 - deployment: &765 + items: *449 + deployment: &768 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -60296,9 +60836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *374 - - *375 - - &448 + - *377 + - *378 + - &451 name: check_run_id description: The unique identifier of the check run. in: path @@ -60310,9 +60850,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *450 examples: - default: &449 + default: &452 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -60412,9 +60952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 requestBody: required: true content: @@ -60654,9 +61194,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *450 examples: - default: *449 + default: *452 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60676,9 +61216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 - *17 - *19 responses: @@ -60775,9 +61315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *374 - - *375 - - *448 + - *377 + - *378 + - *451 responses: '201': description: Response @@ -60821,8 +61361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -60844,7 +61384,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &452 + schema: &455 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -60908,7 +61448,7 @@ paths: nullable: true pull_requests: type: array - items: *446 + items: *449 nullable: true app: title: GitHub app @@ -60930,12 +61470,12 @@ paths: type: string format: date-time nullable: true - head_commit: &791 + head_commit: &794 title: Simple Commit description: A commit. type: object - properties: *450 - required: *451 + properties: *453 + required: *454 latest_check_runs_count: type: integer check_runs_url: @@ -60963,7 +61503,7 @@ paths: - check_runs_url - pull_requests examples: - default: &453 + default: &456 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -61254,9 +61794,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61275,8 +61815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -61585,9 +62125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *374 - - *375 - - &454 + - *377 + - *378 + - &457 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -61599,9 +62139,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61624,17 +62164,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *374 - - *375 - - *454 - - &503 + - *377 + - *378 + - *457 + - &506 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &504 + - &507 name: status description: Returns check runs with the specified `status`. in: query @@ -61673,9 +62213,9 @@ paths: type: integer check_runs: type: array - items: *447 + items: *450 examples: - default: &505 + default: &508 value: total_count: 1 check_runs: @@ -61777,9 +62317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *374 - - *375 - - *454 + - *377 + - *378 + - *457 responses: '201': description: Response @@ -61812,21 +62352,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *374 - - *375 - - *227 - - *228 + - *377 + - *378 + - *231 + - *232 - *19 - *17 - - &470 + - &473 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: *455 - - &471 + schema: *458 + - &474 name: pr description: The number of the pull request for the results you want to list. in: query @@ -61851,13 +62391,13 @@ paths: be returned. in: query required: false - schema: *229 + schema: *233 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *456 + schema: *459 responses: '200': description: Response @@ -61873,7 +62413,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *457 + instances_url: *460 state: *89 fixed_at: *110 dismissed_by: @@ -61884,11 +62424,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *458 - dismissed_comment: *459 - rule: *460 - tool: *461 - most_recent_instance: *462 + dismissed_reason: *461 + dismissed_comment: *462 + rule: *463 + tool: *464 + most_recent_instance: *465 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62011,7 +62551,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &463 + '403': &466 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -62038,9 +62578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *374 - - *375 - - &464 + - *377 + - *378 + - &467 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -62054,7 +62594,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &468 type: object properties: number: *100 @@ -62062,7 +62602,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *457 + instances_url: *460 state: *89 fixed_at: *110 dismissed_by: @@ -62073,8 +62613,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *458 - dismissed_comment: *459 + dismissed_reason: *461 + dismissed_comment: *462 rule: type: object properties: @@ -62128,8 +62668,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *461 - most_recent_instance: *462 + tool: *464 + most_recent_instance: *465 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -62225,7 +62765,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62245,9 +62785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: true content: @@ -62262,8 +62802,8 @@ paths: enum: - open - dismissed - dismissed_reason: *458 - dismissed_comment: *459 + dismissed_reason: *461 + dismissed_comment: *462 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -62282,7 +62822,7 @@ paths: description: Response content: application/json: - schema: *465 + schema: *468 examples: default: value: @@ -62358,7 +62898,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &469 + '403': &472 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -62385,15 +62925,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: Response content: application/json: - schema: &466 + schema: &469 type: object properties: status: @@ -62419,13 +62959,13 @@ paths: - description - started_at examples: - default: &467 + default: &470 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &468 + '400': &471 description: Bad Request content: application/json: @@ -62436,7 +62976,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62461,29 +63001,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: OK content: application/json: - schema: *466 + schema: *469 examples: - default: *467 + default: *470 '202': description: Accepted content: application/json: - schema: *466 + schema: *469 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *468 + '400': *471 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -62515,9 +63055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: false content: @@ -62562,8 +63102,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *468 - '403': *469 + '400': *471 + '403': *472 '404': *6 '422': description: Unprocessable Entity @@ -62587,13 +63127,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 - *19 - *17 - - *470 - - *471 + - *473 + - *474 responses: '200': description: Response @@ -62601,7 +63141,7 @@ paths: application/json: schema: type: array - items: *462 + items: *465 examples: default: value: @@ -62640,7 +63180,7 @@ paths: end_column: 50 classifications: - source - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62674,25 +63214,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *374 - - *375 - - *227 - - *228 + - *377 + - *378 + - *231 + - *232 - *19 - *17 - - *471 + - *474 - 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: *455 + schema: *458 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &474 + schema: &477 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -62713,23 +63253,23 @@ paths: application/json: schema: type: array - items: &475 + items: &478 type: object properties: - ref: *455 - commit_sha: &483 + ref: *458 + commit_sha: &486 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: *472 + analysis_key: *475 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *473 + category: *476 error: type: string example: error reading field xyz @@ -62753,8 +63293,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *474 - tool: *461 + sarif_id: *477 + tool: *464 deletable: type: boolean warning: @@ -62815,7 +63355,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -62851,8 +63391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -62865,7 +63405,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *478 examples: response: summary: application/json response @@ -62919,7 +63459,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63001,8 +63541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -63055,7 +63595,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *469 + '403': *472 '404': *6 '503': *132 x-github: @@ -63077,8 +63617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -63086,7 +63626,7 @@ paths: application/json: schema: type: array - items: &476 + items: &479 title: CodeQL Database description: A CodeQL database. type: object @@ -63197,7 +63737,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63226,8 +63766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: language in: path description: The language of the CodeQL database. @@ -63239,7 +63779,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: default: value: @@ -63271,9 +63811,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &512 + '302': &515 description: Found - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -63295,8 +63835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *374 - - *375 + - *377 + - *378 - name: language in: path description: The language of the CodeQL database. @@ -63306,7 +63846,7 @@ paths: responses: '204': description: Response - '403': *469 + '403': *472 '404': *6 '503': *132 x-github: @@ -63334,8 +63874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -63344,7 +63884,7 @@ paths: type: object additionalProperties: false properties: - language: &477 + language: &480 type: string description: The language targeted by the CodeQL query enum: @@ -63423,7 +63963,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &481 + schema: &484 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -63433,7 +63973,7 @@ paths: description: The ID of the variant analysis. controller_repo: *96 actor: *4 - query_language: *477 + query_language: *480 query_pack_url: type: string description: The download url for the query pack. @@ -63480,7 +64020,7 @@ paths: items: type: object properties: - repository: &478 + repository: &481 title: Repository Identifier description: Repository Identifier type: object @@ -63516,7 +64056,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &482 + analysis_status: &485 type: string description: The new status of the CodeQL variant analysis repository task. @@ -63548,7 +64088,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &479 + access_mismatch_repos: &482 type: object properties: repository_count: @@ -63562,7 +64102,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: *478 + items: *481 required: - repository_count - repositories @@ -63584,8 +64124,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *479 - over_limit_repos: *479 + no_codeql_db_repos: *482 + over_limit_repos: *482 required: - access_mismatch_repos - not_found_repos @@ -63601,7 +64141,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &480 + value: &483 summary: Default response value: id: 1 @@ -63753,10 +64293,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *480 + value: *483 repository_lists: summary: Response for a successful variant analysis submission - value: *480 + value: *483 '404': *6 '422': description: Unable to process variant analysis submission @@ -63784,8 +64324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *374 - - *375 + - *377 + - *378 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -63797,9 +64337,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *484 examples: - default: *480 + default: *483 '404': *6 '503': *132 x-github: @@ -63822,7 +64362,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *374 + - *377 - name: repo in: path description: The name of the controller repository. @@ -63857,7 +64397,7 @@ paths: type: object properties: repository: *96 - analysis_status: *482 + analysis_status: *485 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -63982,8 +64522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64057,7 +64597,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *463 + '403': *466 '404': *6 '503': *132 x-github: @@ -64078,8 +64618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64161,7 +64701,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *469 + '403': *472 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -64226,8 +64766,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64235,7 +64775,7 @@ paths: schema: type: object properties: - commit_sha: *483 + commit_sha: *486 ref: type: string description: |- @@ -64293,7 +64833,7 @@ paths: schema: type: object properties: - id: *474 + id: *477 url: type: string description: The REST API URL for checking the status of the upload. @@ -64307,7 +64847,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *469 + '403': *472 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -64330,8 +64870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *374 - - *375 + - *377 + - *378 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -64377,7 +64917,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *463 + '403': *466 '404': description: Not Found if the sarif id does not match any upload '503': *132 @@ -64402,8 +64942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64484,8 +65024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -64605,8 +65145,8 @@ paths: parameters: - *17 - *19 - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -64622,7 +65162,7 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: default: value: @@ -64920,8 +65460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -64984,17 +65524,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '400': *14 '401': *25 '403': *29 @@ -65023,8 +65563,8 @@ paths: parameters: - *17 - *19 - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -65088,8 +65628,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -65124,14 +65664,14 @@ paths: type: integer machines: type: array - items: &721 + items: &724 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *485 - required: *486 + properties: *488 + required: *489 examples: - default: &722 + default: &725 value: total_count: 2 machines: @@ -65171,8 +65711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *374 - - *375 + - *377 + - *378 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -65256,8 +65796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -65323,8 +65863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -65342,7 +65882,7 @@ paths: type: integer secrets: type: array - items: &490 + items: &493 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -65362,7 +65902,7 @@ paths: - created_at - updated_at examples: - default: *487 + default: *490 headers: Link: *39 x-github: @@ -65385,16 +65925,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *488 + schema: *491 examples: - default: *489 + default: *492 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -65414,17 +65954,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *490 + schema: *493 examples: - default: *491 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65444,8 +65984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -65498,8 +66038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -65528,8 +66068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *374 - - *375 + - *377 + - *378 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -65571,7 +66111,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &492 + properties: &495 login: type: string example: octocat @@ -65664,7 +66204,7 @@ paths: user_view_type: type: string example: public - required: &493 + required: &496 - avatar_url - events_url - followers_url @@ -65738,8 +66278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '204': @@ -65782,8 +66322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 requestBody: required: false @@ -65810,7 +66350,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &560 + schema: &563 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -66032,8 +66572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '204': @@ -66063,8 +66603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *374 - - *375 + - *377 + - *378 - *218 responses: '200': @@ -66085,8 +66625,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *492 - required: *493 + properties: *495 + required: *496 nullable: true required: - permission @@ -66141,8 +66681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -66152,7 +66692,7 @@ paths: application/json: schema: type: array - items: &494 + items: &497 title: Commit Comment description: Commit Comment type: object @@ -66210,7 +66750,7 @@ paths: - created_at - updated_at examples: - default: &497 + default: &500 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66269,17 +66809,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *494 + schema: *497 examples: - default: &498 + default: &501 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66336,8 +66876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -66360,7 +66900,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: default: value: @@ -66411,8 +66951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -66434,8 +66974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -66462,9 +67002,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -66485,8 +67025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -66519,16 +67059,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -66550,10 +67090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -66602,8 +67142,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *374 - - *375 + - *377 + - *378 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -66659,9 +67199,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: &611 + default: &614 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66755,9 +67295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *374 - - *375 - - &496 + - *377 + - *378 + - &499 name: commit_sha description: The SHA of the commit. in: path @@ -66829,9 +67369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 - *17 - *19 responses: @@ -66841,9 +67381,9 @@ paths: application/json: schema: type: array - items: *494 + items: *497 examples: - default: *497 + default: *500 headers: Link: *39 x-github: @@ -66871,9 +67411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 requestBody: required: true content: @@ -66908,9 +67448,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: - default: *498 + default: *501 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -66938,9 +67478,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 - *17 - *19 responses: @@ -66950,7 +67490,7 @@ paths: application/json: schema: type: array - items: &602 + items: &605 title: Pull Request Simple description: Pull Request Simple type: object @@ -67056,8 +67596,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true active_lock_reason: type: string @@ -67102,7 +67642,7 @@ paths: nullable: true requested_teams: type: array - items: *284 + items: *227 nullable: true head: type: object @@ -67153,7 +67693,7 @@ paths: _links: type: object properties: - comments: &501 + comments: &504 title: Link description: Hypermedia Link type: object @@ -67162,13 +67702,13 @@ paths: type: string required: - href - commits: *501 - statuses: *501 - html: *501 - issue: *501 - review_comments: *501 - review_comment: *501 - self: *501 + commits: *504 + statuses: *504 + html: *504 + issue: *504 + review_comments: *504 + review_comment: *504 + self: *504 required: - comments - commits @@ -67179,7 +67719,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: &604 + auto_merge: &607 title: Auto merge description: The status of auto merging a pull request. type: object @@ -67242,7 +67782,7 @@ paths: - author_association - auto_merge examples: - default: &603 + default: &606 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -67779,11 +68319,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 - - &502 + - &505 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)" @@ -67798,9 +68338,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &589 + default: &592 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -67913,11 +68453,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *374 - - *375 - - *502 - - *503 - - *504 + - *377 + - *378 + - *505 + - *506 + - *507 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -67951,9 +68491,9 @@ paths: type: integer check_runs: type: array - items: *447 + items: *450 examples: - default: *505 + default: *508 headers: Link: *39 x-github: @@ -67978,9 +68518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -67988,7 +68528,7 @@ paths: schema: type: integer example: 1 - - *503 + - *506 - *17 - *19 responses: @@ -68006,7 +68546,7 @@ paths: type: integer check_suites: type: array - items: *452 + items: *455 examples: default: value: @@ -68206,9 +68746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - *17 - *19 responses: @@ -68406,9 +68946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *374 - - *375 - - *502 + - *377 + - *378 + - *505 - *17 - *19 responses: @@ -68418,7 +68958,7 @@ paths: application/json: schema: type: array - items: &669 + items: &672 title: Status description: The status of a commit. type: object @@ -68499,7 +69039,7 @@ paths: site_admin: false headers: Link: *39 - '301': *388 + '301': *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68527,8 +69067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -68557,20 +69097,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *506 - required: *507 + properties: *509 + required: *510 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &508 + properties: &511 url: type: string format: uri html_url: type: string format: uri - required: &509 + required: &512 - url - html_url nullable: true @@ -68584,26 +69124,26 @@ paths: contributing: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true readme: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true issue_template: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true pull_request_template: title: Community Health File type: object - properties: *508 - required: *509 + properties: *511 + required: *512 nullable: true required: - code_of_conduct @@ -68730,8 +69270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 - name: basehead @@ -68774,8 +69314,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *495 - merge_base_commit: *495 + base_commit: *498 + merge_base_commit: *498 status: type: string enum: @@ -68795,10 +69335,10 @@ paths: example: 6 commits: type: array - items: *495 + items: *498 files: type: array - items: *510 + items: *513 required: - url - html_url @@ -69084,8 +69624,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -69228,7 +69768,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &511 + response-if-content-is-a-file: &514 summary: Response if content is a file value: type: file @@ -69360,7 +69900,7 @@ paths: - size - type - url - - &616 + - &619 title: Content File description: Content File type: object @@ -69561,7 +70101,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *511 + response-if-content-is-a-file: *514 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -69630,7 +70170,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *512 + '302': *515 '304': *37 x-github: githubCloudOnly: false @@ -69653,8 +70193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -69747,7 +70287,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &516 title: File Commit description: File Commit type: object @@ -69899,7 +70439,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: example-for-creating-a-file: value: @@ -69953,7 +70493,7 @@ paths: schema: oneOf: - *3 - - &542 + - &545 description: Repository rule violation was detected type: object properties: @@ -69974,7 +70514,7 @@ paths: items: type: object properties: - placeholder_id: &661 + placeholder_id: &664 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -70006,8 +70546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *374 - - *375 + - *377 + - *378 - name: path description: path parameter in: path @@ -70068,7 +70608,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *516 examples: default: value: @@ -70123,8 +70663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *374 - - *375 + - *377 + - *378 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -70247,21 +70787,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *374 - - *375 - - *245 - - *246 - - *247 - - *248 + - *377 + - *378 + - *249 + - *250 + - *251 + - *252 - 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 - - *249 - - *250 - - *251 + - *253 + - *254 + - *255 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -70281,8 +70821,8 @@ paths: default: 30 - *84 - *85 - - *252 - - *253 + - *256 + - *257 responses: '200': description: Response @@ -70290,7 +70830,7 @@ paths: application/json: schema: type: array - items: &516 + items: &519 type: object description: A Dependabot alert. properties: @@ -70336,7 +70876,7 @@ paths: - unknown - direct - transitive - security_advisory: *514 + security_advisory: *517 security_vulnerability: *104 url: *105 html_url: *106 @@ -70367,7 +70907,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *515 + auto_dismissed_at: *518 required: - number - state @@ -70597,9 +71137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *374 - - *375 - - &517 + - *377 + - *378 + - &520 name: alert_number in: path description: |- @@ -70614,7 +71154,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70727,9 +71267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *374 - - *375 - - *517 + - *377 + - *378 + - *520 requestBody: required: true content: @@ -70774,7 +71314,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *519 examples: default: value: @@ -70903,8 +71443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -70922,7 +71462,7 @@ paths: type: integer secrets: type: array - items: &520 + items: &523 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -70975,16 +71515,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *518 + schema: *521 examples: - default: *519 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71004,15 +71544,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '200': description: Response content: application/json: - schema: *520 + schema: *523 examples: default: value: @@ -71038,8 +71578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 requestBody: required: true @@ -71092,8 +71632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *374 - - *375 + - *377 + - *378 - *206 responses: '204': @@ -71116,8 +71656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -71277,8 +71817,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -71517,8 +72057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -71593,7 +72133,7 @@ paths: - version - url additionalProperties: false - metadata: &521 + metadata: &524 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -71626,7 +72166,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *521 + metadata: *524 resolved: type: object description: A collection of resolved package dependencies. @@ -71639,7 +72179,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *521 + metadata: *524 relationship: type: string description: A notation of whether a dependency is requested @@ -71768,8 +72308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *374 - - *375 + - *377 + - *378 - name: sha description: The SHA recorded at creation time. in: query @@ -71809,9 +72349,9 @@ paths: application/json: schema: type: array - items: *522 + items: *525 examples: - default: *523 + default: *526 headers: Link: *39 x-github: @@ -71877,8 +72417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -71959,7 +72499,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: simple-example: summary: Simple example @@ -72032,9 +72572,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *374 - - *375 - - &524 + - *377 + - *378 + - &527 name: deployment_id description: deployment_id parameter in: path @@ -72046,7 +72586,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *525 examples: default: value: @@ -72111,9 +72651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 responses: '204': description: Response @@ -72135,9 +72675,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 - *17 - *19 responses: @@ -72147,7 +72687,7 @@ paths: application/json: schema: type: array - items: &525 + items: &528 title: Deployment Status description: The status of a deployment. type: object @@ -72308,9 +72848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 requestBody: required: true content: @@ -72385,9 +72925,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: - default: &526 + default: &529 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -72443,9 +72983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *374 - - *375 - - *524 + - *377 + - *378 + - *527 - name: status_id in: path required: true @@ -72456,9 +72996,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *528 examples: - default: *526 + default: *529 '404': *6 x-github: githubCloudOnly: false @@ -72483,8 +73023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -72541,8 +73081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -72559,7 +73099,7 @@ paths: type: integer environments: type: array - items: &528 + items: &531 title: Environment description: Details of a deployment environment type: object @@ -72611,7 +73151,7 @@ paths: type: type: string example: wait_timer - wait_timer: &530 + wait_timer: &533 type: integer example: 30 description: The amount of time to delay a job after @@ -72648,11 +73188,11 @@ paths: items: type: object properties: - type: *527 + type: *530 reviewer: anyOf: - *4 - - *284 + - *227 required: - id - node_id @@ -72672,7 +73212,7 @@ paths: - id - node_id - type - deployment_branch_policy: &531 + deployment_branch_policy: &534 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -72788,9 +73328,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *374 - - *375 - - &529 + - *377 + - *378 + - &532 name: environment_name in: path required: true @@ -72803,9 +73343,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: &532 + default: &535 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -72889,9 +73429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: false content: @@ -72900,7 +73440,7 @@ paths: type: object nullable: true properties: - wait_timer: *530 + wait_timer: *533 prevent_self_review: type: boolean example: false @@ -72917,13 +73457,13 @@ paths: items: type: object properties: - type: *527 + type: *530 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *531 + deployment_branch_policy: *534 additionalProperties: false examples: default: @@ -72943,9 +73483,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *531 examples: - default: *532 + default: *535 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -72969,9 +73509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 responses: '204': description: Default response @@ -72996,9 +73536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *17 - *19 responses: @@ -73016,7 +73556,7 @@ paths: example: 2 branch_policies: type: array - items: &533 + items: &536 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -73073,9 +73613,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: true content: @@ -73121,9 +73661,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - example-wildcard: &534 + example-wildcard: &537 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -73165,10 +73705,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - &535 + - *377 + - *378 + - *532 + - &538 name: branch_policy_id in: path required: true @@ -73180,9 +73720,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73201,10 +73741,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - *535 + - *377 + - *378 + - *532 + - *538 requestBody: required: true content: @@ -73232,9 +73772,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *536 examples: - default: *534 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73253,10 +73793,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *374 - - *375 - - *529 - - *535 + - *377 + - *378 + - *532 + - *538 responses: '204': description: Response @@ -73281,9 +73821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 responses: '200': description: List of deployment protection rules @@ -73299,7 +73839,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &536 + items: &539 title: Deployment protection rule description: Deployment protection rule type: object @@ -73318,7 +73858,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &537 + app: &540 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -73417,9 +73957,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 requestBody: content: application/json: @@ -73440,9 +73980,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *536 + schema: *539 examples: - default: &538 + default: &541 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -73477,9 +74017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *529 - - *375 - - *374 + - *532 + - *378 + - *377 - *19 - *17 responses: @@ -73498,7 +74038,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *537 + items: *540 examples: default: value: @@ -73533,10 +74073,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *374 - - *375 - - *529 - - &539 + - *377 + - *378 + - *532 + - &542 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -73548,9 +74088,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: - default: *538 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73571,10 +74111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *529 - - *375 - - *374 - - *539 + - *532 + - *378 + - *377 + - *542 responses: '204': description: Response @@ -73600,9 +74140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *17 - *19 responses: @@ -73620,9 +74160,9 @@ paths: type: integer secrets: type: array - items: *411 + items: *414 examples: - default: *412 + default: *415 headers: Link: *39 x-github: @@ -73647,17 +74187,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73679,18 +74219,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *540 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73712,9 +74252,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 requestBody: required: true @@ -73772,9 +74312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *206 responses: '204': @@ -73800,10 +74340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *374 - - *375 - - *529 - - *398 + - *377 + - *378 + - *532 + - *401 - *19 responses: '200': @@ -73820,9 +74360,9 @@ paths: type: integer variables: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *39 x-github: @@ -73845,9 +74385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 requestBody: required: true content: @@ -73899,18 +74439,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *374 - - *375 - - *529 + - *377 + - *378 + - *532 - *209 responses: '200': description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *541 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73931,10 +74471,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 - - *529 + - *532 requestBody: required: true content: @@ -73976,10 +74516,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *374 - - *375 + - *377 + - *378 - *209 - - *529 + - *532 responses: '204': description: Response @@ -74001,8 +74541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -74079,8 +74619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *374 - - *375 + - *377 + - *378 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -74239,8 +74779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -74272,9 +74812,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 '400': *14 '422': *15 '403': *29 @@ -74295,8 +74835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -74356,7 +74896,7 @@ paths: schema: oneOf: - *179 - - *542 + - *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74381,8 +74921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *374 - - *375 + - *377 + - *378 - name: file_sha in: path required: true @@ -74481,8 +75021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -74591,7 +75131,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &546 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -74805,15 +75345,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *374 - - *375 - - *496 + - *377 + - *378 + - *499 responses: '200': description: Response content: application/json: - schema: *543 + schema: *546 examples: default: value: @@ -74869,9 +75409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *374 - - *375 - - &544 + - *377 + - *378 + - &547 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. @@ -74888,7 +75428,7 @@ paths: application/json: schema: type: array - items: &545 + items: &548 title: Git Reference description: Git references within a repository type: object @@ -74963,17 +75503,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 responses: '200': description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: &546 + default: &549 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -75002,8 +75542,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75032,9 +75572,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -75060,9 +75600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 requestBody: required: true content: @@ -75091,9 +75631,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *548 examples: - default: *546 + default: *549 '422': *15 '409': *94 x-github: @@ -75111,9 +75651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *374 - - *375 - - *544 + - *377 + - *378 + - *547 responses: '204': description: Response @@ -75166,8 +75706,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75234,7 +75774,7 @@ paths: description: Response content: application/json: - schema: &548 + schema: &551 title: Git Tag description: Metadata for a Git tag type: object @@ -75285,7 +75825,7 @@ paths: - sha - type - url - verification: *547 + verification: *550 required: - sha - url @@ -75295,7 +75835,7 @@ paths: - tag - message examples: - default: &549 + default: &552 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -75368,8 +75908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *374 - - *375 + - *377 + - *378 - name: tag_sha in: path required: true @@ -75380,9 +75920,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *549 + default: *552 '404': *6 '409': *94 x-github: @@ -75406,8 +75946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -75480,7 +76020,7 @@ paths: description: Response content: application/json: - schema: &550 + schema: &553 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -75497,6 +76037,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -75523,29 +76068,8 @@ paths: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated examples: @@ -75592,8 +76116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *374 - - *375 + - *377 + - *378 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -75616,7 +76140,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *553 examples: default-response: summary: Default response @@ -75675,8 +76199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -75686,7 +76210,7 @@ paths: application/json: schema: type: array - items: &551 + items: &554 title: Webhook description: Webhooks for repositories. type: object @@ -75740,7 +76264,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &799 + last_response: &802 title: Hook Response type: object properties: @@ -75814,8 +76338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -75867,9 +76391,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: &552 + default: &555 value: type: Repository id: 12345678 @@ -75917,17 +76441,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '200': description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '404': *6 x-github: githubCloudOnly: false @@ -75947,9 +76471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 requestBody: required: true content: @@ -75994,9 +76518,9 @@ paths: description: Response content: application/json: - schema: *551 + schema: *554 examples: - default: *552 + default: *555 '422': *15 '404': *6 x-github: @@ -76017,9 +76541,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76043,9 +76567,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '200': description: Response @@ -76072,9 +76596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 requestBody: required: false content: @@ -76118,11 +76642,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *17 - - *262 + - *266 responses: '200': description: Response @@ -76130,9 +76654,9 @@ paths: application/json: schema: type: array - items: *263 + items: *267 examples: - default: *264 + default: *268 '400': *14 '422': *15 x-github: @@ -76151,18 +76675,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *16 responses: '200': description: Response content: application/json: - schema: *265 + schema: *269 examples: - default: *266 + default: *270 '400': *14 '422': *15 x-github: @@ -76181,9 +76705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 - *16 responses: '202': *95 @@ -76206,9 +76730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76233,9 +76757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *374 - - *375 - - *261 + - *377 + - *378 + - *265 responses: '204': description: Response @@ -76293,14 +76817,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &553 + schema: &556 title: Import description: A repository import from an external source. type: object @@ -76399,7 +76923,7 @@ paths: - html_url - authors_url examples: - default: &556 + default: &559 value: vcs: subversion use_lfs: true @@ -76415,7 +76939,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': &554 + '503': &557 description: Unavailable due to service under maintenance. content: application/json: @@ -76444,8 +76968,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -76493,7 +77017,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -76518,7 +77042,7 @@ paths: type: string '422': *15 '404': *6 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76546,8 +77070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -76596,7 +77120,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: example-1: summary: Example 1 @@ -76644,7 +77168,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': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76667,12 +77191,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76698,9 +77222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *374 - - *375 - - &745 + - *377 + - *378 + - &748 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -76714,7 +77238,7 @@ paths: application/json: schema: type: array - items: &555 + items: &558 title: Porter Author description: Porter Author type: object @@ -76768,7 +77292,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': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76793,8 +77317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *374 - - *375 + - *377 + - *378 - name: author_id in: path required: true @@ -76824,7 +77348,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *558 examples: default: value: @@ -76837,7 +77361,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76861,8 +77385,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -76903,7 +77427,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76931,8 +77455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -76959,11 +77483,11 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: - default: *556 + default: *559 '422': *15 - '503': *554 + '503': *557 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76986,8 +77510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -76995,8 +77519,8 @@ paths: application/json: schema: *22 examples: - default: *557 - '301': *388 + default: *560 + '301': *391 '404': *6 x-github: githubCloudOnly: false @@ -77016,8 +77540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -77025,12 +77549,12 @@ paths: application/json: schema: anyOf: - - *279 + - *283 - type: object properties: {} additionalProperties: false examples: - default: &559 + default: &562 value: limit: collaborators_only origin: repository @@ -77055,13 +77579,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: application/json: - schema: *558 + schema: *561 examples: default: summary: Example request body @@ -77073,9 +77597,9 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: - default: *559 + default: *562 '409': description: Response x-github: @@ -77097,8 +77621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -77121,8 +77645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -77132,9 +77656,9 @@ paths: application/json: schema: type: array - items: *560 + items: *563 examples: - default: &738 + default: &741 value: - id: 1 repository: @@ -77265,9 +77789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *374 - - *375 - - *283 + - *377 + - *378 + - *287 requestBody: required: false content: @@ -77296,7 +77820,7 @@ paths: description: Response content: application/json: - schema: *560 + schema: *563 examples: default: value: @@ -77427,9 +77951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *374 - - *375 - - *283 + - *377 + - *378 + - *287 responses: '204': description: Response @@ -77460,8 +77984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *374 - - *375 + - *377 + - *378 - 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 @@ -77509,7 +78033,7 @@ paths: required: false schema: type: string - - *288 + - *291 - name: sort description: What to sort results by. in: query @@ -77534,7 +78058,7 @@ paths: type: array items: *153 examples: - default: &571 + default: &574 value: - id: 1 node_id: MDU6SXNzdWUx @@ -77682,7 +78206,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *388 + '301': *391 '422': *15 '404': *6 x-github: @@ -77711,8 +78235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -77796,7 +78320,7 @@ paths: application/json: schema: *153 examples: - default: &566 + default: &569 value: id: 1 node_id: MDU6SXNzdWUx @@ -77952,7 +78476,7 @@ paths: '422': *15 '503': *132 '404': *6 - '410': *385 + '410': *388 x-github: triggersNotification: true githubCloudOnly: false @@ -77980,8 +78504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *163 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -78002,9 +78526,9 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: &568 + default: &571 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78062,17 +78586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: &562 + default: &565 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -78126,8 +78650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -78150,9 +78674,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: *562 + default: *565 '422': *15 x-github: githubCloudOnly: false @@ -78170,8 +78694,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -78192,8 +78716,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78220,9 +78744,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -78243,8 +78767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -78277,16 +78801,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -78308,10 +78832,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -78331,8 +78855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -78342,7 +78866,7 @@ paths: application/json: schema: type: array - items: &565 + items: &568 title: Issue Event description: Issue Event type: object @@ -78385,8 +78909,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *563 - required: *564 + properties: *566 + required: *567 nullable: true label: title: Issue Event Label @@ -78430,7 +78954,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *284 + requested_team: *227 dismissed_review: title: Issue Event Dismissed Review type: object @@ -78693,8 +79217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *374 - - *375 + - *377 + - *378 - name: event_id in: path required: true @@ -78705,7 +79229,7 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: default: value: @@ -78898,7 +79422,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *385 + '410': *388 '403': *29 x-github: githubCloudOnly: false @@ -78932,9 +79456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *374 - - *375 - - &567 + - *377 + - *378 + - &570 name: issue_number description: The number that identifies the issue. in: path @@ -78948,10 +79472,10 @@ paths: application/json: schema: *153 examples: - default: *566 - '301': *388 + default: *569 + '301': *391 '404': *6 - '410': *385 + '410': *388 '304': *37 x-github: githubCloudOnly: false @@ -78976,9 +79500,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -79083,13 +79607,13 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 '422': *15 '503': *132 '403': *29 - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79107,9 +79631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -79137,7 +79661,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79153,9 +79677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: content: application/json: @@ -79182,7 +79706,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79204,9 +79728,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - name: assignee in: path required: true @@ -79246,9 +79770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *143 - *17 - *19 @@ -79259,13 +79783,13 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: - default: *568 + default: *571 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79294,9 +79818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -79318,16 +79842,16 @@ paths: description: Response content: application/json: - schema: *561 + schema: *564 examples: - default: *562 + default: *565 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *385 + '410': *388 '422': *15 '404': *6 x-github: @@ -79347,9 +79871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -79363,7 +79887,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &572 + - &575 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -79417,7 +79941,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &576 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -79553,7 +80077,7 @@ paths: - performed_via_github_app - assignee - assigner - - &574 + - &577 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -79604,7 +80128,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &578 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -79655,7 +80179,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &579 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -79709,7 +80233,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &580 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -79743,7 +80267,7 @@ paths: properties: *138 required: *139 review_requester: *4 - requested_team: *284 + requested_team: *227 requested_reviewer: *4 required: - review_requester @@ -79756,7 +80280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &578 + - &581 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -79790,7 +80314,7 @@ paths: properties: *138 required: *139 review_requester: *4 - requested_team: *284 + requested_team: *227 requested_reviewer: *4 required: - review_requester @@ -79803,7 +80327,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &579 + - &582 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -79863,7 +80387,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &580 + - &583 title: Locked Issue Event description: Locked Issue Event type: object @@ -79911,7 +80435,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &581 + - &584 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -79977,7 +80501,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &582 + - &585 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -80043,7 +80567,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &583 + - &586 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -80109,7 +80633,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &584 + - &587 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -80200,7 +80724,7 @@ paths: color: red headers: Link: *39 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80217,9 +80741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -80229,7 +80753,7 @@ paths: application/json: schema: type: array - items: &569 + items: &572 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -80276,7 +80800,7 @@ paths: - color - default examples: - default: &570 + default: &573 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -80294,9 +80818,9 @@ paths: default: false headers: Link: *39 - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80313,9 +80837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80374,12 +80898,12 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 - '301': *388 + default: *573 + '301': *391 '404': *6 - '410': *385 + '410': *388 '422': *15 x-github: githubCloudOnly: false @@ -80396,9 +80920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80458,12 +80982,12 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 - '301': *388 + default: *573 + '301': *391 '404': *6 - '410': *385 + '410': *388 '422': *15 x-github: githubCloudOnly: false @@ -80480,15 +81004,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 responses: '204': description: Response - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80507,9 +81031,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - name: name in: path required: true @@ -80522,7 +81046,7 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: default: value: @@ -80533,9 +81057,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *388 + '301': *391 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80555,9 +81079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: false content: @@ -80585,7 +81109,7 @@ paths: '204': description: Response '403': *29 - '410': *385 + '410': *388 '404': *6 '422': *15 x-github: @@ -80603,9 +81127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 responses: '204': description: Response @@ -80627,9 +81151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - 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. @@ -80655,13 +81179,13 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80679,9 +81203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80713,16 +81237,16 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -80744,10 +81268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *374 - - *375 - - *567 - - *366 + - *377 + - *378 + - *570 + - *369 responses: '204': description: Response @@ -80776,9 +81300,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80802,7 +81326,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -80835,9 +81359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -80849,11 +81373,11 @@ paths: type: array items: *153 examples: - default: *571 + default: *574 headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80881,9 +81405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80912,14 +81436,14 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *385 + '410': *388 '422': *15 '404': *6 x-github: @@ -80939,9 +81463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 requestBody: required: true content: @@ -80974,7 +81498,7 @@ paths: application/json: schema: *153 examples: - default: *566 + default: *569 '403': *29 '404': *6 '422': *7 @@ -80996,9 +81520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *374 - - *375 - - *567 + - *377 + - *378 + - *570 - *17 - *19 responses: @@ -81013,9 +81537,6 @@ paths: description: Timeline Event type: object anyOf: - - *572 - - *573 - - *574 - *575 - *576 - *577 @@ -81026,6 +81547,9 @@ paths: - *582 - *583 - *584 + - *585 + - *586 + - *587 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -81330,7 +81854,7 @@ paths: type: string comments: type: array - items: &605 + items: &608 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -81539,7 +82063,7 @@ paths: type: string comments: type: array - items: *494 + items: *497 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -81828,7 +82352,7 @@ paths: headers: Link: *39 '404': *6 - '410': *385 + '410': *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81845,8 +82369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -81856,7 +82380,7 @@ paths: application/json: schema: type: array - items: &585 + items: &588 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -81921,8 +82445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -81958,9 +82482,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: &586 + default: &589 value: id: 1 key: ssh-rsa AAA... @@ -81994,9 +82518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *374 - - *375 - - &587 + - *377 + - *378 + - &590 name: key_id description: The unique identifier of the key. in: path @@ -82008,9 +82532,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '404': *6 x-github: githubCloudOnly: false @@ -82028,9 +82552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *374 - - *375 - - *587 + - *377 + - *378 + - *590 responses: '204': description: Response @@ -82050,8 +82574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -82061,9 +82585,9 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 + default: *573 headers: Link: *39 '404': *6 @@ -82084,8 +82608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82121,9 +82645,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: - default: &588 + default: &591 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82155,8 +82679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82167,9 +82691,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: - default: *588 + default: *591 '404': *6 x-github: githubCloudOnly: false @@ -82186,8 +82710,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82226,7 +82750,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *572 examples: default: value: @@ -82252,8 +82776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *374 - - *375 + - *377 + - *378 - name: name in: path required: true @@ -82279,8 +82803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -82316,8 +82840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '202': *95 '403': @@ -82345,8 +82869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -82372,9 +82896,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *374 - - *375 - - *470 + - *377 + - *378 + - *473 responses: '200': description: Response @@ -82519,8 +83043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82585,8 +83109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82620,9 +83144,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *495 + schema: *498 examples: - default: *589 + default: *592 '204': description: Response when already merged '404': @@ -82647,8 +83171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -82689,12 +83213,12 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 examples: default: value: @@ -82750,8 +83274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -82791,9 +83315,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &591 + default: &594 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -82852,9 +83376,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *374 - - *375 - - &592 + - *377 + - *378 + - &595 name: milestone_number description: The number that identifies the milestone. in: path @@ -82866,9 +83390,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 '404': *6 x-github: githubCloudOnly: false @@ -82885,9 +83409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 requestBody: required: false content: @@ -82925,9 +83449,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82943,9 +83467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 responses: '204': description: Response @@ -82966,9 +83490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *374 - - *375 - - *592 + - *377 + - *378 + - *595 - *17 - *19 responses: @@ -82978,9 +83502,9 @@ paths: application/json: schema: type: array - items: *569 + items: *572 examples: - default: *570 + default: *573 headers: Link: *39 x-github: @@ -82999,12 +83523,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *374 - - *375 - - *593 - - *594 + - *377 + - *378 + - *596 + - *597 - *143 - - *595 + - *598 - *17 - *19 responses: @@ -83016,7 +83540,7 @@ paths: type: array items: *166 examples: - default: *596 + default: *599 headers: Link: *39 x-github: @@ -83040,8 +83564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -83099,14 +83623,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: &597 + schema: &600 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -83231,7 +83755,7 @@ paths: - custom_404 - public examples: - default: &598 + default: &601 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -83272,8 +83796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83327,9 +83851,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *598 + default: *601 '422': *15 '409': *94 x-github: @@ -83352,8 +83876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83460,8 +83984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -83487,8 +84011,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -83498,7 +84022,7 @@ paths: application/json: schema: type: array - items: &599 + items: &602 title: Page Build description: Page Build type: object @@ -83592,8 +84116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *374 - - *375 + - *377 + - *378 responses: '201': description: Response @@ -83638,16 +84162,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: &600 + default: &603 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -83695,8 +84219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *374 - - *375 + - *377 + - *378 - name: build_id in: path required: true @@ -83707,9 +84231,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *602 examples: - default: *600 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83729,8 +84253,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -83835,9 +84359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *374 - - *375 - - &601 + - *377 + - *378 + - &604 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -83895,9 +84419,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *374 - - *375 - - *601 + - *377 + - *378 + - *604 responses: '204': *118 '404': *6 @@ -83924,8 +84448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -84183,8 +84707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Private vulnerability reporting status @@ -84221,8 +84745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': *118 '422': *14 @@ -84243,8 +84767,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': *118 '422': *14 @@ -84267,8 +84791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: Indicates the state of the projects to return. in: query @@ -84289,7 +84813,7 @@ paths: application/json: schema: type: array - items: *319 + items: *322 examples: default: value: @@ -84329,7 +84853,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -84352,8 +84876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84379,13 +84903,13 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: - default: *384 + default: *387 '401': *25 '403': *29 '404': *6 - '410': *385 + '410': *388 '422': *7 x-github: githubCloudOnly: false @@ -84408,8 +84932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -84417,7 +84941,7 @@ paths: application/json: schema: type: array - items: *321 + items: *324 examples: default: value: @@ -84448,8 +84972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84461,7 +84985,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *321 + items: *324 required: - properties examples: @@ -84511,8 +85035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *374 - - *375 + - *377 + - *378 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -84572,9 +85096,9 @@ paths: application/json: schema: type: array - items: *602 + items: *605 examples: - default: *603 + default: *606 headers: Link: *39 '304': *37 @@ -84606,8 +85130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -84672,7 +85196,7 @@ paths: description: Response content: application/json: - schema: &607 + schema: &610 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -84783,8 +85307,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true active_lock_reason: type: string @@ -84829,7 +85353,7 @@ paths: nullable: true requested_teams: type: array - items: *341 + items: *344 nullable: true head: type: object @@ -84868,14 +85392,14 @@ paths: _links: type: object properties: - comments: *501 - commits: *501 - statuses: *501 - html: *501 - issue: *501 - review_comments: *501 - review_comment: *501 - self: *501 + comments: *504 + commits: *504 + statuses: *504 + html: *504 + issue: *504 + review_comments: *504 + review_comment: *504 + self: *504 required: - comments - commits @@ -84886,7 +85410,7 @@ paths: - review_comment - self author_association: *140 - auto_merge: *604 + auto_merge: *607 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -84978,7 +85502,7 @@ paths: - merged_by - review_comments examples: - default: &608 + default: &611 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -85505,8 +86029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: sort in: query required: false @@ -85535,9 +86059,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: &610 + default: &613 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85614,17 +86138,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '200': description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: &606 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -85699,8 +86223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -85723,9 +86247,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: - default: *606 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85741,8 +86265,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 + - *377 + - *378 - *152 responses: '204': @@ -85764,8 +86288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -85792,9 +86316,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -85815,8 +86339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *374 - - *375 + - *377 + - *378 - *152 requestBody: required: true @@ -85849,16 +86373,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -85880,10 +86404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *374 - - *375 + - *377 + - *378 - *152 - - *366 + - *369 responses: '204': description: Response @@ -85926,9 +86450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *374 - - *375 - - &609 + - *377 + - *378 + - &612 name: pull_number description: The number that identifies the pull request. in: path @@ -85941,9 +86465,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '304': *37 '404': *6 '406': @@ -85978,9 +86502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86022,9 +86546,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '422': *15 '403': *29 x-github: @@ -86046,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -86108,17 +86632,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -86148,9 +86672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *163 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -86171,9 +86695,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *610 + default: *613 headers: Link: *39 x-github: @@ -86206,9 +86730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -86313,7 +86837,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: example-for-a-multi-line-comment: value: @@ -86401,9 +86925,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *152 requestBody: required: true @@ -86426,7 +86950,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *608 examples: default: value: @@ -86512,9 +87036,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -86524,9 +87048,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: *611 + default: *614 headers: Link: *39 x-github: @@ -86556,9 +87080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -86568,7 +87092,7 @@ paths: application/json: schema: type: array - items: *510 + items: *513 examples: default: value: @@ -86606,9 +87130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 responses: '204': description: Response if pull request has been merged @@ -86631,9 +87155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86744,9 +87268,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 responses: '200': description: Response @@ -86762,7 +87286,7 @@ paths: items: *4 teams: type: array - items: *284 + items: *227 required: - users - teams @@ -86821,9 +87345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -86860,7 +87384,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: default: value: @@ -87396,9 +87920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: true content: @@ -87432,7 +87956,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *605 examples: default: value: @@ -87937,9 +88461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 - *17 - *19 responses: @@ -87949,7 +88473,7 @@ paths: application/json: schema: type: array - items: &612 + items: &615 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -88100,9 +88624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -88188,9 +88712,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: &614 + default: &617 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88253,10 +88777,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - &613 + - *377 + - *378 + - *612 + - &616 name: review_id description: The unique identifier of the review. in: path @@ -88268,9 +88792,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: &615 + default: &618 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -88329,10 +88853,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88355,7 +88879,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: default: value: @@ -88417,18 +88941,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 responses: '200': description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: *614 + default: *617 '422': *7 '404': *6 x-github: @@ -88455,10 +88979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 - *17 - *19 responses: @@ -88541,9 +89065,9 @@ paths: _links: type: object properties: - self: *501 - html: *501 - pull_request: *501 + self: *504 + html: *504 + pull_request: *504 required: - self - html @@ -88686,10 +89210,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88717,7 +89241,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: default: value: @@ -88780,10 +89304,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *374 - - *375 - - *609 - - *613 + - *377 + - *378 + - *612 + - *616 requestBody: required: true content: @@ -88818,9 +89342,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *615 examples: - default: *615 + default: *618 '404': *6 '422': *7 '403': *29 @@ -88842,9 +89366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *374 - - *375 - - *609 + - *377 + - *378 + - *612 requestBody: required: false content: @@ -88907,8 +89431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *374 - - *375 + - *377 + - *378 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -88921,9 +89445,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: &617 + default: &620 value: type: file encoding: base64 @@ -88965,8 +89489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *374 - - *375 + - *377 + - *378 - name: dir description: The alternate path to look for a README file in: path @@ -88986,9 +89510,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 '404': *6 '422': *15 x-github: @@ -89010,8 +89534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -89021,7 +89545,7 @@ paths: application/json: schema: type: array - items: &618 + items: &621 title: Release description: A release. type: object @@ -89084,7 +89608,7 @@ paths: author: *4 assets: type: array - items: &619 + items: &622 title: Release Asset description: Data related to a release. type: object @@ -89265,8 +89789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -89342,9 +89866,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: &622 + default: &625 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -89447,9 +89971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *374 - - *375 - - &620 + - *377 + - *378 + - &623 name: asset_id description: The unique identifier of the asset. in: path @@ -89461,9 +89985,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: &621 + default: &624 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 @@ -89497,7 +90021,7 @@ paths: type: User site_admin: false '404': *6 - '302': *512 + '302': *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89513,9 +90037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *374 - - *375 - - *620 + - *377 + - *378 + - *623 requestBody: required: false content: @@ -89543,9 +90067,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *622 examples: - default: *621 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89561,9 +90085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *374 - - *375 - - *620 + - *377 + - *378 + - *623 responses: '204': description: Response @@ -89587,8 +90111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -89673,16 +90197,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89699,8 +90223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *374 - - *375 + - *377 + - *378 - name: tag description: tag parameter in: path @@ -89713,9 +90237,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '404': *6 x-github: githubCloudOnly: false @@ -89737,9 +90261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *374 - - *375 - - &623 + - *377 + - *378 + - &626 name: release_id description: The unique identifier of the release. in: path @@ -89753,9 +90277,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '401': description: Unauthorized x-github: @@ -89773,9 +90297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 requestBody: required: false content: @@ -89839,9 +90363,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *622 + default: *625 '404': description: Not Found if the discussion category name is invalid content: @@ -89862,9 +90386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 responses: '204': description: Response @@ -89884,9 +90408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - *17 - *19 responses: @@ -89896,7 +90420,7 @@ paths: application/json: schema: type: array - items: *619 + items: *622 examples: default: value: @@ -89977,9 +90501,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: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - name: name in: query required: true @@ -90005,7 +90529,7 @@ paths: description: Response for successful upload content: application/json: - schema: *619 + schema: *622 examples: response-for-successful-upload: value: @@ -90059,9 +90583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -90085,9 +90609,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 '404': *6 @@ -90108,9 +90632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *374 - - *375 - - *623 + - *377 + - *378 + - *626 requestBody: required: true content: @@ -90140,16 +90664,16 @@ paths: description: Reaction exists content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '201': description: Reaction created content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '422': *15 x-github: githubCloudOnly: false @@ -90171,10 +90695,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *374 - - *375 - - *623 - - *366 + - *377 + - *378 + - *626 + - *369 responses: '204': description: Response @@ -90198,9 +90722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *374 - - *375 - - *433 + - *377 + - *378 + - *436 - *17 - *19 responses: @@ -90216,8 +90740,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *624 - - &626 + - *627 + - &629 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -90236,66 +90760,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *625 - - *626 - - allOf: - - *627 - - *626 - allOf: - *628 - - *626 - - allOf: - *629 - - *626 - allOf: - *630 - - *626 + - *629 - allOf: - *631 - - *626 + - *629 - allOf: - *632 - - *626 + - *629 - allOf: - *633 - - *626 + - *629 - allOf: - *634 - - *626 + - *629 - allOf: - *635 - - *626 + - *629 - allOf: - *636 - - *626 + - *629 - allOf: - *637 - - *626 + - *629 - allOf: - *638 - - *626 + - *629 - allOf: - *639 - - *626 + - *629 - allOf: - *640 - - *626 + - *629 - allOf: - *641 - - *626 + - *629 - allOf: - *642 - - *626 + - *629 - allOf: - *643 - - *626 + - *629 - allOf: - *644 - - *626 + - *629 - allOf: - *645 - - *626 + - *629 + - allOf: + - *646 + - *629 + - allOf: + - *647 + - *629 + - allOf: + - *648 + - *629 examples: default: value: @@ -90334,8 +90858,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - name: includes_parents @@ -90346,7 +90870,7 @@ paths: schema: type: boolean default: true - - *646 + - *649 responses: '200': description: Response @@ -90401,8 +90925,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 requestBody: description: Request body required: true @@ -90464,7 +90988,7 @@ paths: application/json: schema: *128 examples: - default: &655 + default: &658 value: id: 42 name: super cool ruleset @@ -90511,12 +91035,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *374 - - *375 - - *647 + - *377 + - *378 + - *650 - *221 - - *648 - - *649 + - *651 + - *652 - *17 - *19 responses: @@ -90524,9 +91048,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 '404': *6 '500': *99 x-github: @@ -90547,17 +91071,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *374 - - *375 - - *652 + - *377 + - *378 + - *655 responses: '200': description: Response content: application/json: - schema: *653 + schema: *656 examples: - default: *654 + default: *657 '404': *6 '500': *99 x-github: @@ -90585,8 +91109,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90608,7 +91132,7 @@ paths: application/json: schema: *128 examples: - default: *655 + default: *658 '404': *6 '500': *99 put: @@ -90626,8 +91150,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90691,7 +91215,7 @@ paths: application/json: schema: *128 examples: - default: *655 + default: *658 '404': *6 '500': *99 delete: @@ -90709,8 +91233,8 @@ paths: category: repos subcategory: rules parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90733,8 +91257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 - name: ruleset_id @@ -90752,7 +91276,7 @@ paths: type: array items: *131 examples: - default: *329 + default: *332 '404': *6 '500': *99 x-github: @@ -90771,8 +91295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *374 - - *375 + - *377 + - *378 - name: ruleset_id description: The ID of the ruleset. in: path @@ -90790,7 +91314,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -90845,20 +91369,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *374 - - *375 - - *331 - - *332 - - *333 + - *377 + - *378 - *334 - - *86 - - *19 - - *17 - - *656 - - *657 - *335 - *336 - *337 + - *86 + - *19 + - *17 + - *659 + - *660 + - *338 + - *339 + - *340 responses: '200': description: Response @@ -90866,7 +91390,7 @@ paths: application/json: schema: type: array - items: &660 + items: &663 type: object properties: number: *100 @@ -90885,8 +91409,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *658 - resolution: *659 + state: *661 + resolution: *662 resolved_at: type: string format: date-time @@ -91104,15 +91628,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 responses: '200': description: Response content: application/json: - schema: *660 + schema: *663 examples: default: value: @@ -91164,9 +91688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 requestBody: required: true content: @@ -91174,8 +91698,8 @@ paths: schema: type: object properties: - state: *658 - resolution: *659 + state: *661 + resolution: *662 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -91193,7 +91717,7 @@ paths: description: Response content: application/json: - schema: *660 + schema: *663 examples: default: value: @@ -91268,9 +91792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *374 - - *375 - - *464 + - *377 + - *378 + - *467 - *19 - *17 responses: @@ -91281,7 +91805,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &820 + items: &823 type: object properties: type: @@ -91640,8 +92164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -91649,14 +92173,14 @@ paths: schema: type: object properties: - reason: &662 + reason: &665 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *661 + placeholder_id: *664 required: - reason - placeholder_id @@ -91673,7 +92197,7 @@ paths: schema: type: object properties: - reason: *662 + reason: *665 expire_at: type: string format: date-time @@ -91716,8 +92240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -91732,7 +92256,7 @@ paths: properties: incremental_scans: type: array - items: &663 + items: &666 description: Information on a single scan performed by secret scanning on the repository type: object @@ -91758,15 +92282,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *663 + items: *666 backfill_scans: type: array - items: *663 + items: *666 custom_pattern_backfill_scans: type: array items: allOf: - - *663 + - *666 - type: object properties: pattern_name: @@ -91836,8 +92360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *374 - - *375 + - *377 + - *378 - *86 - name: sort description: The property to sort the results by. @@ -91881,9 +92405,9 @@ paths: application/json: schema: type: array - items: *664 + items: *667 examples: - default: *665 + default: *668 '400': *14 '404': *6 x-github: @@ -91906,8 +92430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -91980,7 +92504,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 required: - login - type @@ -92067,9 +92591,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: &667 + default: &670 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -92302,8 +92826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -92407,7 +92931,7 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: default: value: @@ -92554,17 +93078,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '200': description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *667 + default: *670 '403': *29 '404': *6 x-github: @@ -92588,9 +93112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 requestBody: required: true content: @@ -92663,7 +93187,7 @@ paths: login: type: string description: The username of the user credited. - type: *340 + type: *343 required: - login - type @@ -92749,10 +93273,10 @@ paths: description: Response content: application/json: - schema: *664 + schema: *667 examples: - default: *667 - add_credit: *667 + default: *670 + add_credit: *670 '403': *29 '404': *6 '422': @@ -92790,9 +93314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '202': *95 '400': *14 @@ -92819,17 +93343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *374 - - *375 - - *666 + - *377 + - *378 + - *669 responses: '202': description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 '400': *14 '422': *15 '403': *29 @@ -92855,8 +93379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -92955,8 +93479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -92965,7 +93489,7 @@ paths: application/json: schema: type: array - items: &668 + items: &671 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -92998,8 +93522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93075,8 +93599,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93172,8 +93696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -93327,8 +93851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -93338,7 +93862,7 @@ paths: application/json: schema: type: array - items: *668 + items: *671 examples: default: value: @@ -93371,8 +93895,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *374 - - *375 + - *377 + - *378 - name: sha in: path required: true @@ -93426,7 +93950,7 @@ paths: description: Response content: application/json: - schema: *669 + schema: *672 examples: default: value: @@ -93480,8 +94004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93493,7 +94017,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -93513,14 +94037,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &670 + schema: &673 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -93588,8 +94112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: false content: @@ -93615,7 +94139,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *673 examples: default: value: @@ -93642,8 +94166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -93663,8 +94187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93743,8 +94267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -93752,7 +94276,7 @@ paths: application/json: schema: type: array - items: &671 + items: &674 title: Tag protection description: Tag protection type: object @@ -93804,8 +94328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -93828,7 +94352,7 @@ paths: description: Response content: application/json: - schema: *671 + schema: *674 examples: default: value: @@ -93859,8 +94383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -93897,8 +94421,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *374 - - *375 + - *377 + - *378 - name: ref in: path required: true @@ -93934,8 +94458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *374 - - *375 + - *377 + - *378 - *17 - *19 responses: @@ -93945,9 +94469,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - default: *302 + default: *305 headers: Link: *39 '404': *6 @@ -93967,8 +94491,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *374 - - *375 + - *377 + - *378 - *19 - *17 responses: @@ -93976,7 +94500,7 @@ paths: description: Response content: application/json: - schema: &672 + schema: &675 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -93988,7 +94512,7 @@ paths: required: - names examples: - default: &673 + default: &676 value: names: - octocat @@ -94011,8 +94535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -94043,9 +94567,9 @@ paths: description: Response content: application/json: - schema: *672 + schema: *675 examples: - default: *673 + default: *676 '404': *6 '422': *7 x-github: @@ -94066,9 +94590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *374 - - *375 - - &674 + - *377 + - *378 + - &677 name: per description: The time frame to display results for. in: query @@ -94097,7 +94621,7 @@ paths: example: 128 clones: type: array - items: &675 + items: &678 title: Traffic type: object properties: @@ -94184,8 +94708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -94275,8 +94799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *374 - - *375 + - *377 + - *378 responses: '200': description: Response @@ -94336,9 +94860,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *374 - - *375 - - *674 + - *377 + - *378 + - *677 responses: '200': description: Response @@ -94357,7 +94881,7 @@ paths: example: 3782 views: type: array - items: *675 + items: *678 required: - uniques - count @@ -94434,8 +94958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *374 - - *375 + - *377 + - *378 requestBody: required: true content: @@ -94709,8 +95233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -94733,8 +95257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -94756,8 +95280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -94783,8 +95307,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *374 - - *375 + - *377 + - *378 - name: ref in: path required: true @@ -94876,9 +95400,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95029,7 +95553,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &683 + - &686 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -95038,7 +95562,7 @@ paths: schema: type: string example: members - - &688 + - &691 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -95049,7 +95573,7 @@ paths: default: 1 format: int32 example: 1 - - &689 + - &692 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -95091,7 +95615,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &677 + items: &680 allOf: - type: object required: @@ -95166,7 +95690,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &690 + meta: &693 type: object description: The metadata associated with the creation/updates to the user. @@ -95226,31 +95750,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &678 + '400': &681 description: Bad request content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '401': &679 + schema: *679 + '401': &682 description: Authorization failure - '403': &680 + '403': &683 description: Permission denied - '429': &681 + '429': &684 description: Too many requests content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '500': &682 + schema: *679 + '500': &685 description: Internal server error content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 + schema: *679 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95274,7 +95798,7 @@ paths: required: true content: application/json: - schema: &686 + schema: &689 type: object required: - schemas @@ -95330,9 +95854,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *677 + schema: *680 examples: - group: &684 + group: &687 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -95351,13 +95875,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *678 - '401': *679 - '403': *680 - '409': &687 + '400': *681 + '401': *682 + '403': *683 + '409': &690 description: Duplicate record detected - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95374,7 +95898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &685 + - &688 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -95382,22 +95906,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *683 + - *686 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *677 + schema: *680 examples: - default: *684 - '400': *678 - '401': *679 - '403': *680 + default: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95416,13 +95940,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *685 + - *688 - *40 requestBody: required: true content: application/json: - schema: *686 + schema: *689 examples: group: summary: Group @@ -95448,17 +95972,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *677 + schema: *680 examples: - group: *684 - groupWithMembers: *684 - '400': *678 - '401': *679 - '403': *680 + group: *687 + groupWithMembers: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95482,13 +96006,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *685 + - *688 - *40 requestBody: required: true content: application/json: - schema: &697 + schema: &700 type: object required: - Operations @@ -95548,17 +96072,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *677 + schema: *680 examples: - updateGroup: *684 - addMembers: *684 - '400': *678 - '401': *679 - '403': *680 + updateGroup: *687 + addMembers: *687 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95574,17 +96098,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *685 + - *688 - *40 responses: '204': description: Group was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95618,8 +96142,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *688 - - *689 + - *691 + - *692 - *40 responses: '200': @@ -95652,7 +96176,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &692 + items: &695 allOf: - type: object required: @@ -95731,7 +96255,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &691 + roles: &694 type: array description: The roles assigned to the user. items: @@ -95787,7 +96311,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *690 + meta: *693 startIndex: type: integer description: A starting index for the returned page @@ -95824,11 +96348,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *678 - '401': *679 - '403': *680 - '429': *681 - '500': *682 + '400': *681 + '401': *682 + '403': *683 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -95852,7 +96376,7 @@ paths: required: true content: application/json: - schema: &695 + schema: &698 type: object required: - schemas @@ -95934,9 +96458,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *691 + roles: *694 examples: - user: &696 + user: &699 summary: User value: schemas: @@ -95983,9 +96507,9 @@ paths: description: User has been created content: application/scim+json: - schema: *692 + schema: *695 examples: - user: &693 + user: &696 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96011,13 +96535,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *693 - '400': *678 - '401': *679 - '403': *680 - '409': *687 - '429': *681 - '500': *682 + enterpriseOwner: *696 + '400': *681 + '401': *682 + '403': *683 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96034,7 +96558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &694 + - &697 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -96047,15 +96571,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *692 + schema: *695 examples: - default: *693 - '400': *678 - '401': *679 - '403': *680 + default: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96077,30 +96601,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *694 + - *697 - *40 requestBody: required: true content: application/json: - schema: *695 + schema: *698 examples: - user: *696 + user: *699 responses: '200': description: User was updated content: application/scim+json: - schema: *692 + schema: *695 examples: - user: *693 - '400': *678 - '401': *679 - '403': *680 + user: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96135,13 +96659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *694 + - *697 - *40 requestBody: required: true content: application/json: - schema: *697 + schema: *700 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -96181,18 +96705,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *692 - examples: - userMultiValuedProperties: *693 - userSingleValuedProperties: *693 - disableUser: *693 - '400': *678 - '401': *679 - '403': *680 + schema: *695 + examples: + userMultiValuedProperties: *696 + userSingleValuedProperties: *696 + disableUser: *696 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '409': *687 - '429': *681 - '500': *682 + '409': *690 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96212,17 +96736,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *694 + - *697 - *40 responses: '204': description: User was deleted, no content - '400': *678 - '401': *679 - '403': *680 + '400': *681 + '401': *682 + '403': *683 '404': *6 - '429': *681 - '500': *682 + '429': *684 + '500': *685 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -96309,7 +96833,7 @@ paths: example: 1 Resources: type: array - items: &698 + items: &701 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -96540,22 +97064,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &699 + '404': &702 description: Resource not found content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '403': &700 + schema: *679 + '403': &703 description: Forbidden content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '400': *678 - '429': *681 + schema: *679 + '400': *681 + '429': *684 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -96581,9 +97105,9 @@ paths: description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: &701 + default: &704 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -96606,17 +97130,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *699 - '403': *700 - '500': *682 + '404': *702 + '403': *703 + '500': *685 '409': description: Conflict content: application/json: - schema: *676 + schema: *679 application/scim+json: - schema: *676 - '400': *678 + schema: *679 + '400': *681 requestBody: required: true content: @@ -96714,17 +97238,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 - '404': *699 - '403': *700 + default: *704 + '404': *702 + '403': *703 '304': *37 x-github: githubCloudOnly: true @@ -96748,18 +97272,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 + default: *704 '304': *37 - '404': *699 - '403': *700 + '404': *702 + '403': *703 requestBody: required: true content: @@ -96872,19 +97396,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *170 - - *694 + - *697 responses: '200': description: Response content: application/scim+json: - schema: *698 + schema: *701 examples: - default: *701 + default: *704 '304': *37 - '404': *699 - '403': *700 - '400': *678 + '404': *702 + '403': *703 + '400': *681 '429': description: Response content: @@ -96975,12 +97499,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *170 - - *694 + - *697 responses: '204': description: Response - '404': *699 - '403': *700 + '404': *702 + '403': *703 '304': *37 x-github: githubCloudOnly: true @@ -97113,7 +97637,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &702 + text_matches: &705 title: Search Result Text Matches type: array items: @@ -97276,7 +97800,7 @@ paths: enum: - author-date - committer-date - - &703 + - &706 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 @@ -97347,7 +97871,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true comment_count: type: integer @@ -97367,7 +97891,7 @@ paths: url: type: string format: uri - verification: *547 + verification: *550 required: - author - committer @@ -97386,7 +97910,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *431 + properties: *434 nullable: true parents: type: array @@ -97404,7 +97928,7 @@ paths: type: number node_id: type: string - text_matches: *702 + text_matches: *705 required: - sha - node_id @@ -97587,7 +98111,7 @@ paths: - interactions - created - updated - - *703 + - *706 - *17 - *19 - name: advanced_search @@ -97714,8 +98238,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *499 - required: *500 + properties: *502 + required: *503 nullable: true comments: type: integer @@ -97729,7 +98253,7 @@ paths: type: string format: date-time nullable: true - text_matches: *702 + text_matches: *705 pull_request: type: object properties: @@ -97773,7 +98297,7 @@ paths: timeline_url: type: string format: uri - type: *285 + type: *288 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -97957,7 +98481,7 @@ paths: enum: - created - updated - - *703 + - *706 - *17 - *19 responses: @@ -98001,7 +98525,7 @@ paths: nullable: true score: type: number - text_matches: *702 + text_matches: *705 required: - id - node_id @@ -98087,7 +98611,7 @@ paths: - forks - help-wanted-issues - updated - - *703 + - *706 - *17 - *19 responses: @@ -98326,7 +98850,7 @@ paths: - admin - pull - push - text_matches: *702 + text_matches: *705 temp_clone_token: type: string allow_merge_commit: @@ -98627,7 +99151,7 @@ paths: type: string format: uri nullable: true - text_matches: *702 + text_matches: *705 related: type: array nullable: true @@ -98820,7 +99344,7 @@ paths: - followers - repositories - joined - - *703 + - *706 - *17 - *19 responses: @@ -98924,7 +99448,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *702 + text_matches: *705 blog: type: string nullable: true @@ -99003,7 +99527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &704 + - &707 name: team_id description: The unique identifier of the team. in: path @@ -99015,9 +99539,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 x-github: githubCloudOnly: false @@ -99044,7 +99568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -99107,16 +99631,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '201': description: Response content: application/json: - schema: *355 + schema: *358 examples: - default: *356 + default: *359 '404': *6 '422': *15 '403': *29 @@ -99144,7 +99668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *704 + - *707 responses: '204': description: Response @@ -99175,7 +99699,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *704 + - *707 - *86 - *17 - *19 @@ -99186,9 +99710,9 @@ paths: application/json: schema: type: array - items: *357 + items: *360 examples: - default: *705 + default: *708 headers: Link: *39 x-github: @@ -99217,7 +99741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -99251,9 +99775,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: triggersNotification: true githubCloudOnly: false @@ -99280,16 +99804,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 responses: '200': description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *358 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99314,8 +99838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: false content: @@ -99338,9 +99862,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *360 examples: - default: *706 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99365,8 +99889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 responses: '204': description: Response @@ -99395,8 +99919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *704 - - *359 + - *707 + - *362 - *86 - *17 - *19 @@ -99407,9 +99931,9 @@ paths: application/json: schema: type: array - items: *360 + items: *363 examples: - default: *707 + default: *710 headers: Link: *39 x-github: @@ -99438,8 +99962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: true content: @@ -99461,9 +99985,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: triggersNotification: true githubCloudOnly: false @@ -99490,17 +100014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 responses: '200': description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *361 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99525,9 +100049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 requestBody: required: true content: @@ -99549,9 +100073,9 @@ paths: description: Response content: application/json: - schema: *360 + schema: *363 examples: - default: *708 + default: *711 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99576,9 +100100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 responses: '204': description: Response @@ -99607,9 +100131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -99635,9 +100159,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -99666,9 +100190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *704 - - *359 + - *707 - *362 + - *365 requestBody: required: true content: @@ -99700,9 +100224,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99728,8 +100252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -99755,9 +100279,9 @@ paths: application/json: schema: type: array - items: *363 + items: *366 examples: - default: *365 + default: *368 headers: Link: *39 x-github: @@ -99786,8 +100310,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *704 - - *359 + - *707 + - *362 requestBody: required: true content: @@ -99819,9 +100343,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99845,7 +100369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -99855,9 +100379,9 @@ paths: application/json: schema: type: array - items: *281 + items: *285 examples: - default: *282 + default: *286 headers: Link: *39 x-github: @@ -99883,7 +100407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *704 + - *707 - name: role description: Filters members returned by their role in the team. in: query @@ -99906,7 +100430,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '404': *6 @@ -99934,7 +100458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -99971,7 +100495,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100011,7 +100535,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100048,16 +100572,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 responses: '200': description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-user-is-a-team-maintainer: *709 + response-if-user-is-a-team-maintainer: *712 '404': *6 x-github: githubCloudOnly: false @@ -100090,7 +100614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 requestBody: required: false @@ -100116,9 +100640,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *374 examples: - response-if-users-membership-with-team-is-now-pending: *710 + response-if-users-membership-with-team-is-now-pending: *713 '403': description: Forbidden if team synchronization is set up '422': @@ -100152,7 +100676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *704 + - *707 - *218 responses: '204': @@ -100181,7 +100705,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100191,9 +100715,9 @@ paths: application/json: schema: type: array - items: *372 + items: *375 examples: - default: *711 + default: *714 headers: Link: *39 '404': *6 @@ -100219,16 +100743,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *704 - - *373 + - *707 + - *376 responses: '200': description: Response content: application/json: - schema: *372 + schema: *375 examples: - default: *712 + default: *715 '404': description: Not Found if project is not managed by this team x-github: @@ -100252,8 +100776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *704 - - *373 + - *707 + - *376 requestBody: required: false content: @@ -100320,8 +100844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *704 - - *373 + - *707 + - *376 responses: '204': description: Response @@ -100348,7 +100872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100360,7 +100884,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '404': *6 @@ -100390,15 +100914,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *713 + schema: *716 examples: alternative-response-with-extra-repository-information: value: @@ -100549,9 +101073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 requestBody: required: false content: @@ -100601,9 +101125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *704 - - *374 - - *375 + - *707 + - *377 + - *378 responses: '204': description: Response @@ -100632,15 +101156,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *704 + - *707 responses: '200': description: Response content: application/json: - schema: *376 + schema: *379 examples: - default: *377 + default: *380 '403': *29 '404': *6 x-github: @@ -100667,7 +101191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *704 + - *707 requestBody: required: true content: @@ -100724,7 +101248,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *379 examples: default: value: @@ -100755,7 +101279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *704 + - *707 - *17 - *19 responses: @@ -100765,9 +101289,9 @@ paths: application/json: schema: type: array - items: *284 + items: *227 examples: - response-if-child-teams-exist: *714 + response-if-child-teams-exist: *717 headers: Link: *39 '404': *6 @@ -100800,7 +101324,7 @@ paths: application/json: schema: oneOf: - - &716 + - &719 title: Private User description: Private User type: object @@ -101003,7 +101527,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *715 + - *718 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -101156,7 +101680,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *719 examples: default: value: @@ -101235,7 +101759,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 '304': *37 '404': *6 '403': *29 @@ -101359,9 +101883,9 @@ paths: type: integer codespaces: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 '304': *37 '500': *99 '401': *25 @@ -101500,17 +102024,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -101554,7 +102078,7 @@ paths: type: integer secrets: type: array - items: &717 + items: &720 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -101594,7 +102118,7 @@ paths: - visibility - selected_repositories_url examples: - default: *487 + default: *490 headers: Link: *39 x-github: @@ -101670,7 +102194,7 @@ paths: description: Response content: application/json: - schema: *717 + schema: *720 examples: default: value: @@ -101816,7 +102340,7 @@ paths: type: array items: *196 examples: - default: *718 + default: *721 '401': *25 '403': *29 '404': *6 @@ -101960,15 +102484,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '304': *37 '500': *99 '401': *25 @@ -101994,7 +102518,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 requestBody: required: false content: @@ -102024,9 +102548,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '401': *25 '403': *29 '404': *6 @@ -102048,7 +102572,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '202': *95 '304': *37 @@ -102077,13 +102601,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '202': description: Response content: application/json: - schema: &719 + schema: &722 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -102124,7 +102648,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &720 + default: &723 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -102156,7 +102680,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *293 + - *296 - name: export_id in: path required: true @@ -102169,9 +102693,9 @@ paths: description: Response content: application/json: - schema: *719 + schema: *722 examples: - default: *720 + default: *723 '404': *6 x-github: githubCloudOnly: false @@ -102192,7 +102716,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *293 + - *296 responses: '200': description: Response @@ -102208,9 +102732,9 @@ paths: type: integer machines: type: array - items: *721 + items: *724 examples: - default: *722 + default: *725 '304': *37 '500': *99 '401': *25 @@ -102239,7 +102763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *293 + - *296 requestBody: required: true content: @@ -102289,13 +102813,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *387 + repository: *390 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *485 - required: *486 + properties: *488 + required: *489 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -103069,15 +103593,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '304': *37 '500': *99 '400': *14 @@ -103109,15 +103633,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *293 + - *296 responses: '200': description: Response content: application/json: - schema: *291 + schema: *294 examples: - default: *484 + default: *487 '500': *99 '401': *25 '403': *29 @@ -103147,9 +103671,9 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: &735 + default: &738 value: - id: 197 name: hello_docker @@ -103250,7 +103774,7 @@ paths: application/json: schema: type: array - items: &723 + items: &726 title: Email description: Email type: object @@ -103315,9 +103839,9 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: - default: &737 + default: &740 value: - email: octocat@github.com verified: true @@ -103392,7 +103916,7 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: default: value: @@ -103502,7 +104026,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '304': *37 @@ -103535,7 +104059,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 '304': *37 @@ -103648,7 +104172,7 @@ paths: application/json: schema: type: array - items: &724 + items: &727 title: GPG Key description: A unique encryption key type: object @@ -103779,7 +104303,7 @@ paths: - subkeys - revoked examples: - default: &748 + default: &751 value: - id: 3 name: Octocat's GPG Key @@ -103864,9 +104388,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *727 examples: - default: &725 + default: &728 value: id: 3 name: Octocat's GPG Key @@ -103923,7 +104447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &726 + - &729 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -103935,9 +104459,9 @@ paths: description: Response content: application/json: - schema: *724 + schema: *727 examples: - default: *725 + default: *728 '404': *6 '304': *37 '403': *29 @@ -103960,7 +104484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *726 + - *729 responses: '204': description: Response @@ -104151,7 +104675,7 @@ paths: type: array items: *63 examples: - default: *727 + default: *730 headers: Link: *39 '404': *6 @@ -104236,12 +104760,12 @@ paths: application/json: schema: anyOf: - - *279 + - *283 - type: object properties: {} additionalProperties: false examples: - default: *280 + default: *284 '204': description: Response when there are no restrictions x-github: @@ -104265,7 +104789,7 @@ paths: required: true content: application/json: - schema: *558 + schema: *561 examples: default: value: @@ -104276,7 +104800,7 @@ paths: description: Response content: application/json: - schema: *279 + schema: *283 examples: default: value: @@ -104357,7 +104881,7 @@ paths: - closed - all default: open - - *288 + - *291 - name: sort description: What to sort results by. in: query @@ -104382,7 +104906,7 @@ paths: type: array items: *153 examples: - default: *289 + default: *292 headers: Link: *39 '404': *6 @@ -104415,7 +104939,7 @@ paths: application/json: schema: type: array - items: &728 + items: &731 title: Key description: Key type: object @@ -104512,9 +105036,9 @@ paths: description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: &729 + default: &732 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104547,15 +105071,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *587 + - *590 responses: '200': description: Response content: application/json: - schema: *728 + schema: *731 examples: - default: *729 + default: *732 '404': *6 '304': *37 '403': *29 @@ -104578,7 +105102,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *587 + - *590 responses: '204': description: Response @@ -104611,7 +105135,7 @@ paths: application/json: schema: type: array - items: &730 + items: &733 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -104679,7 +105203,7 @@ paths: - account - plan examples: - default: &731 + default: &734 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -104741,9 +105265,9 @@ paths: application/json: schema: type: array - items: *730 + items: *733 examples: - default: *731 + default: *734 headers: Link: *39 '304': *37 @@ -104783,7 +105307,7 @@ paths: application/json: schema: type: array - items: *294 + items: *297 examples: default: value: @@ -104891,7 +105415,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: default: value: @@ -104974,7 +105498,7 @@ paths: description: Response content: application/json: - schema: *294 + schema: *297 examples: default: value: @@ -105042,7 +105566,7 @@ paths: application/json: schema: type: array - items: *296 + items: *299 examples: default: value: @@ -105295,7 +105819,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -105475,7 +105999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *297 + - *300 - name: exclude in: query required: false @@ -105488,7 +106012,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *299 examples: default: value: @@ -105682,7 +106206,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *297 + - *300 responses: '302': description: Response @@ -105708,7 +106232,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *297 + - *300 responses: '204': description: Response @@ -105737,8 +106261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *297 - - *732 + - *300 + - *735 responses: '204': description: Response @@ -105762,7 +106286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *297 + - *300 - *17 - *19 responses: @@ -105774,7 +106298,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '404': *6 @@ -105811,7 +106335,7 @@ paths: type: array items: *58 examples: - default: *733 + default: *736 headers: Link: *39 '304': *37 @@ -105853,7 +106377,7 @@ paths: - docker - nuget - container - - *734 + - *737 - *19 - *17 responses: @@ -105863,10 +106387,10 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 - '400': *736 + default: *738 + '400': *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105886,16 +106410,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: - default: &749 + default: &752 value: id: 40201 name: octo-name @@ -106008,8 +106532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 responses: '204': description: Response @@ -106039,8 +106563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 - name: token description: package token schema: @@ -106072,8 +106596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *305 - - *306 + - *308 + - *309 - *19 - *17 - name: state @@ -106093,7 +106617,7 @@ paths: application/json: schema: type: array - items: *307 + items: *310 examples: default: value: @@ -106142,15 +106666,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '200': description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -106186,9 +106710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '204': description: Response @@ -106218,9 +106742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 responses: '204': description: Response @@ -106276,7 +106800,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *322 examples: default: value: @@ -106348,9 +106872,9 @@ paths: application/json: schema: type: array - items: *723 + items: *726 examples: - default: *737 + default: *740 headers: Link: *39 '304': *37 @@ -106463,7 +106987,7 @@ paths: type: array items: *63 examples: - default: &744 + default: &747 summary: Default response value: - id: 1296269 @@ -106767,9 +107291,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *389 + default: *392 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -106807,9 +107331,9 @@ paths: application/json: schema: type: array - items: *560 + items: *563 examples: - default: *738 + default: *741 headers: Link: *39 '304': *37 @@ -106832,7 +107356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *283 + - *287 responses: '204': description: Response @@ -106855,7 +107379,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *283 + - *287 responses: '204': description: Response @@ -106888,7 +107412,7 @@ paths: application/json: schema: type: array - items: &739 + items: &742 title: Social account description: Social media account type: object @@ -106903,7 +107427,7 @@ paths: - provider - url examples: - default: &740 + default: &743 value: - provider: twitter url: https://twitter.com/github @@ -106965,9 +107489,9 @@ paths: application/json: schema: type: array - items: *739 + items: *742 examples: - default: *740 + default: *743 '422': *15 '304': *37 '404': *6 @@ -107054,7 +107578,7 @@ paths: application/json: schema: type: array - items: &741 + items: &744 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -107074,7 +107598,7 @@ paths: - title - created_at examples: - default: &750 + default: &753 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107140,9 +107664,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *744 examples: - default: &742 + default: &745 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -107173,7 +107697,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: - - &743 + - &746 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -107185,9 +107709,9 @@ paths: description: Response content: application/json: - schema: *741 + schema: *744 examples: - default: *742 + default: *745 '404': *6 '304': *37 '403': *29 @@ -107210,7 +107734,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: - - *743 + - *746 responses: '204': description: Response @@ -107239,7 +107763,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: - - &751 + - &754 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 @@ -107264,11 +107788,11 @@ paths: type: array items: *63 examples: - default-response: *744 + default-response: *747 application/vnd.github.v3.star+json: schema: type: array - items: &752 + items: &755 title: Starred Repository description: Starred Repository type: object @@ -107424,8 +107948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response if this repository is starred by you @@ -107453,8 +107977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -107478,8 +108002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *374 - - *375 + - *377 + - *378 responses: '204': description: Response @@ -107514,7 +108038,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 '304': *37 @@ -107551,7 +108075,7 @@ paths: application/json: schema: type: array - items: *355 + items: *358 examples: default: value: @@ -107637,10 +108161,10 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *719 + - *718 examples: - default-response: &746 + default-response: &749 summary: Default response value: login: octocat @@ -107675,7 +108199,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &747 + response-with-git-hub-plan-information: &750 summary: Response with GitHub plan information value: login: octocat @@ -107735,7 +108259,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *745 + - *748 - *17 responses: '200': @@ -107746,7 +108270,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: example: ; rel="next" @@ -107784,11 +108308,11 @@ paths: application/json: schema: oneOf: - - *716 - - *715 + - *719 + - *718 examples: - default-response: *746 - response-with-git-hub-plan-information: *747 + default-response: *749 + response-with-git-hub-plan-information: *750 '404': *6 x-github: githubCloudOnly: false @@ -107864,7 +108388,7 @@ paths: bundle_url: type: string examples: - default: *427 + default: *430 '201': description: Response content: @@ -107903,9 +108427,9 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 + default: *738 '403': *29 '401': *25 x-github: @@ -108188,7 +108712,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -108219,7 +108743,7 @@ paths: type: array items: *4 examples: - default: *290 + default: *293 headers: Link: *39 x-github: @@ -108309,9 +108833,9 @@ paths: application/json: schema: type: array - items: *724 + items: *727 examples: - default: *748 + default: *751 headers: Link: *39 x-github: @@ -108415,7 +108939,7 @@ paths: application/json: schema: *22 examples: - default: *557 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108493,7 +109017,7 @@ paths: type: array items: *58 examples: - default: *733 + default: *736 headers: Link: *39 x-github: @@ -108532,7 +109056,7 @@ paths: - docker - nuget - container - - *734 + - *737 - *218 - *19 - *17 @@ -108543,12 +109067,12 @@ paths: application/json: schema: type: array - items: *303 + items: *306 examples: - default: *735 + default: *738 '403': *29 '401': *25 - '400': *736 + '400': *739 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108568,17 +109092,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '200': description: Response content: application/json: - schema: *303 + schema: *306 examples: - default: *749 + default: *752 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108599,8 +109123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '204': @@ -108633,8 +109157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 - name: token description: package token @@ -108667,8 +109191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *305 - - *306 + - *308 + - *309 - *218 responses: '200': @@ -108677,7 +109201,7 @@ paths: application/json: schema: type: array - items: *307 + items: *310 examples: default: value: @@ -108735,16 +109259,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *305 - - *306 - *308 + - *309 + - *311 - *218 responses: '200': description: Response content: application/json: - schema: *307 + schema: *310 examples: default: value: @@ -108779,10 +109303,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *305 - - *306 - - *218 - *308 + - *309 + - *218 + - *311 responses: '204': description: Response @@ -108814,10 +109338,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *305 - - *306 - - *218 - *308 + - *309 + - *218 + - *311 responses: '204': description: Response @@ -108864,7 +109388,7 @@ paths: application/json: schema: type: array - items: *319 + items: *322 examples: default: value: @@ -109147,7 +109671,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -109177,9 +109701,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109207,9 +109731,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109237,9 +109761,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *352 examples: - default: *350 + default: *353 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -109267,9 +109791,9 @@ paths: application/json: schema: type: array - items: *739 + items: *742 examples: - default: *740 + default: *743 headers: Link: *39 x-github: @@ -109299,9 +109823,9 @@ paths: application/json: schema: type: array - items: *741 + items: *744 examples: - default: *750 + default: *753 headers: Link: *39 x-github: @@ -109326,7 +109850,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *218 - - *751 + - *754 - *86 - *17 - *19 @@ -109338,11 +109862,11 @@ paths: schema: anyOf: - type: array - items: *752 + items: *755 - type: array items: *63 examples: - default-response: *744 + default-response: *747 headers: Link: *39 x-github: @@ -109373,7 +109897,7 @@ paths: type: array items: *196 examples: - default: *309 + default: *312 headers: Link: *39 x-github: @@ -109501,7 +110025,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &753 + enterprise: &756 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109559,7 +110083,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &754 + installation: &757 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109578,7 +110102,7 @@ x-webhooks: required: - id - node_id - organization: &755 + organization: &758 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109638,13 +110162,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &756 + repository: &759 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &793 + properties: &796 id: description: Unique identifier of the repository example: 42 @@ -110327,7 +110851,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &794 + required: &797 - archive_url - assignees_url - blobs_url @@ -110478,10 +111002,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -110557,11 +111081,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: &757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: &760 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) @@ -110784,11 +111308,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -110971,11 +111495,11 @@ x-webhooks: - everyone required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - rule: *757 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + rule: *760 sender: *4 required: - action @@ -111046,7 +111570,7 @@ x-webhooks: required: true content: application/json: - schema: &760 + schema: &763 title: Exemption request cancellation event type: object properties: @@ -111054,11 +111578,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: &758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: &761 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -111283,7 +111807,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &759 + items: &762 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -111391,7 +111915,7 @@ x-webhooks: required: true content: application/json: - schema: &761 + schema: &764 title: Exemption request completed event type: object properties: @@ -111399,11 +111923,11 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 sender: *4 required: - action @@ -111473,7 +111997,7 @@ x-webhooks: required: true content: application/json: - schema: &762 + schema: &765 title: Exemption request created event type: object properties: @@ -111481,11 +112005,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 sender: *4 required: - action @@ -111555,7 +112079,7 @@ x-webhooks: required: true content: application/json: - schema: &763 + schema: &766 title: Exemption response dismissed event type: object properties: @@ -111563,12 +112087,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 - exemption_response: *759 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 + exemption_response: *762 sender: *4 required: - action @@ -111640,7 +112164,7 @@ x-webhooks: required: true content: application/json: - schema: &764 + schema: &767 title: Exemption response submitted event type: object properties: @@ -111648,12 +112172,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - exemption_request: *758 - exemption_response: *759 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + exemption_request: *761 + exemption_response: *762 sender: *4 required: - action @@ -111726,7 +112250,7 @@ x-webhooks: required: true content: application/json: - schema: *760 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111793,7 +112317,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *764 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111860,7 +112384,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111927,7 +112451,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -111995,7 +112519,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -112073,7 +112597,7 @@ x-webhooks: type: string enum: - completed - check_run: &766 + check_run: &769 title: CheckRun description: A check performed on the code of a given code change type: object @@ -112136,7 +112660,7 @@ x-webhooks: type: string pull_requests: type: array - items: *446 + items: *449 repository: *196 status: example: completed @@ -112174,7 +112698,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *765 + deployment: *768 details_url: example: https://example.com type: string @@ -112224,7 +112748,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *446 + items: *449 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -112259,9 +112783,9 @@ x-webhooks: - output - app - pull_requests - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -112654,10 +113178,10 @@ x-webhooks: type: string enum: - created - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -113053,10 +113577,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 requested_action: description: The action requested by the user. type: object @@ -113461,10 +113985,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *766 - installation: *754 - organization: *755 - repository: *756 + check_run: *769 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - check_run @@ -114441,10 +114965,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115114,10 +115638,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115781,10 +116305,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -115947,7 +116471,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116092,20 +116616,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &767 + commit_oid: &770 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: *753 - installation: *754 - organization: *755 - ref: &768 + enterprise: *756 + installation: *757 + organization: *758 + ref: &771 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: *756 + repository: *759 sender: *4 required: - action @@ -116267,7 +116791,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -116497,12 +117021,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -116597,7 +117121,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -116765,12 +117289,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -116933,7 +117457,7 @@ x-webhooks: required: - login - id - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -117099,12 +117623,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -117201,7 +117725,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117369,16 +117893,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *756 + repository: *759 sender: *4 required: - action @@ -117472,7 +117996,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *459 + dismissed_comment: *462 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -117612,12 +118136,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *767 - enterprise: *753 - installation: *754 - organization: *755 - ref: *768 - repository: *756 + commit_oid: *770 + enterprise: *756 + installation: *757 + organization: *758 + ref: *771 + repository: *759 sender: *4 required: - action @@ -117874,10 +118398,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -117957,18 +118481,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *755 - pusher_type: &769 + organization: *758 + pusher_type: &772 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &770 + ref: &773 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -117978,7 +118502,7 @@ x-webhooks: enum: - tag - branch - repository: *756 + repository: *759 sender: *4 required: - ref @@ -118061,9 +118585,9 @@ x-webhooks: enum: - created definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118148,9 +118672,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118228,9 +118752,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118308,9 +118832,9 @@ x-webhooks: enum: - updated definition: *114 - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -118387,19 +118911,19 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - repository: *756 - organization: *755 + enterprise: *756 + installation: *757 + repository: *759 + organization: *758 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *321 + items: *324 old_property_values: type: array description: The old custom property values for the repository. - items: *321 + items: *324 required: - action - repository @@ -118475,18 +118999,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - pusher_type: *769 - ref: *770 + enterprise: *756 + installation: *757 + organization: *758 + pusher_type: *772 + ref: *773 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *756 + repository: *759 sender: *4 required: - ref @@ -118570,11 +119094,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118658,11 +119182,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118746,11 +119270,11 @@ x-webhooks: type: string enum: - created - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118832,11 +119356,11 @@ x-webhooks: type: string enum: - dismissed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -118918,11 +119442,11 @@ x-webhooks: type: string enum: - fixed - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119005,11 +119529,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119091,11 +119615,11 @@ x-webhooks: type: string enum: - reopened - alert: *516 - installation: *754 - organization: *755 - enterprise: *753 - repository: *756 + alert: *519 + installation: *757 + organization: *758 + enterprise: *756 + repository: *759 sender: *4 required: - action @@ -119172,9 +119696,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - key: &771 + enterprise: *756 + installation: *757 + key: &774 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -119210,8 +119734,8 @@ x-webhooks: - verified - created_at - read_only - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -119288,11 +119812,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - key: *771 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + key: *774 + organization: *758 + repository: *759 sender: *4 required: - action @@ -119853,12 +120377,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: &775 + workflow: &778 title: Workflow type: object nullable: true @@ -120584,13 +121108,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *522 + deployment: *525 pull_requests: type: array - items: *607 - repository: *756 - organization: *755 - installation: *754 + items: *610 + repository: *759 + organization: *758 + installation: *757 sender: *4 responses: '200': @@ -120661,7 +121185,7 @@ x-webhooks: type: string enum: - approved - approver: &772 + approver: &775 type: object properties: avatar_url: @@ -120704,11 +121228,11 @@ x-webhooks: type: string comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: &773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: &776 type: array items: type: object @@ -120787,7 +121311,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &774 + workflow_job_run: &777 type: object properties: conclusion: @@ -121518,18 +122042,18 @@ x-webhooks: type: string enum: - rejected - approver: *772 + approver: *775 comment: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - reviewers: *773 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + reviewers: *776 sender: *4 since: type: string - workflow_job_run: *774 + workflow_job_run: *777 workflow_job_runs: type: array items: @@ -122233,13 +122757,13 @@ x-webhooks: type: string enum: - requested - enterprise: *753 + enterprise: *756 environment: type: string - installation: *754 - organization: *755 - repository: *756 - requestor: &780 + installation: *757 + organization: *758 + repository: *759 + requestor: &783 title: User type: object nullable: true @@ -124138,12 +124662,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Deployment Workflow Run type: object @@ -124823,7 +125347,7 @@ x-webhooks: type: string enum: - answered - answer: &778 + answer: &781 type: object properties: author_association: @@ -124980,7 +125504,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &776 + discussion: &779 title: Discussion description: A Discussion in a repository. type: object @@ -125266,7 +125790,7 @@ x-webhooks: - id labels: type: array - items: *569 + items: *572 required: - repository_url - category @@ -125288,10 +125812,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125418,11 +125942,11 @@ x-webhooks: - from required: - category - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125505,11 +126029,11 @@ x-webhooks: type: string enum: - closed - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125591,7 +126115,7 @@ x-webhooks: type: string enum: - created - comment: &777 + comment: &780 type: object properties: author_association: @@ -125748,11 +126272,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125835,12 +126359,12 @@ x-webhooks: type: string enum: - deleted - comment: *777 - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *780 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -125935,12 +126459,12 @@ x-webhooks: - from required: - body - comment: *777 - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + comment: *780 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126024,11 +126548,11 @@ x-webhooks: type: string enum: - created - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126110,11 +126634,11 @@ x-webhooks: type: string enum: - deleted - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126214,11 +126738,11 @@ x-webhooks: type: string required: - from - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126300,10 +126824,10 @@ x-webhooks: type: string enum: - labeled - discussion: *776 - enterprise: *753 - installation: *754 - label: &779 + discussion: *779 + enterprise: *756 + installation: *757 + label: &782 title: Label type: object properties: @@ -126335,8 +126859,8 @@ x-webhooks: - color - default - description - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126419,11 +126943,11 @@ x-webhooks: type: string enum: - locked - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126505,11 +127029,11 @@ x-webhooks: type: string enum: - pinned - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126591,11 +127115,11 @@ x-webhooks: type: string enum: - reopened - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126680,16 +127204,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *776 - new_repository: *756 + new_discussion: *779 + new_repository: *759 required: - new_discussion - new_repository - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126772,10 +127296,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *776 - old_answer: *778 - organization: *755 - repository: *756 + discussion: *779 + old_answer: *781 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126857,12 +127381,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *776 - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -126945,11 +127469,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -127031,11 +127555,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *776 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + discussion: *779 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -127107,7 +127631,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127173,7 +127697,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127239,7 +127763,7 @@ x-webhooks: required: true content: application/json: - schema: *760 + schema: *763 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127305,7 +127829,7 @@ x-webhooks: required: true content: application/json: - schema: *761 + schema: *764 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127371,7 +127895,7 @@ x-webhooks: required: true content: application/json: - schema: *762 + schema: *765 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127437,7 +127961,7 @@ x-webhooks: required: true content: application/json: - schema: *763 + schema: *766 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127503,7 +128027,7 @@ x-webhooks: required: true content: application/json: - schema: *764 + schema: *767 responses: '200': description: Return a 200 status to indicate that the data was received @@ -127570,7 +128094,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *753 + enterprise: *756 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -128230,9 +128754,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - forkee @@ -128378,9 +128902,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pages: description: The pages that were updated. type: array @@ -128417,7 +128941,7 @@ x-webhooks: - action - sha - html_url - repository: *756 + repository: *759 sender: *4 required: - pages @@ -128493,10 +129017,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: &781 + organization: *758 + repositories: &784 description: An array of repository objects that the installation can access. type: array @@ -128522,8 +129046,8 @@ x-webhooks: - name - full_name - private - repository: *756 - requester: *780 + repository: *759 + requester: *783 sender: *4 required: - action @@ -128598,11 +129122,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -128678,11 +129202,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -128758,10 +129282,10 @@ x-webhooks: type: string enum: - added - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories_added: &782 + organization: *758 + repositories_added: &785 description: An array of repository objects, which were added to the installation. type: array @@ -128807,15 +129331,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *756 - repository_selection: &783 + repository: *759 + repository_selection: &786 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *780 + requester: *783 sender: *4 required: - action @@ -128894,10 +129418,10 @@ x-webhooks: type: string enum: - removed - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories_added: *782 + organization: *758 + repositories_added: *785 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -128924,9 +129448,9 @@ x-webhooks: - name - full_name - private - repository: *756 - repository_selection: *783 - requester: *780 + repository: *759 + repository_selection: *786 + requester: *783 sender: *4 required: - action @@ -129005,11 +129529,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -129188,10 +129712,10 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 target_type: type: string @@ -129270,11 +129794,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *753 + enterprise: *756 installation: *22 - organization: *755 - repositories: *781 - repository: *756 + organization: *758 + repositories: *784 + repository: *759 requester: nullable: true sender: *4 @@ -129526,8 +130050,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -130350,7 +130874,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -130683,8 +131207,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -130764,7 +131288,7 @@ x-webhooks: type: string enum: - deleted - comment: &784 + comment: &787 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -130929,8 +131453,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -131749,7 +132273,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -132084,8 +132608,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -132165,7 +132689,7 @@ x-webhooks: type: string enum: - edited - changes: &812 + changes: &815 description: The changes to the comment. type: object properties: @@ -132177,9 +132701,9 @@ x-webhooks: type: string required: - from - comment: *784 - enterprise: *753 - installation: *754 + comment: *787 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133001,7 +133525,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -133334,8 +133858,8 @@ x-webhooks: - state - locked - assignee - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -133417,10 +133941,10 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *753 - installation: *754 - issue: &787 + assignee: *783 + enterprise: *756 + installation: *757 + issue: &790 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -134238,7 +134762,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -134339,8 +134863,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -134420,8 +134944,8 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -135244,7 +135768,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -135480,8 +136004,8 @@ x-webhooks: required: - state - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -135560,8 +136084,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136373,7 +136897,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -136473,8 +136997,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -136553,8 +137077,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137390,7 +137914,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -137469,7 +137993,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &785 + milestone: &788 title: Milestone description: A collection of related issues and pull requests. type: object @@ -137607,8 +138131,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -137707,8 +138231,8 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138523,7 +139047,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -138627,9 +139151,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *755 - repository: *756 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -138709,8 +139233,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139524,7 +140048,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -139628,9 +140152,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *779 - organization: *755 - repository: *756 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -139710,8 +140234,8 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140549,7 +141073,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *285 + type: *288 title: description: Title of the issue type: string @@ -140630,8 +141154,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -140710,8 +141234,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141546,7 +142070,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -141624,9 +142148,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *785 - organization: *755 - repository: *756 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -143087,8 +143611,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143906,7 +144430,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -144006,8 +144530,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -144087,9 +144611,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *753 - installation: *754 - issue: &786 + enterprise: *756 + installation: *757 + issue: &789 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144901,7 +145425,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -145001,8 +145525,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -145081,8 +145605,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145999,9 +146523,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *285 - organization: *755 - repository: *756 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -146896,7 +147420,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -147464,11 +147988,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *753 - installation: *754 - issue: *786 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *789 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147548,12 +148072,12 @@ x-webhooks: type: string enum: - typed - enterprise: *753 - installation: *754 - issue: *787 - type: *285 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147634,7 +148158,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &815 + assignee: &818 title: User type: object nullable: true @@ -147704,11 +148228,11 @@ x-webhooks: required: - login - id - enterprise: *753 - installation: *754 - issue: *787 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147787,12 +148311,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - issue: *787 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -147872,8 +148396,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148712,7 +149236,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *285 + type: *288 updated_at: type: string format: date-time @@ -148790,8 +149314,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -148871,11 +149395,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *753 - installation: *754 - issue: *786 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *789 + organization: *758 + repository: *759 sender: *4 required: - action @@ -148954,12 +149478,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *753 - installation: *754 - issue: *787 - type: *285 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + issue: *790 + type: *288 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149039,11 +149563,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149121,11 +149645,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149235,11 +149759,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - label: *779 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + label: *782 + organization: *758 + repository: *759 sender: *4 required: - action @@ -149321,9 +149845,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: &788 + enterprise: *756 + installation: *757 + marketplace_purchase: &791 title: Marketplace Purchase type: object required: @@ -149406,8 +149930,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: &789 + organization: *758 + previous_marketplace_purchase: &792 title: Marketplace Purchase type: object properties: @@ -149487,7 +150011,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149567,10 +150091,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149653,7 +150177,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149735,10 +150259,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149820,7 +150344,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *756 + repository: *759 sender: *4 required: - action @@ -149901,8 +150425,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 marketplace_purchase: title: Marketplace Purchase type: object @@ -149984,9 +150508,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *755 - previous_marketplace_purchase: *789 - repository: *756 + organization: *758 + previous_marketplace_purchase: *792 + repository: *759 sender: *4 required: - action @@ -150066,12 +150590,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *753 - installation: *754 - marketplace_purchase: *788 - organization: *755 - previous_marketplace_purchase: *789 - repository: *756 + enterprise: *756 + installation: *757 + marketplace_purchase: *791 + organization: *758 + previous_marketplace_purchase: *792 + repository: *759 sender: *4 required: - action @@ -150173,11 +150697,11 @@ x-webhooks: type: string required: - to - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150277,11 +150801,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150360,11 +150884,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150442,11 +150966,11 @@ x-webhooks: type: string enum: - added - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150522,7 +151046,7 @@ x-webhooks: required: - login - id - team: &790 + team: &793 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -150712,11 +151236,11 @@ x-webhooks: type: string enum: - removed - enterprise: *753 - installation: *754 - member: *780 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + member: *783 + organization: *758 + repository: *759 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150793,7 +151317,7 @@ x-webhooks: required: - login - id - team: *790 + team: *793 required: - action - scope @@ -150875,8 +151399,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *754 - merge_group: &792 + installation: *757 + merge_group: &795 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -150895,15 +151419,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *791 + head_commit: *794 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -150989,10 +151513,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *754 - merge_group: *792 - organization: *755 - repository: *756 + installation: *757 + merge_group: *795 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151065,7 +151589,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 + enterprise: *756 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -151173,16 +151697,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *754 - organization: *755 + installation: *757 + organization: *758 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -151263,11 +151787,11 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151346,9 +151870,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - milestone: &795 + enterprise: *756 + installation: *757 + milestone: &798 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151485,8 +152009,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151565,11 +152089,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151679,11 +152203,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - milestone: *785 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *788 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151763,11 +152287,11 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - milestone: *795 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + milestone: *798 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151846,11 +152370,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *780 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *783 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -151929,11 +152453,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *780 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + blocked_user: *783 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152012,9 +152536,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - membership: &796 + enterprise: *756 + installation: *757 + membership: &799 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -152106,8 +152630,8 @@ x-webhooks: - role - organization_url - user - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152185,11 +152709,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152268,8 +152792,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -152385,10 +152909,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 - user: *780 + user: *783 required: - action - invitation @@ -152466,11 +152990,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152557,11 +153081,11 @@ x-webhooks: properties: from: type: string - enterprise: *753 - installation: *754 - membership: *796 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + membership: *799 + organization: *758 + repository: *759 sender: *4 required: - action @@ -152637,9 +153161,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -153138,7 +153662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &797 + items: &800 title: Ruby Gems metadata type: object properties: @@ -153233,7 +153757,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -153309,9 +153833,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 package: description: Information about the package. type: object @@ -153664,7 +154188,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *797 + items: *800 source_url: type: string format: uri @@ -153734,7 +154258,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -153911,12 +154435,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *753 + enterprise: *756 id: type: integer - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - id @@ -153993,7 +154517,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &798 + personal_access_token_request: &801 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -154139,10 +154663,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *753 - organization: *755 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154219,11 +154743,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *798 - enterprise: *753 - organization: *755 + personal_access_token_request: *801 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154299,11 +154823,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *798 - enterprise: *753 - organization: *755 + personal_access_token_request: *801 + enterprise: *756 + organization: *758 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154378,11 +154902,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *798 - organization: *755 - enterprise: *753 + personal_access_token_request: *801 + organization: *758 + enterprise: *756 sender: *4 - installation: *754 + installation: *757 required: - action - personal_access_token_request @@ -154487,7 +155011,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *799 + last_response: *802 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -154519,8 +155043,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 zen: description: Random string of GitHub zen. @@ -154765,10 +155289,10 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: &800 + enterprise: *756 + installation: *757 + organization: *758 + project_card: &803 title: Project Card type: object properties: @@ -154887,7 +155411,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -154968,11 +155492,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_card: *800 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *803 + repository: *759 sender: *4 required: - action @@ -155052,9 +155576,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 project_card: title: Project Card type: object @@ -155182,8 +155706,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -155277,11 +155801,11 @@ x-webhooks: - from required: - note - enterprise: *753 - installation: *754 - organization: *755 - project_card: *800 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_card: *803 + repository: *759 sender: *4 required: - action @@ -155375,9 +155899,9 @@ x-webhooks: - from required: - column_id - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 project_card: allOf: - title: Project Card @@ -155567,7 +156091,7 @@ x-webhooks: type: string required: - after_id - repository: *756 + repository: *759 sender: *4 required: - action @@ -155647,10 +156171,10 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - organization: *755 - project: &802 + enterprise: *756 + installation: *757 + organization: *758 + project: &805 title: Project type: object properties: @@ -155774,7 +156298,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -155854,10 +156378,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project_column: &801 + enterprise: *756 + installation: *757 + organization: *758 + project_column: &804 title: Project Column type: object properties: @@ -155896,7 +156420,7 @@ x-webhooks: - name - created_at - updated_at - repository: *756 + repository: *759 sender: *4 required: - action @@ -155975,18 +156499,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -156076,11 +156600,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 + repository: *759 sender: *4 required: - action @@ -156160,11 +156684,11 @@ x-webhooks: type: string enum: - moved - enterprise: *753 - installation: *754 - organization: *755 - project_column: *801 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project_column: *804 + repository: *759 sender: *4 required: - action @@ -156244,11 +156768,11 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156328,18 +156852,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - project: *802 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *793 - required: *794 + properties: *796 + required: *797 nullable: true sender: *4 required: @@ -156441,11 +156965,11 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156524,11 +157048,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - organization: *755 - project: *802 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + project: *805 + repository: *759 sender: *4 required: - action @@ -156609,9 +157133,9 @@ x-webhooks: type: string enum: - closed - installation: *754 - organization: *755 - projects_v2: &803 + installation: *757 + organization: *758 + projects_v2: &806 title: Projects v2 Project description: A projects v2 project type: object @@ -156754,9 +157278,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -156837,9 +157361,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -156956,9 +157480,9 @@ x-webhooks: type: string to: type: string - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -157041,7 +157565,7 @@ x-webhooks: type: string enum: - archived - changes: &807 + changes: &810 type: object properties: archived_at: @@ -157055,9 +157579,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *754 - organization: *755 - projects_v2_item: &804 + installation: *757 + organization: *758 + projects_v2_item: &807 title: Projects v2 Item description: An item belonging to a project type: object @@ -157191,9 +157715,9 @@ x-webhooks: nullable: true to: type: string - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157275,9 +157799,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157358,9 +157882,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157466,7 +157990,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &805 + - &808 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -157484,7 +158008,7 @@ x-webhooks: required: - id - name - - &806 + - &809 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -157507,8 +158031,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *805 - - *806 + - *808 + - *809 required: - field_value - type: object @@ -157524,9 +158048,9 @@ x-webhooks: nullable: true required: - body - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157621,9 +158145,9 @@ x-webhooks: to: type: string nullable: true - installation: *754 - organization: *755 - projects_v2_item: *804 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157706,10 +158230,10 @@ x-webhooks: type: string enum: - restored - changes: *807 - installation: *754 - organization: *755 - projects_v2_item: *804 + changes: *810 + installation: *757 + organization: *758 + projects_v2_item: *807 sender: *4 required: - action @@ -157791,9 +158315,9 @@ x-webhooks: type: string enum: - reopened - installation: *754 - organization: *755 - projects_v2: *803 + installation: *757 + organization: *758 + projects_v2: *806 sender: *4 required: - action @@ -157874,9 +158398,9 @@ x-webhooks: type: string enum: - created - installation: *754 - organization: *755 - projects_v2_status_update: &808 + installation: *757 + organization: *758 + projects_v2_status_update: &811 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -158003,9 +158527,9 @@ x-webhooks: type: string enum: - deleted - installation: *754 - organization: *755 - projects_v2_status_update: *808 + installation: *757 + organization: *758 + projects_v2_status_update: *811 sender: *4 required: - action @@ -158141,9 +158665,9 @@ x-webhooks: type: string format: date nullable: true - installation: *754 - organization: *755 - projects_v2_status_update: *808 + installation: *757 + organization: *758 + projects_v2_status_update: *811 sender: *4 required: - action @@ -158214,10 +158738,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - repository @@ -158294,13 +158818,13 @@ x-webhooks: type: string enum: - assigned - assignee: *780 - enterprise: *753 - installation: *754 - number: &809 + assignee: *783 + enterprise: *756 + installation: *757 + number: &812 description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -160583,7 +161107,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -160665,11 +161189,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -162947,7 +163471,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *759 sender: *4 required: - action @@ -163029,11 +163553,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -165311,7 +165835,7 @@ x-webhooks: - draft reason: type: string - repository: *756 + repository: *759 sender: *4 required: - action @@ -165393,13 +165917,13 @@ x-webhooks: type: string enum: - closed - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: &810 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: &813 allOf: - - *607 + - *610 - type: object properties: allow_auto_merge: @@ -165461,7 +165985,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *756 + repository: *759 sender: *4 required: - action @@ -165542,12 +166066,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -165627,11 +166151,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *753 - milestone: *590 - number: *809 - organization: *755 - pull_request: &811 + enterprise: *756 + milestone: *593 + number: *812 + organization: *758 + pull_request: &814 title: Pull Request type: object properties: @@ -167894,7 +168418,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -167973,11 +168497,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -170259,7 +170783,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *756 + repository: *759 sender: *4 required: - action @@ -170383,12 +170907,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -170468,11 +170992,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -172739,7 +173263,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -172819,11 +173343,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *753 - installation: *754 - label: *779 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + label: *782 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -175105,7 +175629,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -175186,10 +175710,10 @@ x-webhooks: type: string enum: - locked - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -177469,7 +177993,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -177549,12 +178073,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *753 - milestone: *590 - number: *809 - organization: *755 - pull_request: *811 - repository: *756 + enterprise: *756 + milestone: *593 + number: *812 + organization: *758 + pull_request: *814 + repository: *759 sender: *4 required: - action @@ -177633,12 +178157,12 @@ x-webhooks: type: string enum: - opened - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -177719,12 +178243,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -177804,12 +178328,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *753 - installation: *754 - number: *809 - organization: *755 - pull_request: *810 - repository: *756 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 + pull_request: *813 + repository: *759 sender: *4 required: - action @@ -178175,9 +178699,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -180347,7 +180871,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -180427,7 +180951,7 @@ x-webhooks: type: string enum: - deleted - comment: &813 + comment: &816 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. @@ -180712,9 +181236,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -182872,7 +183396,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -182952,11 +183476,11 @@ x-webhooks: type: string enum: - edited - changes: *812 - comment: *813 - enterprise: *753 - installation: *754 - organization: *755 + changes: *815 + comment: *816 + enterprise: *756 + installation: *757 + organization: *758 pull_request: type: object properties: @@ -185117,7 +185641,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *756 + repository: *759 sender: *4 required: - action @@ -185198,9 +185722,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -187373,7 +187897,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 review: description: The review that was affected. type: object @@ -187616,9 +188140,9 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -189672,8 +190196,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: &814 + repository: *759 + review: &817 description: The review that was affected. type: object properties: @@ -189902,12 +190426,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -192190,7 +192714,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_reviewer: title: User type: object @@ -192274,12 +192798,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -194569,7 +195093,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -194761,12 +195285,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -197051,7 +197575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_reviewer: title: User type: object @@ -197136,12 +197660,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *753 - installation: *754 + enterprise: *756 + installation: *757 number: description: The pull request number. type: integer - organization: *755 + organization: *758 pull_request: title: Pull Request type: object @@ -199417,7 +199941,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199598,9 +200122,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -201775,8 +202299,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 - review: *814 + repository: *759 + review: *817 sender: *4 required: - action @@ -201856,9 +202380,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -203928,7 +204452,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 sender: *4 thread: type: object @@ -204311,9 +204835,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 pull_request: title: Simple Pull Request type: object @@ -206369,7 +206893,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *756 + repository: *759 sender: *4 thread: type: object @@ -206755,10 +207279,10 @@ x-webhooks: type: string before: type: string - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -209029,7 +209553,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -209111,11 +209635,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *815 - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + assignee: *818 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -211398,7 +211922,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -211477,11 +212001,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *753 - installation: *754 - label: *779 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + label: *782 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -213754,7 +214278,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -213835,10 +214359,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *753 - installation: *754 - number: *809 - organization: *755 + enterprise: *756 + installation: *757 + number: *812 + organization: *758 pull_request: title: Pull Request type: object @@ -216103,7 +216627,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *756 + repository: *759 sender: *4 required: - action @@ -216303,7 +216827,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *753 + enterprise: *756 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -216395,8 +216919,8 @@ x-webhooks: - url - author - committer - installation: *754 - organization: *755 + installation: *757 + organization: *758 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -216971,9 +217495,9 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -217419,7 +217943,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *797 + items: *800 summary: type: string tag_name: @@ -217473,7 +217997,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -217551,9 +218075,9 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 registry_package: type: object properties: @@ -217861,7 +218385,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *797 + items: *800 summary: type: string tag_name: @@ -217910,7 +218434,7 @@ x-webhooks: - owner - package_version - registry - repository: *756 + repository: *759 sender: *4 required: - action @@ -217987,10 +218511,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - release: &816 + enterprise: *756 + installation: *757 + organization: *758 + release: &819 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -218295,7 +218819,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *756 + repository: *759 sender: *4 required: - action @@ -218372,11 +218896,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -218493,11 +219017,11 @@ x-webhooks: type: boolean required: - to - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -218575,9 +219099,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -218886,7 +219410,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *759 sender: *4 required: - action @@ -218962,10 +219486,10 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - release: &817 + enterprise: *756 + installation: *757 + organization: *758 + release: &820 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -219271,7 +219795,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *756 + repository: *759 sender: *4 required: - action @@ -219347,11 +219871,11 @@ x-webhooks: type: string enum: - released - enterprise: *753 - installation: *754 - organization: *755 - release: *816 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *819 + repository: *759 sender: *4 required: - action @@ -219427,11 +219951,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *753 - installation: *754 - organization: *755 - release: *817 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + release: *820 + repository: *759 sender: *4 required: - action @@ -219507,11 +220031,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *664 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *667 sender: *4 required: - action @@ -219587,11 +220111,11 @@ x-webhooks: type: string enum: - reported - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - repository_advisory: *664 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + repository_advisory: *667 sender: *4 required: - action @@ -219667,10 +220191,10 @@ x-webhooks: type: string enum: - archived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219747,10 +220271,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219828,10 +220352,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -219915,10 +220439,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220030,10 +220554,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220105,10 +220629,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 status: type: string @@ -220189,10 +220713,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220269,10 +220793,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220366,10 +220890,10 @@ x-webhooks: - name required: - repository - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -220449,10 +220973,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 sender: *4 required: @@ -220531,10 +221055,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 sender: *4 required: @@ -220613,10 +221137,10 @@ x-webhooks: type: string enum: - edited - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 repository_ruleset: *128 changes: type: object @@ -220921,10 +221445,10 @@ x-webhooks: - from required: - owner - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221002,10 +221526,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221083,7 +221607,7 @@ x-webhooks: type: string enum: - create - alert: &818 + alert: &821 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -221204,10 +221728,10 @@ x-webhooks: type: string enum: - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221413,10 +221937,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221494,11 +222018,11 @@ x-webhooks: type: string enum: - reopen - alert: *818 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221697,10 +222221,10 @@ x-webhooks: enum: - fixed - open - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221778,7 +222302,7 @@ x-webhooks: type: string enum: - created - alert: &819 + alert: &822 type: object properties: number: *100 @@ -221889,10 +222413,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -221973,11 +222497,11 @@ x-webhooks: type: string enum: - created - alert: *819 - installation: *754 - location: *820 - organization: *755 - repository: *756 + alert: *822 + installation: *757 + location: *823 + organization: *758 + repository: *759 sender: *4 required: - location @@ -222215,11 +222739,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222297,11 +222821,11 @@ x-webhooks: type: string enum: - reopened - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222379,11 +222903,11 @@ x-webhooks: type: string enum: - resolved - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222461,11 +222985,11 @@ x-webhooks: type: string enum: - validated - alert: *819 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + alert: *822 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -222591,10 +223115,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *756 - enterprise: *753 - installation: *754 - organization: *755 + repository: *759 + enterprise: *756 + installation: *757 + organization: *758 sender: *4 required: - action @@ -222672,11 +223196,11 @@ x-webhooks: type: string enum: - published - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: &821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: &824 description: The details of the security advisory, including summary, description, and severity. type: object @@ -222859,11 +223383,11 @@ x-webhooks: type: string enum: - updated - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 - security_advisory: *821 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 + security_advisory: *824 sender: *4 required: - action @@ -222936,10 +223460,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -223123,11 +223647,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *324 - enterprise: *753 - installation: *754 - organization: *755 - repository: *387 + security_and_analysis: *327 + enterprise: *756 + installation: *757 + organization: *758 + repository: *390 sender: *4 required: - changes @@ -223205,12 +223729,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: &822 + sponsorship: &825 type: object properties: created_at: @@ -223511,12 +224035,12 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - sponsorship @@ -223604,12 +224128,12 @@ x-webhooks: type: string required: - from - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223686,17 +224210,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &823 + effective_date: &826 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: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - sponsorship @@ -223770,7 +224294,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &824 + changes: &827 type: object properties: tier: @@ -223814,13 +224338,13 @@ x-webhooks: - from required: - tier - effective_date: *823 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + effective_date: *826 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223897,13 +224421,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *824 - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + changes: *827 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - sponsorship: *822 + sponsorship: *825 required: - action - changes @@ -223977,10 +224501,10 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224063,10 +224587,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -224486,15 +225010,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *753 + enterprise: *756 id: description: The unique identifier of the status. type: integer - installation: *754 + installation: *757 name: type: string - organization: *755 - repository: *756 + organization: *758 + repository: *759 sender: *4 sha: description: The Commit SHA. @@ -224609,9 +225133,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224701,9 +225225,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224793,9 +225317,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224885,9 +225409,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *153 - installation: *754 - organization: *755 - repository: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -224964,12 +225488,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - team: &825 + team: &828 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -225159,9 +225683,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -225619,7 +226143,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -225695,9 +226219,9 @@ x-webhooks: type: string enum: - created - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -226155,7 +226679,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -226232,9 +226756,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -226692,7 +227216,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -226836,9 +227360,9 @@ x-webhooks: - from required: - permissions - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -227296,7 +227820,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - changes @@ -227374,9 +227898,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *753 - installation: *754 - organization: *755 + enterprise: *756 + installation: *757 + organization: *758 repository: title: Repository description: A git repository @@ -227834,7 +228358,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *825 + team: *828 required: - action - team @@ -227910,10 +228434,10 @@ x-webhooks: type: string enum: - started - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 required: - action @@ -227986,16 +228510,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *753 + enterprise: *756 inputs: type: object nullable: true additionalProperties: true - installation: *754 - organization: *755 + installation: *757 + organization: *758 ref: type: string - repository: *756 + repository: *759 sender: *4 workflow: type: string @@ -228077,10 +228601,10 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -228317,7 +228841,7 @@ x-webhooks: type: string required: - conclusion - deployment: *522 + deployment: *525 required: - action - repository @@ -228396,10 +228920,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: allOf: @@ -228659,7 +229183,7 @@ x-webhooks: required: - status - steps - deployment: *522 + deployment: *525 required: - action - repository @@ -228738,10 +229262,10 @@ x-webhooks: type: string enum: - queued - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -228876,7 +229400,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *525 required: - action - repository @@ -228955,10 +229479,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 workflow_job: type: object @@ -229094,7 +229618,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *522 + deployment: *525 required: - action - repository @@ -229174,12 +229698,12 @@ x-webhooks: type: string enum: - completed - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -230178,12 +230702,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object @@ -231167,12 +231691,12 @@ x-webhooks: type: string enum: - requested - enterprise: *753 - installation: *754 - organization: *755 - repository: *756 + enterprise: *756 + installation: *757 + organization: *758 + repository: *759 sender: *4 - workflow: *775 + workflow: *778 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index d236c0d4b3..af64bc76d8 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -195,6 +195,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -16696,6 +16700,526 @@ } } }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/campaign-state" + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/campaign-summary" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-org-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/delete-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Deletion successful" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -113823,7 +114347,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -118928,6 +119452,116 @@ } } }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "campaign-summary": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/team" + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, "code-scanning-alert-severity": { "type": "string", "description": "Severity of a code scanning alert.", @@ -133151,6 +133785,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -133185,42 +133825,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -290254,6 +290865,114 @@ } ] }, + "campaign-org-items": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + }, + "campaign-summary": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + }, "code-security-configuration-list": { "value": [ { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 5452dd510f..b71cf126b0 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -103,6 +103,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -11991,6 +11993,391 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: + "$ref": "#/components/schemas/campaign-state" + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-org-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '429': + description: Too Many Requests + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -82913,11 +83300,8 @@ components: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot for new pull + requests, if the author has access to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull @@ -86825,6 +87209,96 @@ components: description: The URL to view the bypass request in a browser. format: uri example: https://github.com/octo-org/smile/exemptions/1 + campaign-state: + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + campaign-summary: + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: + "$ref": "#/components/schemas/simple-user" + team_managers: + description: The campaign team managers + type: array + items: + "$ref": "#/components/schemas/team" + published_at: + description: The date and time the campaign was published, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open. + type: string + format: date-time + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link code-scanning-alert-severity: type: string description: Severity of a code scanning alert. @@ -98017,6 +98491,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -98043,29 +98522,8 @@ components: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated hook-response: @@ -217380,6 +217838,103 @@ components: created_at: '2024-07-02T08:43:04Z' url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 + campaign-org-items: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited by + attackers. This reduces risk, prevents breaches and can help protect sensitive + data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + campaign-summary: + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 code-security-configuration-list: value: - id: 17 diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index d236c0d4b3..af64bc76d8 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -195,6 +195,10 @@ { "name": "hosted-compute", "description": "Manage hosted compute networking resources." + }, + { + "name": "campaigns", + "description": "Endpoints to manage campaigns via the REST API." } ], "servers": [ @@ -16696,6 +16700,526 @@ } } }, + "/orgs/{org}/campaigns": { + "get": { + "summary": "List campaigns for an organization", + "description": "Lists campaigns in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/list-org-campaigns", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/per-page" + }, + { + "$ref": "#/components/parameters/direction" + }, + { + "name": "state", + "description": "If specified, only campaigns with this state will be returned.", + "in": "query", + "required": false, + "schema": { + "$ref": "#/components/schemas/campaign-state" + } + }, + { + "name": "sort", + "description": "The property by which to sort the results.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "created", + "updated", + "ends_at", + "published" + ], + "default": "created" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/campaign-summary" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-org-items" + } + } + } + }, + "headers": { + "Link": { + "$ref": "#/components/headers/link" + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "post": { + "summary": "Create a campaign for an organization", + "description": "Create a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.\n\nFine-grained tokens must have the \"Code scanning alerts\" repository permissions (read) on all repositories included\nin the campaign.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/create-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The login of each manager", + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign. The date must be in the future.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "code_scanning_alerts": { + "description": "The code scanning alerts to include in this campaign", + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "repository_id": { + "type": "integer", + "description": "The repository id" + }, + "alert_numbers": { + "type": "array", + "description": "The alert numbers", + "minItems": 1, + "items": { + "type": "integer" + } + } + }, + "required": [ + "repository_id", + "alert_numbers" + ] + } + }, + "generate_issues": { + "description": "If true, will automatically generate issues for the campaign. The default is false.", + "type": "boolean", + "default": false + } + }, + "required": [ + "name", + "description", + "ends_at", + "code_scanning_alerts" + ] + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + "octocat" + ], + "ends_at": "2024-03-14T00:00:00Z", + "code_scanning_alerts": [ + { + "repository_id": 1296269, + "alert_numbers": [ + 1, + 2 + ] + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "429": { + "description": "Too Many Requests" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, + "/orgs/{org}/campaigns/{campaign_number}": { + "get": { + "summary": "Get a campaign for an organization", + "description": "Gets a campaign for an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/get-campaign-summary", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "patch": { + "summary": "Update a campaign", + "description": "Updates a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/update-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "description": "The name of the campaign", + "type": "string", + "minLength": 1, + "maxLength": 50 + }, + "description": { + "description": "A description for the campaign", + "type": "string", + "minLength": 1, + "maxLength": 255 + }, + "managers": { + "description": "The logins of the users to set as the campaign managers. At this time, only a single manager can be supplied.", + "type": "array", + "maxItems": 10, + "items": { + "type": "string" + } + }, + "team_managers": { + "description": "The slugs of the teams to set as the campaign managers.", + "type": "array", + "maxItems": 10, + "items": { + "description": "The slug of each team", + "type": "string" + } + }, + "ends_at": { + "description": "The end date and time of the campaign, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "contact_link": { + "description": "The contact link of the campaign. Must be a URI.", + "type": "string", + "format": "uri", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + } + } + }, + "examples": { + "default": { + "value": { + "name": "Critical CodeQL alerts" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/campaign-summary" + }, + "examples": { + "default": { + "$ref": "#/components/examples/campaign-summary" + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "422": { + "description": "Unprocessable Entity", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/basic-error" + } + } + } + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + }, + "delete": { + "summary": "Delete a campaign for an organization", + "description": "Deletes a campaign in an organization.\n\nThe authenticated user must be an owner or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.", + "tags": [ + "campaigns" + ], + "operationId": "campaigns/delete-campaign", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "name": "campaign_number", + "description": "The campaign number.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "204": { + "description": "Deletion successful" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" + } + } + }, "/orgs/{org}/code-scanning/alerts": { "get": { "summary": "List code scanning alerts for an organization", @@ -113823,7 +114347,7 @@ }, "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -118928,6 +119452,116 @@ } } }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "campaign-summary": { + "title": "Campaign summary", + "description": "The campaign metadata and alert stats.", + "type": "object", + "properties": { + "number": { + "type": "integer", + "description": "The number of the newly created campaign" + }, + "created_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "updated_at": { + "type": "string", + "format": "date-time", + "description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ." + }, + "name": { + "type": "string", + "description": "The campaign name" + }, + "description": { + "type": "string", + "description": "The campaign description" + }, + "managers": { + "description": "The campaign managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/simple-user" + } + }, + "team_managers": { + "description": "The campaign team managers", + "type": "array", + "items": { + "$ref": "#/components/schemas/team" + } + }, + "published_at": { + "description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "ends_at": { + "description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.", + "type": "string", + "format": "date-time" + }, + "closed_at": { + "description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.", + "type": "string", + "format": "date-time", + "nullable": true + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": "string", + "format": "uri", + "nullable": true + }, + "alert_stats": { + "type": "object", + "additionalProperties": false, + "properties": { + "open_count": { + "type": "integer", + "description": "The number of open alerts" + }, + "closed_count": { + "type": "integer", + "description": "The number of closed alerts" + }, + "in_progress_count": { + "type": "integer", + "description": "The number of in-progress alerts" + } + }, + "required": [ + "open_count", + "closed_count", + "in_progress_count" + ] + } + }, + "required": [ + "number", + "created_at", + "updated_at", + "description", + "managers", + "ends_at", + "state", + "contact_link" + ] + }, "code-scanning-alert-severity": { "type": "string", "description": "Severity of a code scanning alert.", @@ -133151,6 +133785,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -133185,42 +133825,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -290254,6 +290865,114 @@ } ] }, + "campaign-org-items": { + "value": [ + { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open" + }, + { + "number": 4, + "created_at": "2024-03-30T12:29:18Z", + "updated_at": "2024-03-30T12:29:18Z", + "name": "Mitre top 10 KEV", + "description": "Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) to enhance security by addressing vulnerabilities actively exploited by attackers. This reduces risk, prevents breaches and can help protect sensitive data.", + "managers": [ + { + "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 + } + ], + "ends_at": "2024-04-30T12:29:18Z", + "closed_at": null, + "state": "open" + } + ] + }, + "campaign-summary": { + "value": { + "number": 3, + "created_at": "2024-02-14T12:29:18Z", + "updated_at": "2024-02-14T12:29:18Z", + "name": "Critical CodeQL alert", + "description": "Address critical alerts before they are exploited to prevent breaches, protect sensitive data, and mitigate financial and reputational damage.", + "managers": [ + { + "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 + } + ], + "published_at": "2024-02-14T12:29:18Z", + "ends_at": "2024-03-14T12:29:18Z", + "closed_at": null, + "state": "open", + "alert_stats": { + "open_count": 10, + "closed_count": 3, + "in_progress_count": 3 + } + } + }, "code-security-configuration-list": { "value": [ { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 5452dd510f..b71cf126b0 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -103,6 +103,8 @@ tags: description: Manage private registry configurations. - name: hosted-compute description: Manage hosted compute networking resources. +- name: campaigns + description: Endpoints to manage campaigns via the REST API. servers: - url: https://api.github.com externalDocs: @@ -11991,6 +11993,391 @@ paths: "$ref": "#/components/responses/not_found" '500': "$ref": "#/components/responses/internal_error" + "/orgs/{org}/campaigns": + get: + summary: List campaigns for an organization + description: |- + Lists campaigns in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/list-org-campaigns + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/per-page" + - "$ref": "#/components/parameters/direction" + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: + "$ref": "#/components/schemas/campaign-state" + - name: sort + description: The property by which to sort the results. + in: query + required: false + schema: + type: string + enum: + - created + - updated + - ends_at + - published + default: created + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-org-items" + headers: + Link: + "$ref": "#/components/headers/link" + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + post: + summary: Create a campaign for an organization + description: |- + Create a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + + Fine-grained tokens must have the "Code scanning alerts" repository permissions (read) on all repositories included + in the campaign. + tags: + - campaigns + operationId: campaigns/create-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + description: The login of each manager + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign. The date must + be in the future. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + code_scanning_alerts: + description: The code scanning alerts to include in this campaign + type: array + minItems: 1 + items: + type: object + additionalProperties: false + properties: + repository_id: + type: integer + description: The repository id + alert_numbers: + type: array + description: The alert numbers + minItems: 1 + items: + type: integer + required: + - repository_id + - alert_numbers + generate_issues: + description: If true, will automatically generate issues for the + campaign. The default is false. + type: boolean + default: false + required: + - name + - description + - ends_at + - code_scanning_alerts + examples: + default: + value: + name: Critical CodeQL alerts + description: Address critical alerts before they are exploited to + prevent breaches, protect sensitive data, and mitigate financial + and reputational damage. + managers: + - octocat + ends_at: '2024-03-14T00:00:00Z' + code_scanning_alerts: + - repository_id: 1296269 + alert_numbers: + - 1 + - 2 + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '429': + description: Too Many Requests + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + "/orgs/{org}/campaigns/{campaign_number}": + get: + summary: Get a campaign for an organization + description: |- + Gets a campaign for an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/get-campaign-summary + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + patch: + summary: Update a campaign + description: |- + Updates a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/update-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + requestBody: + required: true + content: + application/json: + schema: + type: object + additionalProperties: false + properties: + name: + description: The name of the campaign + type: string + minLength: 1 + maxLength: 50 + description: + description: A description for the campaign + type: string + minLength: 1 + maxLength: 255 + managers: + description: The logins of the users to set as the campaign managers. + At this time, only a single manager can be supplied. + type: array + maxItems: 10 + items: + type: string + team_managers: + description: The slugs of the teams to set as the campaign managers. + type: array + maxItems: 10 + items: + description: The slug of each team + type: string + ends_at: + description: The end date and time of the campaign, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + contact_link: + description: The contact link of the campaign. Must be a URI. + type: string + format: uri + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/campaign-summary" + examples: + default: + "$ref": "#/components/examples/campaign-summary" + '400': + description: Bad Request + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '404': + "$ref": "#/components/responses/not_found" + '422': + description: Unprocessable Entity + content: + application/json: + schema: + "$ref": "#/components/schemas/basic-error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns + delete: + summary: Delete a campaign for an organization + description: |- + Deletes a campaign in an organization. + + The authenticated user must be an owner or security manager for the organization to use this endpoint. + + OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. + tags: + - campaigns + operationId: campaigns/delete-campaign + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': + "$ref": "#/components/responses/not_found" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -82913,11 +83300,8 @@ components: - rebase automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot for new pull + requests, if the author has access to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will dismiss previous pull @@ -86825,6 +87209,96 @@ components: description: The URL to view the bypass request in a browser. format: uri example: https://github.com/octo-org/smile/exemptions/1 + campaign-state: + title: Campaign state + description: Indicates whether a campaign is open or closed + type: string + enum: + - open + - closed + campaign-summary: + title: Campaign summary + description: The campaign metadata and alert stats. + type: object + properties: + number: + type: integer + description: The number of the newly created campaign + created_at: + type: string + format: date-time + description: The date and time the campaign was created, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + updated_at: + type: string + format: date-time + description: The date and time the campaign was last updated, in ISO 8601 + format':' YYYY-MM-DDTHH:MM:SSZ. + name: + type: string + description: The campaign name + description: + type: string + description: The campaign description + managers: + description: The campaign managers + type: array + items: + "$ref": "#/components/schemas/simple-user" + team_managers: + description: The campaign team managers + type: array + items: + "$ref": "#/components/schemas/team" + published_at: + description: The date and time the campaign was published, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + ends_at: + description: The date and time the campaign has ended, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. + type: string + format: date-time + closed_at: + description: The date and time the campaign was closed, in ISO 8601 format':' + YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open. + type: string + format: date-time + nullable: true + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: string + format: uri + nullable: true + alert_stats: + type: object + additionalProperties: false + properties: + open_count: + type: integer + description: The number of open alerts + closed_count: + type: integer + description: The number of closed alerts + in_progress_count: + type: integer + description: The number of in-progress alerts + required: + - open_count + - closed_count + - in_progress_count + required: + - number + - created_at + - updated_at + - description + - managers + - ends_at + - state + - contact_link code-scanning-alert-severity: type: string description: Severity of a code scanning alert. @@ -98017,6 +98491,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -98043,29 +98522,8 @@ components: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - path: - type: string - mode: - type: string - type: - type: string - size: - type: integer - sha: - type: string - url: - type: string - required: - - path - - mode - - type - - sha - - url - - size required: - sha - - url - tree - truncated hook-response: @@ -217380,6 +217838,103 @@ components: created_at: '2024-07-02T08:43:04Z' url: https://api.github.com/repos/octo-org/smile/bypass-requests/secret-scanning/2 html_url: https://github.com/octo-org/smile/exemptions/2 + campaign-org-items: + value: + - number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + - number: 4 + created_at: '2024-03-30T12:29:18Z' + updated_at: '2024-03-30T12:29:18Z' + name: Mitre top 10 KEV + description: Remediate the MITRE Top 10 KEV (Known Exploited Vulnerabilities) + to enhance security by addressing vulnerabilities actively exploited by + attackers. This reduces risk, prevents breaches and can help protect sensitive + data. + managers: + - 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 + ends_at: '2024-04-30T12:29:18Z' + closed_at: + state: open + campaign-summary: + value: + number: 3 + created_at: '2024-02-14T12:29:18Z' + updated_at: '2024-02-14T12:29:18Z' + name: Critical CodeQL alert + description: Address critical alerts before they are exploited to prevent + breaches, protect sensitive data, and mitigate financial and reputational + damage. + managers: + - 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 + published_at: '2024-02-14T12:29:18Z' + ends_at: '2024-03-14T12:29:18Z' + closed_at: + state: open + alert_stats: + open_count: 10 + closed_count: 3 + in_progress_count: 3 code-security-configuration-list: value: - id: 17 diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index 1dee35acd4..f3334a9111 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -119301,7 +119301,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -120190,7 +120190,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -121093,7 +121093,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -122627,7 +122627,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -123541,7 +123541,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -124432,7 +124432,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -254279,6 +254279,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -254313,42 +254319,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -254615,6 +254592,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -254649,42 +254632,13 @@ "type": "blob", "size": 30, "sha": "44b4fc6d56897b048c772eb4087f854f46256132", - "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132", - "properties": { - "path": { - "type": "string" - }, - "mode": { - "type": "string" - }, - "type": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "sha": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "required": [ - "path", - "mode", - "type", - "sha", - "url", - "size" - ] + "url": "https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132" } ] } }, "required": [ "sha", - "url", "tree", "truncated" ] @@ -363716,7 +363670,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -364904,7 +364858,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -365700,7 +365654,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -366585,7 +366539,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -368138,7 +368092,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -368949,7 +368903,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -369830,7 +369784,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -935656,7 +935610,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -938106,7 +938060,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -940556,7 +940510,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -941280,7 +941234,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -941832,7 +941786,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", @@ -942387,7 +942341,7 @@ "properties": { "automatic_copilot_code_review_enabled": { "type": "boolean", - "description": "> [!NOTE]\n> `automatic_copilot_code_review_enabled` is in beta and subject to change.\n\nAutomatically request review from Copilot for new pull requests, if the author has access to Copilot code review." + "description": "Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review." }, "dismiss_stale_reviews_on_push": { "type": "boolean", diff --git a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index a5376a7229..172401a500 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -32166,11 +32166,9 @@ paths: properties: automatic_copilot_code_review_enabled: type: boolean - description: |- - > [!NOTE] - > `automatic_copilot_code_review_enabled` is in beta and subject to change. - - Automatically request review from Copilot for new pull requests, if the author has access to Copilot code review. + description: Automatically request review from Copilot + for new pull requests, if the author has access + to Copilot code review. dismiss_stale_reviews_on_push: type: boolean description: New, reviewable commits pushed will @@ -60894,6 +60892,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -60920,29 +60923,8 @@ paths: size: 30 sha: 44b4fc6d56897b048c772eb4087f854f46256132 url: https://api.github.com/repos/octocat/Hello-World/git/blobs/44b4fc6d56897b048c772eb4087f854f46256132 - properties: - {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}