diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 1d546a42ce..217ca2ffb0 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -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": [ @@ -10703,6 +10707,530 @@ } } }, + "/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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", @@ -104518,6 +105046,333 @@ "visibility" ] }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ], + "format": "date-time" + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "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." @@ -105464,219 +106319,6 @@ ], "additionalProperties": true }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, - "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", - "null" - ] - }, - "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", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/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", @@ -109547,7 +110189,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", @@ -122272,6 +122914,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -122318,42 +122966,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" ] @@ -282686,6 +283305,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index fda6267ade..d3d69d1807 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -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: @@ -7737,6 +7739,393 @@ 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 + - 'null' + format: uri + 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 + - 'null' + format: uri + 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 @@ -75770,6 +76159,252 @@ 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 + 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 + examples: + - 1 + node_id: + type: string + examples: + - MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1 + members_url: + type: string + examples: + - https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + examples: + - Justice League + description: + description: Description of the team + type: + - string + - 'null' + examples: + - A great team. + permission: + description: Permission that the team will have for its repositories + type: string + examples: + - admin + privacy: + description: The level of privacy this team should have + type: string + examples: + - closed + notification_setting: + description: The notification setting the team has set + type: string + examples: + - notifications_enabled + html_url: + type: string + format: uri + examples: + - https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1/repos + slug: + type: string + examples: + - justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + type: string + examples: + - uid=example,ou=users,dc=github,dc=com + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + 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 + - 'null' + 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 + examples: + - https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + format: date-time + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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. @@ -76508,160 +77143,6 @@ components: - public_code_suggestions - seat_management_setting additionalProperties: true - 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 - examples: - - 1 - node_id: - type: string - examples: - - MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1 - members_url: - type: string - examples: - - https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - examples: - - Justice League - description: - description: Description of the team - type: - - string - - 'null' - examples: - - A great team. - permission: - description: Permission that the team will have for its repositories - type: string - examples: - - admin - privacy: - description: The level of privacy this team should have - type: string - examples: - - closed - notification_setting: - description: The notification setting the team has set - type: string - examples: - - notifications_enabled - html_url: - type: string - format: uri - examples: - - https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1/repos - slug: - type: string - examples: - - justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - type: string - examples: - - uid=example,ou=users,dc=github,dc=com - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - 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 - - 'null' - 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 - examples: - - https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/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 @@ -79596,11 +80077,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 @@ -88832,6 +89310,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -88864,29 +89347,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: @@ -208782,6 +209244,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 1d546a42ce..217ca2ffb0 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/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": [ @@ -10703,6 +10707,530 @@ } } }, + "/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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", @@ -104518,6 +105046,333 @@ "visibility" ] }, + "campaign-state": { + "title": "Campaign state", + "description": "Indicates whether a campaign is open or closed", + "type": "string", + "enum": [ + "open", + "closed" + ] + }, + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "$ref": "#/components/schemas/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", + "null" + ], + "format": "date-time" + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "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." @@ -105464,219 +106319,6 @@ ], "additionalProperties": true }, - "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", - "examples": [ - 1 - ] - }, - "node_id": { - "type": "string", - "examples": [ - "MDQ6VGVhbTE=" - ] - }, - "url": { - "description": "URL for the team", - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1" - ] - }, - "members_url": { - "type": "string", - "examples": [ - "https://api.github.com/organizations/1/team/1/members{/member}" - ] - }, - "name": { - "description": "Name of the team", - "type": "string", - "examples": [ - "Justice League" - ] - }, - "description": { - "description": "Description of the team", - "type": [ - "string", - "null" - ], - "examples": [ - "A great team." - ] - }, - "permission": { - "description": "Permission that the team will have for its repositories", - "type": "string", - "examples": [ - "admin" - ] - }, - "privacy": { - "description": "The level of privacy this team should have", - "type": "string", - "examples": [ - "closed" - ] - }, - "notification_setting": { - "description": "The notification setting the team has set", - "type": "string", - "examples": [ - "notifications_enabled" - ] - }, - "html_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "repositories_url": { - "type": "string", - "format": "uri", - "examples": [ - "https://api.github.com/organizations/1/team/1/repos" - ] - }, - "slug": { - "type": "string", - "examples": [ - "justice-league" - ] - }, - "ldap_dn": { - "description": "Distinguished Name (DN) that team maps to within LDAP environment", - "type": "string", - "examples": [ - "uid=example,ou=users,dc=github,dc=com" - ] - } - }, - "required": [ - "id", - "node_id", - "url", - "members_url", - "name", - "description", - "permission", - "html_url", - "repositories_url", - "slug" - ] - }, - "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", - "null" - ] - }, - "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", - "examples": [ - "https://github.com/orgs/rails/teams/core" - ] - }, - "members_url": { - "type": "string" - }, - "repositories_url": { - "type": "string", - "format": "uri" - }, - "parent": { - "anyOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/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", @@ -109547,7 +110189,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", @@ -122272,6 +122914,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -122318,42 +122966,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" ] @@ -282686,6 +283305,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index fda6267ade..d3d69d1807 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/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: @@ -7737,6 +7739,393 @@ 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 + - 'null' + format: uri + 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 + - 'null' + format: uri + 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 @@ -75770,6 +76159,252 @@ 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 + 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 + examples: + - 1 + node_id: + type: string + examples: + - MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1 + members_url: + type: string + examples: + - https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + examples: + - Justice League + description: + description: Description of the team + type: + - string + - 'null' + examples: + - A great team. + permission: + description: Permission that the team will have for its repositories + type: string + examples: + - admin + privacy: + description: The level of privacy this team should have + type: string + examples: + - closed + notification_setting: + description: The notification setting the team has set + type: string + examples: + - notifications_enabled + html_url: + type: string + format: uri + examples: + - https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1/repos + slug: + type: string + examples: + - justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps to within LDAP environment + type: string + examples: + - uid=example,ou=users,dc=github,dc=com + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + 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 + - 'null' + 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 + examples: + - https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + anyOf: + - type: 'null' + - "$ref": "#/components/schemas/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 + - 'null' + format: date-time + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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. @@ -76508,160 +77143,6 @@ components: - public_code_suggestions - seat_management_setting additionalProperties: true - 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 - examples: - - 1 - node_id: - type: string - examples: - - MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1 - members_url: - type: string - examples: - - https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - examples: - - Justice League - description: - description: Description of the team - type: - - string - - 'null' - examples: - - A great team. - permission: - description: Permission that the team will have for its repositories - type: string - examples: - - admin - privacy: - description: The level of privacy this team should have - type: string - examples: - - closed - notification_setting: - description: The notification setting the team has set - type: string - examples: - - notifications_enabled - html_url: - type: string - format: uri - examples: - - https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1/repos - slug: - type: string - examples: - - justice-league - ldap_dn: - description: Distinguished Name (DN) that team maps to within LDAP environment - type: string - examples: - - uid=example,ou=users,dc=github,dc=com - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - 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 - - 'null' - 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 - examples: - - https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - anyOf: - - type: 'null' - - "$ref": "#/components/schemas/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 @@ -79596,11 +80077,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 @@ -88832,6 +89310,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -88864,29 +89347,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: @@ -208782,6 +209244,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index c3829fea76..63296abdc4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -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": [ @@ -74814,62 +74818,3012 @@ } } } - } - }, - "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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" @@ -74877,56 +77831,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } } @@ -74937,20 +77867,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": [ { @@ -74963,25 +77893,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" } } }, @@ -143414,7 +146391,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", @@ -144698,7 +147675,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", @@ -145994,7 +148971,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", @@ -147948,7 +150925,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", @@ -149257,7 +152234,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", @@ -150549,7 +153526,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", @@ -326591,6 +329568,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -326637,42 +329620,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" ] @@ -326945,6 +329899,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -326991,42 +329951,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" ] @@ -481271,7 +484202,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", @@ -482992,7 +485923,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", @@ -484066,7 +486997,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", @@ -485352,7 +488283,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", @@ -487325,7 +490256,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", @@ -488414,7 +491345,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", @@ -489696,7 +492627,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", @@ -1241519,7 +1244450,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", @@ -1244743,7 +1247674,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", @@ -1247967,7 +1250898,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", @@ -1248967,7 +1251898,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", @@ -1249795,7 +1252726,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", @@ -1250626,7 +1253557,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 92f407acc9..00d35eda9e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -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: @@ -897,7 +899,7 @@ paths: - subscriptions_url - type - url - type: &241 + type: &244 type: string description: The type of credit the user is receiving. enum: @@ -1063,7 +1065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &559 + - &562 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1659,7 +1661,7 @@ paths: schema: type: integer default: 30 - - &158 + - &162 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 @@ -1675,7 +1677,7 @@ paths: application/json: schema: type: array - items: &159 + items: &163 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1771,7 +1773,7 @@ paths: - installation_id - repository_id examples: - default: &160 + default: &164 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1906,7 +1908,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &165 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2041,7 +2043,7 @@ paths: - request - response examples: - default: &162 + default: &166 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7801,7 +7803,7 @@ paths: description: Response content: application/json: - schema: &135 + schema: &138 type: array description: A list of default code security configurations items: @@ -7817,7 +7819,7 @@ paths: default configuration: *40 examples: - default: &136 + default: &139 value: - default_for_new_repos: public configuration: @@ -8125,7 +8127,7 @@ paths: - *39 - *42 responses: - '204': &137 + '204': &140 description: A header with no content is returned. '400': *14 '403': *27 @@ -8252,7 +8254,7 @@ paths: default: value: default_for_new_repos: all - configuration: &134 + configuration: &137 value: id: 1325 target_type: organization @@ -8335,7 +8337,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 type: object description: Repositories associated with a code security configuration and attachment status @@ -8680,7 +8682,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &139 + repository: &142 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8774,7 +8776,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &143 + - &147 name: state in: query description: |- @@ -8783,7 +8785,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &144 + - &148 name: severity in: query description: |- @@ -8792,7 +8794,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &145 + - &149 name: ecosystem in: query description: |- @@ -8801,14 +8803,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &146 + - &150 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 - - &147 + - &151 name: epss_percentage in: query description: |- @@ -8820,7 +8822,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 - - &148 + - &152 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8830,7 +8832,7 @@ paths: enum: - development - runtime - - &149 + - &153 name: sort in: query description: |- @@ -8848,7 +8850,7 @@ paths: - *46 - *37 - *38 - - &150 + - &154 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8861,7 +8863,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &151 + - &155 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8881,7 +8883,7 @@ paths: application/json: schema: type: array - items: &152 + items: &156 type: object description: A Dependabot alert. properties: @@ -8951,7 +8953,7 @@ paths: - direct - transitive - - security_advisory: &407 + security_advisory: &410 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9180,7 +9182,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &130 + dismissed_at: &133 type: - string - 'null' @@ -9211,7 +9213,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &129 + fixed_at: &132 type: - string - 'null' @@ -9219,7 +9221,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &408 + auto_dismissed_at: &411 type: - string - 'null' @@ -9246,7 +9248,7 @@ paths: - repository additionalProperties: false examples: - default: &153 + default: &157 value: - number: 2 state: dismissed @@ -9593,7 +9595,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &232 + - &235 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9604,7 +9606,7 @@ paths: enum: - open - resolved - - &233 + - &236 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9614,7 +9616,7 @@ paths: required: false schema: type: string - - &234 + - &237 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9623,7 +9625,7 @@ paths: required: false schema: type: string - - &235 + - &238 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. @@ -9639,7 +9641,7 @@ paths: - *17 - *37 - *38 - - &236 + - &239 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9648,7 +9650,7 @@ paths: required: false schema: type: string - - &237 + - &240 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9657,7 +9659,7 @@ paths: schema: type: boolean default: false - - &238 + - &241 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9673,7 +9675,7 @@ paths: application/json: schema: type: array - items: &239 + items: &242 type: object properties: number: *52 @@ -9689,14 +9691,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &551 + state: &554 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: &552 + resolution: &555 type: - string - 'null' @@ -9801,7 +9803,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &240 + default: &243 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10254,7 +10256,7 @@ paths: milestone: anyOf: - type: 'null' - - &395 + - &398 title: Milestone description: A collection of related issues and pull requests. @@ -10426,7 +10428,7 @@ paths: timeline_url: type: string format: uri - type: &181 + type: &184 title: Issue Type description: The type of issue. type: @@ -10571,7 +10573,7 @@ paths: - author_association - created_at - updated_at - comment: &454 + comment: &457 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11146,7 +11148,7 @@ paths: url: type: string format: uri - user: &582 + user: &585 title: Public User description: Public User type: object @@ -13041,7 +13043,7 @@ paths: - closed - all default: open - - &184 + - &187 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13092,7 +13094,7 @@ paths: type: array items: *74 examples: - default: &185 + default: &188 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14503,14 +14505,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &263 + - &266 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &264 + - &267 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14581,7 +14583,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &275 + '301': &278 description: Moved permanently content: application/json: @@ -14603,7 +14605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &483 + - &486 name: all description: If `true`, show notifications marked as read. in: query @@ -14611,7 +14613,7 @@ paths: schema: type: boolean default: false - - &484 + - &487 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14621,7 +14623,7 @@ paths: type: boolean default: false - *64 - - &485 + - &488 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: @@ -14992,7 +14994,7 @@ paths: type: boolean examples: - false - security_and_analysis: &222 + security_and_analysis: &225 type: - object - 'null' @@ -15147,7 +15149,7 @@ paths: - url - subscription_url examples: - default: &486 + default: &489 value: - id: '1' repository: @@ -15696,7 +15698,7 @@ paths: application/json: schema: type: array - items: &142 + items: &145 title: Organization Simple description: A GitHub organization. type: object @@ -15768,7 +15770,7 @@ paths: - avatar_url - description examples: - default: &599 + default: &602 value: - login: github id: 1 @@ -15920,7 +15922,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': &140 + '500': &143 description: Internal Error content: application/json: @@ -16744,7 +16746,7 @@ paths: type: integer repository_cache_usages: type: array - items: &280 + items: &283 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17642,7 +17644,7 @@ paths: - all - local_only - selected - selected_actions_url: &286 + selected_actions_url: &289 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` @@ -17732,7 +17734,7 @@ paths: type: array items: *59 examples: - default: &593 + default: &596 value: total_count: 1 repositories: @@ -18060,7 +18062,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &293 type: object properties: default_workflow_permissions: &108 @@ -18111,7 +18113,7 @@ paths: required: false content: application/json: - schema: &291 + schema: &294 type: object properties: default_workflow_permissions: *108 @@ -18604,7 +18606,7 @@ paths: type: array items: *115 examples: - default: &585 + default: &588 value: total_count: 1 repositories: @@ -19251,7 +19253,7 @@ paths: application/json: schema: type: array - items: &292 + items: &295 title: Runner Application description: Runner Application type: object @@ -19276,7 +19278,7 @@ paths: - download_url - filename examples: - default: &293 + default: &296 value: - os: osx architecture: x64 @@ -19362,7 +19364,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &294 + '201': &297 description: Response content: application/json: @@ -19477,7 +19479,7 @@ paths: - token - expires_at examples: - default: &295 + default: &298 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19516,7 +19518,7 @@ paths: application/json: schema: *119 examples: - default: &296 + default: &299 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19550,7 +19552,7 @@ paths: application/json: schema: *117 examples: - default: &297 + default: &300 value: id: 23 name: MBP @@ -19775,7 +19777,7 @@ paths: - *90 - *116 responses: - '200': &298 + '200': &301 description: Response content: application/json: @@ -19832,7 +19834,7 @@ paths: parameters: - *90 - *116 - - &299 + - &302 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19964,7 +19966,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &314 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19999,7 +20001,7 @@ paths: - key_id - key examples: - default: &312 + default: &315 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20412,7 +20414,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &285 + - &288 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)." @@ -20952,7 +20954,7 @@ paths: bundle_url: type: string examples: - default: &325 + default: &328 value: attestations: - bundle: @@ -21071,7 +21073,7 @@ paths: type: array items: *4 examples: - default: &186 + default: &189 value: - login: octocat id: 1 @@ -21172,6 +21174,706 @@ 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: + - *90 + - *19 + - *17 + - *46 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &129 + 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: &130 + 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: &146 + 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 + - 'null' + 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 + examples: + - https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + anyOf: + - type: 'null' + - &201 + 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 + examples: + - 1 + node_id: + type: string + examples: + - MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1 + members_url: + type: string + examples: + - https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + examples: + - Justice League + description: + description: Description of the team + type: + - string + - 'null' + examples: + - A great team. + permission: + description: Permission that the team will have + for its repositories + type: string + examples: + - admin + privacy: + description: The level of privacy this team should + have + type: string + examples: + - closed + notification_setting: + description: The notification setting the team has + set + type: string + examples: + - notifications_enabled + html_url: + type: string + format: uri + examples: + - https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1/repos + slug: + type: string + examples: + - justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps + to within LDAP environment + type: string + examples: + - uid=example,ou=users,dc=github,dc=com + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + 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 + - 'null' + format: date-time + state: *129 + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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: *57 + '404': *6 + '503': *62 + 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: + - *90 + 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 + - 'null' + format: uri + 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: *130 + examples: + default: &131 + 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': *62 + 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: + - *90 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *62 + 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: + - *90 + - 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 + - 'null' + format: uri + state: *129 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *62 + 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: + - *90 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -21189,17 +21891,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &350 + - &353 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: &131 + schema: &134 type: string description: The name of the tool used to generate the code scanning analysis. - - &351 + - &354 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 @@ -21207,7 +21909,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &132 + schema: &135 type: - string - 'null' @@ -21223,7 +21925,7 @@ paths: be returned. in: query required: false - schema: &353 + schema: &356 type: string description: State of a code scanning alert. enum: @@ -21246,7 +21948,7 @@ paths: be returned. in: query required: false - schema: &354 + schema: &357 type: string description: Severity of a code scanning alert. enum: @@ -21272,13 +21974,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &355 + instances_url: &358 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &133 + state: &136 type: - string - 'null' @@ -21288,13 +21990,13 @@ paths: - dismissed - fixed - - fixed_at: *129 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: &356 + dismissed_at: *133 + dismissed_reason: &359 type: - string - 'null' @@ -21305,14 +22007,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &357 + dismissed_comment: &360 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &358 + rule: &361 type: object properties: id: @@ -21373,26 +22075,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &359 + tool: &362 type: object properties: - name: *131 + name: *134 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *132 - most_recent_instance: &360 + guid: *135 + most_recent_instance: &363 type: object properties: - ref: &352 + ref: &355 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &370 + analysis_key: &373 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21403,13 +22105,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &371 + category: &374 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: *133 + state: *136 commit_sha: type: string message: @@ -22034,7 +22736,7 @@ paths: application/json: schema: *40 examples: - default: *134 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22062,9 +22764,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *136 + default: *139 '304': *35 '403': *27 '404': *6 @@ -22113,7 +22815,7 @@ paths: - 32 - 91 responses: - '204': *137 + '204': *140 '400': *14 '403': *27 '404': *6 @@ -22148,7 +22850,7 @@ paths: application/json: schema: *40 examples: - default: *134 + default: *137 '304': *35 '403': *27 '404': *6 @@ -22410,7 +23112,7 @@ paths: - *90 - *42 responses: - '204': *137 + '204': *140 '400': *14 '403': *27 '404': *6 @@ -22548,7 +23250,7 @@ paths: default: value: default_for_new_repos: all - configuration: *134 + configuration: *137 '403': *27 '404': *6 x-github: @@ -22601,13 +23303,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *139 + repository: *142 '403': *27 '404': *6 x-github: @@ -22647,7 +23349,7 @@ paths: type: integer codespaces: type: array - items: &187 + items: &190 type: object title: Codespace description: A codespace. @@ -22682,7 +23384,7 @@ paths: machine: anyOf: - type: 'null' - - &383 + - &386 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22969,7 +23671,7 @@ paths: - pulls_url - recent_folders examples: - default: &188 + default: &191 value: total_count: 3 codespaces: @@ -23379,7 +24081,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -23445,7 +24147,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23500,7 +24202,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23554,7 +24256,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23593,7 +24295,7 @@ paths: type: integer secrets: type: array - items: &141 + items: &144 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23634,7 +24336,7 @@ paths: - updated_at - visibility examples: - default: &384 + default: &387 value: total_count: 2 secrets: @@ -23672,7 +24374,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &388 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23707,7 +24409,7 @@ paths: - key_id - key examples: - default: &386 + default: &389 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23737,9 +24439,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: &388 + default: &391 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24151,7 +24853,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24206,7 +24908,7 @@ paths: currently being billed. seats: type: array - items: &190 + items: &193 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -24216,168 +24918,12 @@ paths: organization: anyOf: - type: 'null' - - *142 + - *145 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &180 - 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 - - 'null' - 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 - examples: - - https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - anyOf: - - type: 'null' - - &198 - 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 - examples: - - 1 - node_id: - type: string - examples: - - MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1 - members_url: - type: string - examples: - - https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - examples: - - Justice League - description: - description: Description of the team - type: - - string - - 'null' - examples: - - A great team. - permission: - description: Permission that the team will have - for its repositories - type: string - examples: - - admin - privacy: - description: The level of privacy this team - should have - type: string - examples: - - closed - notification_setting: - description: The notification setting the team - has set - type: string - examples: - - notifications_enabled - html_url: - type: string - format: uri - examples: - - https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1/repos - slug: - type: string - examples: - - justice-league - ldap_dn: - description: Distinguished Name (DN) that team - maps to within LDAP environment - type: string - examples: - - uid=example,ou=users,dc=github,dc=com - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent + - *146 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -24553,7 +25099,7 @@ paths: site_admin: false headers: Link: *57 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24628,7 +25174,7 @@ paths: default: value: seats_created: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24706,7 +25252,7 @@ paths: default: value: seats_cancelled: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24785,7 +25331,7 @@ paths: default: value: seats_created: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24863,7 +25409,7 @@ paths: default: value: seats_cancelled: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24934,7 +25480,7 @@ paths: application/json: schema: type: array - items: &245 + items: &248 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25249,7 +25795,7 @@ paths: - date additionalProperties: true examples: - default: &246 + default: &249 value: - date: '2024-06-24' total_active_users: 24 @@ -25348,10 +25894,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *140 + '500': *143 '403': *27 '404': *6 - '422': &247 + '422': &250 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25379,18 +25925,18 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *90 - - *143 - - *144 - - *145 - - *146 - *147 - *148 - *149 + - *150 + - *151 + - *152 + - *153 - *46 - *37 - *38 - - *150 - - *151 + - *154 + - *155 - *17 responses: '200': @@ -25399,9 +25945,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *153 + default: *157 '304': *35 '400': *14 '403': *27 @@ -25445,7 +25991,7 @@ paths: type: integer secrets: type: array - items: &154 + items: &158 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -25524,7 +26070,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25543,7 +26089,7 @@ paths: - key_id - key examples: - default: &412 + default: &415 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25573,7 +26119,7 @@ paths: description: Response content: application/json: - schema: *154 + schema: *158 examples: default: value: @@ -25870,7 +26416,7 @@ paths: application/json: schema: type: array - items: &200 + items: &203 title: Package description: A software package type: object @@ -25941,7 +26487,7 @@ paths: - created_at - updated_at examples: - default: &201 + default: &204 value: - id: 197 name: hello_docker @@ -26108,7 +26654,7 @@ paths: application/json: schema: type: array - items: &177 + items: &181 title: Organization Invitation description: Organization Invitation type: object @@ -26162,7 +26708,7 @@ paths: - invitation_teams_url - node_id examples: - default: &178 + default: &182 value: - id: 1 login: monalisa @@ -26229,7 +26775,7 @@ paths: application/json: schema: type: array - items: &155 + items: &159 title: Org Hook description: Org Hook type: object @@ -26414,9 +26960,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: - default: &156 + default: &160 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -26464,7 +27010,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *90 - - &157 + - &161 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. @@ -26477,9 +27023,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: - default: *156 + default: *160 '404': *6 x-github: githubCloudOnly: false @@ -26507,7 +27053,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *90 - - *157 + - *161 requestBody: required: false content: @@ -26553,7 +27099,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: default: value: @@ -26595,7 +27141,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *90 - - *157 + - *161 responses: '204': description: Response @@ -26623,7 +27169,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *90 - - *157 + - *161 responses: '200': description: Response @@ -26654,7 +27200,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *90 - - *157 + - *161 requestBody: required: false content: @@ -26705,9 +27251,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *17 - - *158 + - *162 responses: '200': description: Response @@ -26715,9 +27261,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *160 + default: *164 '400': *14 '422': *15 x-github: @@ -26743,16 +27289,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *16 responses: '200': description: Response content: application/json: - schema: *161 + schema: *165 examples: - default: *162 + default: *166 '400': *14 '422': *15 x-github: @@ -26778,7 +27324,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *16 responses: '202': *45 @@ -26808,7 +27354,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *90 - - *157 + - *161 responses: '204': description: Response @@ -26831,7 +27377,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *90 - - &167 + - &171 name: actor_type in: path description: The type of the actor @@ -26844,14 +27390,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &168 + - &172 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &163 + - &167 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`.' @@ -26859,7 +27405,7 @@ paths: required: true schema: type: string - - &164 + - &168 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) @@ -26954,12 +27500,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *90 - - *163 - - *164 + - *167 + - *168 - *19 - *17 - *46 - - &173 + - &177 name: sort description: The property to sort the results by. in: query @@ -27039,14 +27585,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *90 - - *163 - - *164 + - *167 + - *168 responses: '200': description: Response content: application/json: - schema: &165 + schema: &169 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -27062,7 +27608,7 @@ paths: type: integer format: int64 examples: - default: &166 + default: &170 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -27083,23 +27629,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *90 - - &169 + - &173 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *163 - - *164 + - *167 + - *168 responses: '200': description: Response content: application/json: - schema: *165 + schema: *169 examples: - default: *166 + default: *170 x-github: enabledForGitHubApps: true category: orgs @@ -27118,18 +27664,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *90 - - *163 - - *164 - *167 - *168 + - *171 + - *172 responses: '200': description: Response content: application/json: - schema: *165 + schema: *169 examples: - default: *166 + default: *170 x-github: enabledForGitHubApps: true category: orgs @@ -27147,9 +27693,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *90 - - *163 - - *164 - - &170 + - *167 + - *168 + - &174 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -27162,7 +27708,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &175 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -27178,7 +27724,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &176 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -27215,18 +27761,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *90 - - *169 - - *163 - - *164 - - *170 + - *173 + - *167 + - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *171 + schema: *175 examples: - default: *172 + default: *176 x-github: enabledForGitHubApps: true category: orgs @@ -27244,19 +27790,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *90 + - *171 + - *172 - *167 - *168 - - *163 - - *164 - - *170 + - *174 responses: '200': description: Response content: application/json: - schema: *171 + schema: *175 examples: - default: *172 + default: *176 x-github: enabledForGitHubApps: true category: orgs @@ -27274,13 +27820,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *90 - - *169 - - *163 - - *164 + - *173 + - *167 + - *168 - *19 - *17 - *46 - - *173 + - *177 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -27364,7 +27910,7 @@ paths: application/json: schema: *20 examples: - default: &450 + default: &453 value: id: 1 account: @@ -27530,12 +28076,12 @@ paths: application/json: schema: anyOf: - - &175 + - &179 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &174 + limit: &178 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -27563,7 +28109,7 @@ paths: properties: {} additionalProperties: false examples: - default: &176 + default: &180 value: limit: collaborators_only origin: organization @@ -27592,13 +28138,13 @@ paths: required: true content: application/json: - schema: &451 + schema: &454 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *174 + limit: *178 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -27623,9 +28169,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: - default: *176 + default: *180 '422': *15 x-github: githubCloudOnly: false @@ -27701,9 +28247,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 '404': *6 @@ -27780,7 +28326,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *181 examples: default: value: @@ -27835,7 +28381,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *90 - - &179 + - &183 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27866,7 +28412,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *90 - - *179 + - *183 - *17 - *19 responses: @@ -27876,9 +28422,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: &199 + default: &202 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27921,7 +28467,7 @@ paths: application/json: schema: type: array - items: *181 + items: *184 examples: default: value: @@ -28009,9 +28555,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *184 examples: - default: &182 + default: &185 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -28044,7 +28590,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *90 - - &183 + - &186 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -28100,9 +28646,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *184 examples: - default: *182 + default: *185 '404': *6 '422': *7 x-github: @@ -28127,7 +28673,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *90 - - *183 + - *186 responses: '204': description: Response @@ -28190,7 +28736,7 @@ paths: - closed - all default: open - - *184 + - *187 - name: type description: Can be the name of an issue type. in: query @@ -28221,7 +28767,7 @@ paths: type: array items: *74 examples: - default: *185 + default: *188 headers: Link: *57 '404': *6 @@ -28279,7 +28825,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '422': *15 @@ -28375,11 +28921,11 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: - default: *188 + default: *191 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28404,7 +28950,7 @@ paths: parameters: - *90 - *128 - - &189 + - &192 name: codespace_name in: path required: true @@ -28414,7 +28960,7 @@ paths: responses: '202': *45 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28439,15 +28985,15 @@ paths: parameters: - *90 - *128 - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: &382 + default: &385 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28589,7 +29135,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28627,7 +29173,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *190 + schema: *193 examples: default: value: @@ -28670,7 +29216,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28702,7 +29248,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &194 title: Org Membership description: Org Membership type: object @@ -28735,7 +29281,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *142 + organization: *145 user: anyOf: - type: 'null' @@ -28755,7 +29301,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &192 + response-if-user-has-an-active-admin-membership-with-organization: &195 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28852,9 +29398,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: - response-if-user-already-had-membership-with-organization: *192 + response-if-user-already-had-membership-with-organization: *195 '422': *15 '403': *27 x-github: @@ -28923,7 +29469,7 @@ paths: application/json: schema: type: array - items: &193 + items: &196 title: Migration description: A migration. type: object @@ -29261,7 +29807,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -29440,7 +29986,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *90 - - &194 + - &197 name: migration_id description: The unique identifier of the migration. in: path @@ -29468,7 +30014,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -29638,7 +30184,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *90 - - *194 + - *197 responses: '302': description: Response @@ -29660,7 +30206,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *90 - - *194 + - *197 responses: '204': description: Response @@ -29684,8 +30230,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *90 - - *194 - - &598 + - *197 + - &601 name: repo_name description: repo_name parameter in: path @@ -29713,7 +30259,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *90 - - *194 + - *197 - *17 - *19 responses: @@ -29725,7 +30271,7 @@ paths: type: array items: *115 examples: - default: &206 + default: &209 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29878,7 +30424,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &197 + items: &200 title: Organization Role description: Organization roles type: object @@ -30028,7 +30574,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *90 - - &195 + - &198 name: team_slug description: The slug of the team name. in: path @@ -30060,8 +30606,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *90 - - *195 - - &196 + - *198 + - &199 name: role_id description: The unique identifier of the role. in: path @@ -30097,8 +30643,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *90 - - *195 - - *196 + - *198 + - *199 responses: '204': description: Response @@ -30151,7 +30697,7 @@ paths: parameters: - *90 - *128 - - *196 + - *199 responses: '204': description: Response @@ -30183,7 +30729,7 @@ paths: parameters: - *90 - *128 - - *196 + - *199 responses: '204': description: Response @@ -30212,13 +30758,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *90 - - *196 + - *199 responses: '200': description: Response content: application/json: - schema: *197 + schema: *200 examples: default: value: @@ -30269,7 +30815,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *90 - - *196 + - *199 - *17 - *19 responses: @@ -30348,7 +30894,7 @@ paths: parent: anyOf: - type: 'null' - - *198 + - *201 required: - id - node_id @@ -30362,7 +30908,7 @@ paths: - slug - parent examples: - default: *199 + default: *202 headers: Link: *57 '404': @@ -30392,7 +30938,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *90 - - *196 + - *199 - *17 - *19 responses: @@ -30421,7 +30967,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *198 + items: *201 name: type: - string @@ -30538,7 +31084,7 @@ paths: - type - url examples: - default: *186 + default: *189 headers: Link: *57 '404': @@ -30586,7 +31132,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -30728,7 +31274,7 @@ paths: - nuget - container - *90 - - &600 + - &603 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30764,12 +31310,12 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *201 + default: *204 '403': *27 '401': *23 - '400': &602 + '400': &605 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30791,7 +31337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &202 + - &205 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 @@ -30809,7 +31355,7 @@ paths: - docker - nuget - container - - &203 + - &206 name: package_name description: The name of the package. in: path @@ -30822,7 +31368,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -30874,8 +31420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 responses: '204': @@ -30908,8 +31454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 - name: token description: package token @@ -30942,8 +31488,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: - - *202 - - *203 + - *205 + - *206 - *90 - *19 - *17 @@ -30964,7 +31510,7 @@ paths: application/json: schema: type: array - items: &204 + items: &207 title: Package Version description: A version of a software package type: object @@ -31099,10 +31645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 - - &205 + - &208 name: package_version_id description: Unique identifier of the package version. in: path @@ -31114,7 +31660,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -31150,10 +31696,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *202 - - *203 - - *90 - *205 + - *206 + - *90 + - *208 responses: '204': description: Response @@ -31185,10 +31731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *202 - - *203 - - *90 - *205 + - *206 + - *90 + - *208 responses: '204': description: Response @@ -31218,7 +31764,7 @@ paths: - *90 - *17 - *19 - - &207 + - &210 name: sort description: The property by which to sort the results. in: query @@ -31229,7 +31775,7 @@ paths: - created_at default: created_at - *46 - - &208 + - &211 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -31241,7 +31787,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &209 + - &212 name: repository description: The name of the repository to use to filter the results. in: query @@ -31250,7 +31796,7 @@ paths: type: string examples: - Hello-World - - &210 + - &213 name: permission description: The permission to use to filter the results. in: query @@ -31259,7 +31805,7 @@ paths: type: string examples: - issues_read - - &211 + - &214 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) @@ -31269,7 +31815,7 @@ paths: schema: type: string format: date-time - - &212 + - &215 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) @@ -31279,7 +31825,7 @@ paths: schema: type: string format: date-time - - &213 + - &216 name: token_id description: The ID of the token in: query @@ -31292,7 +31838,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31489,7 +32035,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31551,11 +32097,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31587,7 +32133,7 @@ paths: - *17 - *19 responses: - '500': *140 + '500': *143 '404': *6 '403': *27 '200': @@ -31598,7 +32144,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -31624,16 +32170,16 @@ paths: - *90 - *17 - *19 - - *207 - - *46 - - *208 - - *209 - *210 + - *46 - *211 - *212 - *213 + - *214 + - *215 + - *216 responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31817,7 +32363,7 @@ paths: - 1296269 - 1296280 responses: - '500': *140 + '500': *143 '404': *6 '202': *45 '403': *27 @@ -31870,9 +32416,9 @@ paths: value: action: revoke responses: - '500': *140 + '500': *143 '404': *6 - '204': *137 + '204': *140 '403': *27 '422': *15 x-github: @@ -31904,7 +32450,7 @@ paths: - *17 - *19 responses: - '500': *140 + '500': *143 '404': *6 '403': *27 '200': @@ -31915,7 +32461,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -31959,7 +32505,7 @@ paths: type: integer configurations: type: array - items: &214 + items: &217 title: Organization private registry description: Private registry configuration for an organization type: object @@ -32171,7 +32717,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &215 + org-private-registry-with-selected-visibility: &218 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -32273,9 +32819,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *214 + schema: *217 examples: - default: *215 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -32426,7 +32972,7 @@ paths: application/json: schema: type: array - items: &216 + items: &219 title: Project description: Projects are a way to organize columns and cards of work. @@ -32608,7 +33154,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32646,7 +33192,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &272 + '410': &275 description: Gone content: application/json: @@ -32681,7 +33227,7 @@ paths: application/json: schema: type: array - items: &217 + items: &220 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -32757,7 +33303,7 @@ paths: - property_name - value_type examples: - default: &218 + default: &221 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32816,7 +33362,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *217 + items: *220 minItems: 1 maxItems: 100 required: @@ -32846,9 +33392,9 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: - default: *218 + default: *221 '403': *27 '404': *6 x-github: @@ -32870,7 +33416,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *90 - - &219 + - &222 name: custom_property_name description: The custom property name in: path @@ -32882,9 +33428,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: - default: &220 + default: &223 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32919,7 +33465,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *90 - - *219 + - *222 requestBody: required: true content: @@ -32997,9 +33543,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: - default: *220 + default: *223 '403': *27 '404': *6 x-github: @@ -33023,9 +33569,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *90 - - *219 + - *222 responses: - '204': *137 + '204': *140 '403': *27 '404': *6 x-github: @@ -33087,7 +33633,7 @@ paths: - octocat/Hello-World properties: type: array - items: &221 + items: &224 title: Custom Property Value description: Custom property name and associated value type: object @@ -33177,7 +33723,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *221 + items: *224 required: - repository_names - properties @@ -33230,7 +33776,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -33369,7 +33915,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -33572,7 +34118,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &277 title: Full Repository description: Full Repository type: object @@ -34037,7 +34583,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &401 + code_of_conduct: &404 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -34067,7 +34613,7 @@ paths: - key - name - html_url - security_and_analysis: *222 + security_and_analysis: *225 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -34151,7 +34697,7 @@ paths: - network_count - subscribers_count examples: - default: &276 + default: &279 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34672,7 +35218,7 @@ paths: - *90 - *17 - *19 - - &536 + - &539 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34691,7 +35237,7 @@ paths: application/json: schema: type: array - items: &229 + items: &232 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -34726,7 +35272,7 @@ paths: source: type: string description: The name of the source - enforcement: &225 + enforcement: &228 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -34739,7 +35285,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &226 + items: &229 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -34805,7 +35351,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &223 + - &226 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -34829,7 +35375,7 @@ paths: match. items: type: string - - &227 + - &230 title: Organization ruleset conditions type: object description: |- @@ -34843,7 +35389,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -34877,7 +35423,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -34899,7 +35445,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -34912,7 +35458,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &224 + items: &227 title: Repository ruleset property targeting definition type: object @@ -34945,7 +35491,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *224 + items: *227 required: - repository_property type: @@ -34953,12 +35499,12 @@ paths: - object rules: type: array - items: &228 + items: &231 title: Repository Rule type: object description: A repository rule. oneOf: - - &514 + - &517 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34970,7 +35516,7 @@ paths: type: string enum: - creation - - &515 + - &518 title: update description: Only allow users with bypass permission to update matching refs. @@ -34991,7 +35537,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &517 + - &520 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35003,7 +35549,7 @@ paths: type: string enum: - deletion - - &518 + - &521 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35015,7 +35561,7 @@ paths: type: string enum: - required_linear_history - - &519 + - &522 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35093,7 +35639,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &520 + - &523 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35117,7 +35663,7 @@ paths: type: string required: - required_deployment_environments - - &521 + - &524 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35129,7 +35675,7 @@ paths: type: string enum: - required_signatures - - &522 + - &525 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35158,11 +35704,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 @@ -35193,7 +35737,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &523 + - &526 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35241,7 +35785,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &524 + - &527 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35253,7 +35797,7 @@ paths: type: string enum: - non_fast_forward - - &525 + - &528 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35289,115 +35833,115 @@ paths: required: - operator - pattern - - &526 - title: commit_author_email_pattern - description: Parameters to be used for the commit_author_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - commit_author_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &527 - title: committer_email_pattern - description: Parameters to be used for the committer_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - committer_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &528 - title: branch_name_pattern - description: Parameters to be used for the branch_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - branch_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - &529 + title: commit_author_email_pattern + description: Parameters to be used for the commit_author_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - commit_author_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &530 + title: committer_email_pattern + description: Parameters to be used for the committer_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - committer_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &531 + title: branch_name_pattern + description: Parameters to be used for the branch_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - branch_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &532 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35433,7 +35977,7 @@ paths: required: - operator - pattern - - &530 + - &533 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35458,7 +36002,7 @@ paths: type: string required: - restricted_file_paths - - &531 + - &534 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35482,7 +36026,7 @@ paths: maximum: 256 required: - max_file_path_length - - &532 + - &535 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35505,7 +36049,7 @@ paths: type: string required: - restricted_file_extensions - - &533 + - &536 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35530,7 +36074,7 @@ paths: maximum: 100 required: - max_file_size - - &534 + - &537 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35580,7 +36124,7 @@ paths: - repository_id required: - workflows - - &535 + - &538 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35677,7 +36221,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35714,16 +36258,16 @@ paths: - push - repository default: branch - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *227 + items: *229 + conditions: *230 rules: type: array description: An array of rules within the ruleset. - items: *228 + items: *231 required: - name - enforcement @@ -35761,9 +36305,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &230 + default: &233 value: id: 21 name: super cool ruleset @@ -35803,7 +36347,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35818,7 +36362,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &537 + - &540 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 @@ -35833,7 +36377,7 @@ paths: in: query schema: type: string - - &538 + - &541 name: time_period description: |- The time period to filter by. @@ -35849,14 +36393,14 @@ paths: - week - month default: day - - &539 + - &542 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 - - &540 + - &543 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35876,7 +36420,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &544 title: Rule Suites description: Response type: array @@ -35932,7 +36476,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &542 + default: &545 value: - id: 21 actor_id: 12 @@ -35956,7 +36500,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +36520,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &543 + - &546 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35992,7 +36536,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &547 title: Rule Suite description: Response type: object @@ -36099,7 +36643,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &545 + default: &548 value: id: 21 actor_id: 12 @@ -36134,7 +36678,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36172,11 +36716,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 - '500': *140 + '500': *143 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36218,16 +36762,16 @@ paths: - tag - push - repository - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *227 + items: *229 + conditions: *230 rules: description: An array of rules within the ruleset. type: array - items: *228 + items: *231 examples: default: value: @@ -36262,11 +36806,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 - '500': *140 + '500': *143 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36293,7 +36837,7 @@ paths: '204': description: Response '404': *6 - '500': *140 + '500': *143 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36321,7 +36865,7 @@ paths: application/json: schema: type: array - items: &231 + items: &234 title: Ruleset version type: object description: The historical version of a ruleset @@ -36345,7 +36889,7 @@ paths: type: string format: date-time examples: - default: &547 + default: &550 value: - version_id: 3 actor: @@ -36363,7 +36907,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36398,9 +36942,9 @@ paths: description: Response content: application/json: - schema: &548 + schema: &551 allOf: - - *231 + - *234 - type: object required: - state @@ -36447,7 +36991,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36470,14 +37014,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *90 - - *232 - - *233 - - *234 - *235 + - *236 + - *237 + - *238 - *46 - *19 - *17 - - &549 + - &552 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 @@ -36487,7 +37031,7 @@ paths: required: false schema: type: string - - &550 + - &553 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 @@ -36497,9 +37041,9 @@ paths: required: false schema: type: string - - *236 - - *237 - - *238 + - *239 + - *240 + - *241 responses: '200': description: Response @@ -36507,9 +37051,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *57 '404': *6 @@ -36579,7 +37123,7 @@ paths: application/json: schema: type: array - items: &557 + items: &560 description: A repository security advisory. type: object properties: @@ -36823,7 +37367,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 credits_detailed: type: - array @@ -36834,7 +37378,7 @@ paths: type: object properties: user: *4 - type: *241 + type: *244 state: type: string description: The state of the user's acceptance of the @@ -36860,7 +37404,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *180 + items: *146 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -36898,7 +37442,7 @@ paths: - private_fork additionalProperties: false examples: - default: &558 + default: &561 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37285,9 +37829,9 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37311,7 +37855,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -37337,7 +37881,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -37372,7 +37916,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &619 type: object properties: total_minutes_used: @@ -37442,7 +37986,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &617 + default: &620 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37478,7 +38022,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &621 type: object properties: total_gigabytes_bandwidth_used: @@ -37496,7 +38040,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &619 + default: &622 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37528,7 +38072,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &623 type: object properties: days_left_in_billing_cycle: @@ -37546,7 +38090,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &621 + default: &624 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37588,7 +38132,7 @@ paths: type: integer network_configurations: type: array - items: &242 + items: &245 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37713,9 +38257,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: &243 + default: &246 value: id: 123456789ABCDEF name: My network configuration @@ -37744,7 +38288,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - &244 + - &247 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37756,9 +38300,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: *243 + default: *246 headers: Link: *57 x-github: @@ -37780,7 +38324,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - *244 + - *247 requestBody: required: true content: @@ -37819,9 +38363,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: *243 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37841,7 +38385,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *90 - - *244 + - *247 responses: '204': description: Response @@ -37954,7 +38498,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *90 - - *195 + - *198 - 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`). @@ -37986,13 +38530,13 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: - default: *246 - '500': *140 + default: *249 + '500': *143 '403': *27 '404': *6 - '422': *247 + '422': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38020,9 +38564,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 headers: Link: *57 '403': *27 @@ -38116,7 +38660,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38190,7 +38734,7 @@ paths: parent: anyOf: - type: 'null' - - *198 + - *201 members_count: type: integer examples: @@ -38496,7 +39040,7 @@ paths: - repos_count - organization examples: - default: &249 + default: &252 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38567,15 +39111,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *90 - - *195 + - *198 responses: '200': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 x-github: githubCloudOnly: false @@ -38597,7 +39141,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *90 - - *195 + - *198 requestBody: required: false content: @@ -38660,16 +39204,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '201': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 '422': *15 '403': *27 @@ -38695,7 +39239,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -38722,7 +39266,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *90 - - *195 + - *198 - *46 - *17 - *19 @@ -38739,7 +39283,7 @@ paths: application/json: schema: type: array - items: &250 + items: &253 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38850,7 +39394,7 @@ paths: - updated_at - url examples: - default: &572 + default: &575 value: - author: login: octocat @@ -38925,7 +39469,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *90 - - *195 + - *198 requestBody: required: true content: @@ -38959,9 +39503,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: &251 + default: &254 value: author: login: octocat @@ -39034,8 +39578,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *90 - - *195 - - &252 + - *198 + - &255 name: discussion_number description: The number that identifies the discussion. in: path @@ -39047,9 +39591,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39072,8 +39616,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: false content: @@ -39096,9 +39640,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: &573 + default: &576 value: author: login: octocat @@ -39169,8 +39713,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 responses: '204': description: Response @@ -39197,8 +39741,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *90 - - *195 - - *252 + - *198 + - *255 - *46 - *17 - *19 @@ -39209,7 +39753,7 @@ paths: application/json: schema: type: array - items: &253 + items: &256 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39289,7 +39833,7 @@ paths: - updated_at - url examples: - default: &574 + default: &577 value: - author: login: octocat @@ -39358,8 +39902,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: true content: @@ -39381,9 +39925,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: &254 + default: &257 value: author: login: octocat @@ -39450,9 +39994,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *90 - - *195 - - *252 - - &255 + - *198 + - *255 + - &258 name: comment_number description: The number that identifies the comment. in: path @@ -39464,9 +40008,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39489,9 +40033,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 requestBody: required: true content: @@ -39513,9 +40057,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: &575 + default: &578 value: author: login: octocat @@ -39580,9 +40124,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 responses: '204': description: Response @@ -39609,9 +40153,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 - 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. @@ -39637,7 +40181,7 @@ paths: application/json: schema: type: array - items: &256 + items: &259 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39681,7 +40225,7 @@ paths: - content - created_at examples: - default: &258 + default: &261 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39732,9 +40276,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 requestBody: required: true content: @@ -39767,9 +40311,9 @@ paths: team discussion comment content: application/json: - schema: *256 + schema: *259 examples: - default: &257 + default: &260 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39798,9 +40342,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39824,10 +40368,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *90 - - *195 - - *252 + - *198 - *255 - - &259 + - *258 + - &262 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39860,8 +40404,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 - 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. @@ -39887,9 +40431,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -39916,8 +40460,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: true content: @@ -39949,16 +40493,16 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39982,9 +40526,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *90 - - *195 - - *252 - - *259 + - *198 + - *255 + - *262 responses: '204': description: Response @@ -40009,7 +40553,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40019,9 +40563,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 x-github: @@ -40044,7 +40588,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *90 - - *195 + - *198 - name: role description: Filters members returned by their role in the team. in: query @@ -40067,7 +40611,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -40098,14 +40642,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 responses: '200': description: Response content: application/json: - schema: &260 + schema: &263 title: Team Membership description: Team Membership type: object @@ -40133,7 +40677,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &576 + response-if-user-is-a-team-maintainer: &579 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40170,7 +40714,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 requestBody: required: false @@ -40196,9 +40740,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-users-membership-with-team-is-now-pending: &577 + response-if-users-membership-with-team-is-now-pending: &580 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40234,7 +40778,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 responses: '204': @@ -40261,7 +40805,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40271,7 +40815,7 @@ paths: application/json: schema: type: array - items: &261 + items: &264 title: Team Project description: A team's access to a project. type: object @@ -40340,7 +40884,7 @@ paths: - updated_at - permissions examples: - default: &578 + default: &581 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40404,8 +40948,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *90 - - *195 - - &262 + - *198 + - &265 name: project_id description: The unique identifier of the project. in: path @@ -40417,9 +40961,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: &579 + default: &582 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40482,8 +41026,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *90 - - *195 - - *262 + - *198 + - *265 requestBody: required: false content: @@ -40551,8 +41095,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *90 - - *195 - - *262 + - *198 + - *265 responses: '204': description: Response @@ -40580,7 +41124,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40592,7 +41136,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -40622,15 +41166,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &580 + schema: &583 title: Team Repository description: A team's access to a repository. type: object @@ -41272,9 +41816,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 requestBody: required: false content: @@ -41320,9 +41864,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 responses: '204': description: Response @@ -41347,7 +41891,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -41357,9 +41901,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - response-if-child-teams-exist: &581 + response-if-child-teams-exist: &584 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41486,7 +42030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &265 + - &268 name: card_id description: The unique identifier of the card. in: path @@ -41498,7 +42042,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &269 title: Project Card description: Project cards represent a scope of work. type: object @@ -41573,7 +42117,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &270 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41629,7 +42173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *265 + - *268 requestBody: required: false content: @@ -41659,9 +42203,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 '304': *35 '403': *27 '401': *23 @@ -41688,7 +42232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *265 + - *268 responses: '204': description: Response @@ -41732,7 +42276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *265 + - *268 requestBody: required: true content: @@ -41845,7 +42389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &268 + - &271 name: column_id description: The unique identifier of the column. in: path @@ -41857,7 +42401,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 title: Project Column description: Project columns contain cards of work. type: object @@ -41911,7 +42455,7 @@ paths: - created_at - updated_at examples: - default: &270 + default: &273 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41946,7 +42490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *268 + - *271 requestBody: required: true content: @@ -41971,9 +42515,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '304': *35 '403': *27 '401': *23 @@ -41998,7 +42542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *268 + - *271 responses: '204': description: Response @@ -42027,7 +42571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *268 + - *271 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42048,7 +42592,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -42107,7 +42651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *268 + - *271 requestBody: required: true content: @@ -42151,9 +42695,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 '304': *35 '403': *27 '401': *23 @@ -42209,7 +42753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *268 + - *271 requestBody: required: true content: @@ -42270,15 +42814,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *262 + - *265 responses: '200': description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: &271 + default: &274 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42335,7 +42879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *262 + - *265 requestBody: required: false content: @@ -42384,9 +42928,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *271 + default: *274 '404': description: Not Found if the authenticated user does not have access to the project @@ -42407,7 +42951,7 @@ paths: items: type: string '401': *23 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -42430,7 +42974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *262 + - *265 responses: '204': description: Delete Success @@ -42451,7 +42995,7 @@ paths: items: type: string '401': *23 - '410': *272 + '410': *275 '404': *6 x-github: githubCloudOnly: false @@ -42475,7 +43019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *262 + - *265 - 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 @@ -42502,7 +43046,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -42532,7 +43076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *262 + - *265 - *128 requestBody: required: false @@ -42587,7 +43131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *262 + - *265 - *128 responses: '204': @@ -42619,7 +43163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *262 + - *265 - *128 responses: '200': @@ -42690,7 +43234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *262 + - *265 - *17 - *19 responses: @@ -42700,7 +43244,7 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: default: value: @@ -42738,7 +43282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *262 + - *265 requestBody: required: true content: @@ -42762,7 +43306,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -42826,7 +43370,7 @@ paths: resources: type: object properties: - core: &273 + core: &276 title: Rate Limit type: object properties: @@ -42843,20 +43387,20 @@ paths: - remaining - reset - used - graphql: *273 - search: *273 - code_search: *273 - source_import: *273 - integration_manifest: *273 - code_scanning_upload: *273 - actions_runner_registration: *273 - scim: *273 - dependency_snapshots: *273 - code_scanning_autofix: *273 + graphql: *276 + search: *276 + code_search: *276 + source_import: *276 + integration_manifest: *276 + code_scanning_upload: *276 + actions_runner_registration: *276 + scim: *276 + dependency_snapshots: *276 + code_scanning_autofix: *276 required: - core - search - rate: *273 + rate: *276 required: - rate - resources @@ -42960,14 +43504,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *274 + schema: *277 examples: default-response: summary: Default response @@ -43468,7 +44012,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *275 + '301': *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43486,8 +44030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -43732,10 +44276,10 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 - '307': &277 + default: *279 + '307': &280 description: Temporary Redirect content: application/json: @@ -43764,8 +44308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -43787,7 +44331,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *277 + '307': *280 '404': *6 x-github: githubCloudOnly: false @@ -43810,11 +44354,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - - &303 + - &306 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43837,7 +44381,7 @@ paths: type: integer artifacts: type: array - items: &278 + items: &281 title: Artifact description: An artifact type: object @@ -43932,7 +44476,7 @@ paths: - expires_at - updated_at examples: - default: &304 + default: &307 value: total_count: 2 artifacts: @@ -43993,9 +44537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *263 - - *264 - - &279 + - *266 + - *267 + - &282 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44007,7 +44551,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -44045,9 +44589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *263 - - *264 - - *279 + - *266 + - *267 + - *282 responses: '204': description: Response @@ -44071,9 +44615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *263 - - *264 - - *279 + - *266 + - *267 + - *282 - name: archive_format in: path required: true @@ -44087,7 +44631,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': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44110,14 +44654,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *280 + schema: *283 examples: default: value: @@ -44143,11 +44687,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - - &281 + - &284 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 @@ -44181,7 +44725,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &285 title: Repository actions caches description: Repository actions caches type: object @@ -44231,7 +44775,7 @@ paths: - total_count - actions_caches examples: - default: &283 + default: &286 value: total_count: 1 actions_caches: @@ -44263,23 +44807,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: - - *263 - - *264 + - *266 + - *267 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *281 + - *284 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44299,8 +44843,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: - - *263 - - *264 + - *266 + - *267 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44331,9 +44875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *263 - - *264 - - &284 + - *266 + - *267 + - &287 name: job_id description: The unique identifier of the job. in: path @@ -44345,7 +44889,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &310 title: Job description: Information of a job execution in a workflow run type: object @@ -44692,9 +45236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *263 - - *264 - - *284 + - *266 + - *267 + - *287 responses: '302': description: Response @@ -44722,9 +45266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *263 - - *264 - - *284 + - *266 + - *267 + - *287 requestBody: required: false content: @@ -44770,8 +45314,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Status response @@ -44821,8 +45365,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -44885,8 +45429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -44904,7 +45448,7 @@ paths: type: integer secrets: type: array - items: &309 + items: &312 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44925,7 +45469,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &313 value: total_count: 2 secrets: @@ -44958,9 +45502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *263 - - *264 - - *285 + - *266 + - *267 + - *288 - *19 responses: '200': @@ -44977,7 +45521,7 @@ paths: type: integer variables: type: array - items: &313 + items: &316 title: Actions Variable type: object properties: @@ -45011,7 +45555,7 @@ paths: - created_at - updated_at examples: - default: &314 + default: &317 value: total_count: 2 variables: @@ -45044,8 +45588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45054,11 +45598,11 @@ paths: schema: type: object properties: - enabled: &287 + enabled: &290 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *286 + selected_actions_url: *289 required: - enabled examples: @@ -45085,8 +45629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -45097,7 +45641,7 @@ paths: schema: type: object properties: - enabled: *287 + enabled: *290 allowed_actions: *104 required: - enabled @@ -45127,14 +45671,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &288 + schema: &291 type: object properties: access_level: @@ -45151,7 +45695,7 @@ paths: required: - access_level examples: - default: &289 + default: &292 value: access_level: organization x-github: @@ -45175,15 +45719,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: application/json: - schema: *288 + schema: *291 examples: - default: *289 + default: *292 responses: '204': description: Response @@ -45207,8 +45751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45235,8 +45779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -45268,14 +45812,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *290 + schema: *293 examples: default: *110 x-github: @@ -45298,8 +45842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Success response @@ -45310,7 +45854,7 @@ paths: required: true content: application/json: - schema: *291 + schema: *294 examples: default: *110 x-github: @@ -45339,8 +45883,8 @@ paths: in: query schema: type: string - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -45384,8 +45928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45393,9 +45937,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45417,8 +45961,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -45461,7 +46005,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *294 + '201': *297 '404': *6 '422': *7 '409': *44 @@ -45492,8 +46036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -45501,7 +46045,7 @@ paths: application/json: schema: *119 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45529,8 +46073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -45538,7 +46082,7 @@ paths: application/json: schema: *119 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45560,8 +46104,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '200': @@ -45570,7 +46114,7 @@ paths: application/json: schema: *117 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45591,8 +46135,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '204': @@ -45618,8 +46162,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '200': *121 @@ -45644,8 +46188,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: - - *263 - - *264 + - *266 + - *267 - *116 requestBody: required: true @@ -45694,8 +46238,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: - - *263 - - *264 + - *266 + - *267 - *116 requestBody: required: true @@ -45745,11 +46289,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: - '200': *298 + '200': *301 '404': *6 x-github: githubCloudOnly: false @@ -45776,10 +46320,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: - - *263 - - *264 + - *266 + - *267 - *116 - - *299 + - *302 responses: '200': *121 '404': *6 @@ -45807,9 +46351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *263 - - *264 - - &317 + - *266 + - *267 + - &320 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. @@ -45817,7 +46361,7 @@ paths: required: false schema: type: string - - &318 + - &321 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45825,7 +46369,7 @@ paths: required: false schema: type: string - - &319 + - &322 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45834,7 +46378,7 @@ paths: required: false schema: type: string - - &320 + - &323 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 @@ -45861,7 +46405,7 @@ paths: - pending - *17 - *19 - - &321 + - &324 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)." @@ -45870,7 +46414,7 @@ paths: schema: type: string format: date-time - - &300 + - &303 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45879,13 +46423,13 @@ paths: schema: type: boolean default: false - - &322 + - &325 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &323 + - &326 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45908,7 +46452,7 @@ paths: type: integer workflow_runs: type: array - items: &301 + items: &304 title: Workflow Run description: An invocation of a workflow type: object @@ -46025,7 +46569,7 @@ paths: type: - array - 'null' - items: &342 + items: &345 title: Pull Request Minimal type: object properties: @@ -46152,7 +46696,7 @@ paths: head_commit: anyOf: - type: 'null' - - &346 + - &349 title: Simple Commit description: A commit. type: object @@ -46267,7 +46811,7 @@ paths: - workflow_url - pull_requests examples: - default: &324 + default: &327 value: total_count: 1 workflow_runs: @@ -46503,24 +47047,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *263 - - *264 - - &302 + - *266 + - *267 + - &305 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &305 + default: &308 value: id: 30433642 name: Build @@ -46761,9 +47305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '204': description: Response @@ -46786,9 +47330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -46916,9 +47460,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: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '201': description: Response @@ -46951,12 +47495,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 - *17 - *19 - - *303 + - *306 responses: '200': description: Response @@ -46972,9 +47516,9 @@ paths: type: integer artifacts: type: array - items: *278 + items: *281 examples: - default: *304 + default: *307 headers: Link: *57 x-github: @@ -46998,25 +47542,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *263 - - *264 - - *302 - - &306 + - *266 + - *267 + - *305 + - &309 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *305 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47039,10 +47583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *263 - - *264 - - *302 - - *306 + - *266 + - *267 + - *305 + - *309 - *17 - *19 responses: @@ -47060,9 +47604,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *310 examples: - default: &308 + default: &311 value: total_count: 1 jobs: @@ -47175,10 +47719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *263 - - *264 - - *302 - - *306 + - *266 + - *267 + - *305 + - *309 responses: '302': description: Response @@ -47206,9 +47750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '202': description: Response @@ -47241,9 +47785,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: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: true content: @@ -47310,9 +47854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '202': description: Response @@ -47345,9 +47889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 - 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 @@ -47377,9 +47921,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *310 examples: - default: *308 + default: *311 headers: Link: *57 x-github: @@ -47404,9 +47948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '302': description: Response @@ -47433,14 +47977,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '204': description: Response '403': *27 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47462,9 +48006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -47533,7 +48077,7 @@ paths: items: type: object properties: - type: &420 + type: &423 type: string description: The type of reviewer. enum: @@ -47544,7 +48088,7 @@ paths: reviewer: anyOf: - *4 - - *180 + - *146 required: - environment - wait_timer @@ -47619,9 +48163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: true content: @@ -47671,7 +48215,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47783,7 +48327,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &419 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47839,9 +48383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: false content: @@ -47886,9 +48430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: false content: @@ -47942,9 +48486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -48081,8 +48625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -48100,9 +48644,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *312 examples: - default: *310 + default: *313 headers: Link: *57 x-github: @@ -48127,16 +48671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *311 + schema: *314 examples: - default: *312 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48158,17 +48702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: &433 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48194,8 +48738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -48253,8 +48797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -48280,9 +48824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *263 - - *264 - - *285 + - *266 + - *267 + - *288 - *19 responses: '200': @@ -48299,9 +48843,9 @@ paths: type: integer variables: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 headers: Link: *57 x-github: @@ -48324,8 +48868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -48377,17 +48921,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 responses: '200': description: Response content: application/json: - schema: *313 + schema: *316 examples: - default: &434 + default: &437 value: name: USERNAME value: octocat @@ -48413,8 +48957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 requestBody: required: true @@ -48457,8 +49001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 responses: '204': @@ -48484,8 +49028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -48503,7 +49047,7 @@ paths: type: integer workflows: type: array - items: &315 + items: &318 title: Workflow description: A GitHub Actions workflow type: object @@ -48621,9 +49165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *263 - - *264 - - &316 + - *266 + - *267 + - &319 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48638,7 +49182,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: default: value: @@ -48671,9 +49215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48698,9 +49242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48751,9 +49295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48780,19 +49324,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *263 - - *264 - - *316 - - *317 - - *318 + - *266 + - *267 - *319 - *320 - - *17 - - *19 - *321 - - *300 - *322 - *323 + - *17 + - *19 + - *324 + - *303 + - *325 + - *326 responses: '200': description: Response @@ -48808,9 +49352,9 @@ paths: type: integer workflow_runs: type: array - items: *301 + items: *304 examples: - default: *324 + default: *327 headers: Link: *57 x-github: @@ -48842,9 +49386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '200': description: Response @@ -48905,8 +49449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *263 - - *264 + - *266 + - *267 - *46 - *17 - *37 @@ -49074,8 +49618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -49087,7 +49631,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -49112,8 +49656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *263 - - *264 + - *266 + - *267 - name: assignee in: path required: true @@ -49149,8 +49693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -49262,8 +49806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *37 - *38 @@ -49317,7 +49861,7 @@ paths: bundle_url: type: string examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49337,8 +49881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -49346,7 +49890,7 @@ paths: application/json: schema: type: array - items: &326 + items: &329 title: Autolink reference description: An autolink reference. type: object @@ -49400,8 +49944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -49440,9 +49984,9 @@ paths: description: response content: application/json: - schema: *326 + schema: *329 examples: - default: &327 + default: &330 value: id: 1 key_prefix: TICKET- @@ -49473,9 +50017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *263 - - *264 - - &328 + - *266 + - *267 + - &331 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49487,9 +50031,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: *327 + default: *330 '404': *6 x-github: githubCloudOnly: false @@ -49509,9 +50053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *263 - - *264 - - *328 + - *266 + - *267 + - *331 responses: '204': description: Response @@ -49535,8 +50079,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response if Dependabot is enabled @@ -49586,8 +50130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -49608,8 +50152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -49629,8 +50173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *263 - - *264 + - *266 + - *267 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49668,7 +50212,7 @@ paths: - url protected: type: boolean - protection: &330 + protection: &333 title: Branch Protection description: Branch Protection type: object @@ -49711,7 +50255,7 @@ paths: required: - contexts - checks - enforce_admins: &333 + enforce_admins: &336 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49728,7 +50272,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &335 + required_pull_request_reviews: &338 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49750,7 +50294,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *180 + items: *146 apps: description: The list of apps with review dismissal access. @@ -49782,7 +50326,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *180 + items: *146 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49812,7 +50356,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &332 + restrictions: &335 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50137,9 +50681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *263 - - *264 - - &331 + - *266 + - *267 + - &334 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). @@ -50153,14 +50697,14 @@ paths: description: Response content: application/json: - schema: &341 + schema: &344 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &391 + commit: &394 title: Commit description: Commit type: object @@ -50199,7 +50743,7 @@ paths: author: anyOf: - type: 'null' - - &329 + - &332 title: Git User description: Metaproperties for Git author/committer information. @@ -50220,7 +50764,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 message: type: string examples: @@ -50244,7 +50788,7 @@ paths: required: - sha - url - verification: &440 + verification: &443 title: Verification type: object properties: @@ -50324,7 +50868,7 @@ paths: type: integer files: type: array - items: &403 + items: &406 title: Diff Entry description: Diff Entry type: object @@ -50418,7 +50962,7 @@ paths: - self protected: type: boolean - protection: *330 + protection: *333 protection_url: type: string format: uri @@ -50527,7 +51071,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *275 + '301': *278 '404': *6 x-github: githubCloudOnly: false @@ -50549,15 +51093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -50751,9 +51295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -51013,7 +51557,7 @@ paths: url: type: string format: uri - required_status_checks: &338 + required_status_checks: &341 title: Status Check Policy description: Status Check Policy type: object @@ -51094,7 +51638,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 apps: type: array items: *5 @@ -51112,7 +51656,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 apps: type: array items: *5 @@ -51172,7 +51716,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *332 + restrictions: *335 required_conversation_resolution: type: object properties: @@ -51284,9 +51828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51311,17 +51855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &334 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51343,17 +51887,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51372,9 +51916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51399,17 +51943,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *335 + schema: *338 examples: - default: &336 + default: &339 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51505,9 +52049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51605,9 +52149,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *338 examples: - default: *336 + default: *339 '422': *15 x-github: githubCloudOnly: false @@ -51628,9 +52172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51657,17 +52201,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &337 + default: &340 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51690,17 +52234,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -51720,9 +52264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51747,17 +52291,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *341 examples: - default: &339 + default: &342 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51783,9 +52327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51837,9 +52381,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: - default: *339 + default: *342 '404': *6 '422': *15 x-github: @@ -51861,9 +52405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51887,9 +52431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -51923,9 +52467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51992,9 +52536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52058,9 +52602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: content: application/json: @@ -52126,15 +52670,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -52225,9 +52769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -52250,9 +52794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52262,7 +52806,7 @@ paths: type: array items: *5 examples: - default: &340 + default: &343 value: - id: 1 slug: octoapp @@ -52319,9 +52863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52355,7 +52899,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52376,9 +52920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52412,7 +52956,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52433,9 +52977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52469,7 +53013,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52491,9 +53035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52501,9 +53045,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '404': *6 x-github: githubCloudOnly: false @@ -52523,9 +53067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52561,9 +53105,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52584,9 +53128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52622,9 +53166,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52645,9 +53189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: content: application/json: @@ -52682,9 +53226,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52706,9 +53250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52718,7 +53262,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '404': *6 x-github: githubCloudOnly: false @@ -52742,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52777,7 +53321,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52802,9 +53346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52837,7 +53381,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52862,9 +53406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52897,7 +53441,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52924,9 +53468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52948,7 +53492,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *344 examples: default: value: @@ -53064,8 +53608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -53344,7 +53888,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &346 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53479,8 +54023,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *342 - deployment: &630 + items: *345 + deployment: &633 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53767,9 +54311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *263 - - *264 - - &344 + - *266 + - *267 + - &347 name: check_run_id description: The unique identifier of the check run. in: path @@ -53781,9 +54325,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: &345 + default: &348 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53883,9 +54427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 requestBody: required: true content: @@ -54125,9 +54669,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54147,9 +54691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 - *17 - *19 responses: @@ -54261,9 +54805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 responses: '201': description: Response @@ -54307,8 +54851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -54330,7 +54874,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &347 + schema: &350 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54412,7 +54956,7 @@ paths: type: - array - 'null' - items: *342 + items: *345 app: anyOf: - type: 'null' @@ -54428,7 +54972,7 @@ paths: - string - 'null' format: date-time - head_commit: *346 + head_commit: *349 latest_check_runs_count: type: integer check_runs_url: @@ -54456,7 +55000,7 @@ paths: - check_runs_url - pull_requests examples: - default: &348 + default: &351 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54747,9 +55291,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54768,8 +55312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -55078,9 +55622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *263 - - *264 - - &349 + - *266 + - *267 + - &352 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55092,9 +55636,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55117,17 +55661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *263 - - *264 - - *349 - - &398 + - *266 + - *267 + - *352 + - &401 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &399 + - &402 name: status description: Returns check runs with the specified `status`. in: query @@ -55166,9 +55710,9 @@ paths: type: integer check_runs: type: array - items: *343 + items: *346 examples: - default: &400 + default: &403 value: total_count: 1 check_runs: @@ -55270,9 +55814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *263 - - *264 - - *349 + - *266 + - *267 + - *352 responses: '201': description: Response @@ -55305,21 +55849,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *263 - - *264 - - *350 - - *351 + - *266 + - *267 + - *353 + - *354 - *19 - *17 - - &368 + - &371 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: *352 - - &369 + schema: *355 + - &372 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55344,13 +55888,13 @@ paths: be returned. in: query required: false - schema: *353 + schema: *356 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *354 + schema: *357 responses: '200': description: Response @@ -55366,19 +55910,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *355 - state: *133 - fixed_at: *129 + instances_url: *358 + state: *136 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: *356 - dismissed_comment: *357 - rule: *358 - tool: *359 - most_recent_instance: *360 + dismissed_at: *133 + dismissed_reason: *359 + dismissed_comment: *360 + rule: *361 + tool: *362 + most_recent_instance: *363 dismissal_approved_by: anyOf: - type: 'null' @@ -55498,7 +56042,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &361 + '403': &364 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55525,9 +56069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *263 - - *264 - - &362 + - *266 + - *267 + - &365 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55541,7 +56085,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &366 type: object properties: number: *52 @@ -55549,16 +56093,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *355 - state: *133 - fixed_at: *129 + instances_url: *358 + state: *136 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: *356 - dismissed_comment: *357 + dismissed_at: *133 + dismissed_reason: *359 + dismissed_comment: *360 rule: type: object properties: @@ -55620,8 +56164,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *359 - most_recent_instance: *360 + tool: *362 + most_recent_instance: *363 dismissal_approved_by: anyOf: - type: 'null' @@ -55714,7 +56258,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -55734,9 +56278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: true content: @@ -55751,8 +56295,8 @@ paths: enum: - open - dismissed - dismissed_reason: *356 - dismissed_comment: *357 + dismissed_reason: *359 + dismissed_comment: *360 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55771,7 +56315,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -55847,7 +56391,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &367 + '403': &370 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55874,15 +56418,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: Response content: application/json: - schema: &364 + schema: &367 type: object properties: status: @@ -55909,13 +56453,13 @@ paths: - description - started_at examples: - default: &365 + default: &368 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &366 + '400': &369 description: Bad Request content: application/json: @@ -55926,7 +56470,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': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -55951,29 +56495,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: OK content: application/json: - schema: *364 + schema: *367 examples: - default: *365 + default: *368 '202': description: Accepted content: application/json: - schema: *364 + schema: *367 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *366 + '400': *369 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -56005,9 +56549,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: false content: @@ -56053,8 +56597,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *366 - '403': *367 + '400': *369 + '403': *370 '404': *6 '422': description: Unprocessable Entity @@ -56078,13 +56622,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 - *19 - *17 - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response @@ -56092,7 +56636,7 @@ paths: application/json: schema: type: array - items: *360 + items: *363 examples: default: value: @@ -56131,7 +56675,7 @@ paths: end_column: 50 classifications: - source - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56165,25 +56709,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *263 - - *264 - - *350 - - *351 + - *266 + - *267 + - *353 + - *354 - *19 - *17 - - *369 + - *372 - 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: *352 + schema: *355 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &372 + schema: &375 type: string description: An identifier for the upload. examples: @@ -56205,23 +56749,23 @@ paths: application/json: schema: type: array - items: &373 + items: &376 type: object properties: - ref: *352 - commit_sha: &381 + ref: *355 + commit_sha: &384 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: *370 + analysis_key: *373 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *371 + category: *374 error: type: string examples: @@ -56246,8 +56790,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *372 - tool: *359 + sarif_id: *375 + tool: *362 deletable: type: boolean warning: @@ -56309,7 +56853,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56345,8 +56889,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: - - *263 - - *264 + - *266 + - *267 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56359,7 +56903,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: response: summary: application/json response @@ -56413,7 +56957,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56495,8 +57039,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: - - *263 - - *264 + - *266 + - *267 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56552,7 +57096,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': *367 + '403': *370 '404': *6 '503': *62 x-github: @@ -56574,8 +57118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -56583,7 +57127,7 @@ paths: application/json: schema: type: array - items: &374 + items: &377 title: CodeQL Database description: A CodeQL database. type: object @@ -56695,7 +57239,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': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56724,8 +57268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: language in: path description: The language of the CodeQL database. @@ -56737,7 +57281,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: default: value: @@ -56769,9 +57313,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': &405 + '302': &408 description: Found - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56793,8 +57337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *263 - - *264 + - *266 + - *267 - name: language in: path description: The language of the CodeQL database. @@ -56804,7 +57348,7 @@ paths: responses: '204': description: Response - '403': *367 + '403': *370 '404': *6 '503': *62 x-github: @@ -56832,8 +57376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -56842,7 +57386,7 @@ paths: type: object additionalProperties: false properties: - language: &375 + language: &378 type: string description: The language targeted by the CodeQL query enum: @@ -56921,7 +57465,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &379 + schema: &382 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56931,7 +57475,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *375 + query_language: *378 query_pack_url: type: string description: The download url for the query pack. @@ -56979,7 +57523,7 @@ paths: items: type: object properties: - repository: &376 + repository: &379 title: Repository Identifier description: Repository Identifier type: object @@ -57021,7 +57565,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &380 + analysis_status: &383 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57053,7 +57597,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &377 + access_mismatch_repos: &380 type: object properties: repository_count: @@ -57068,7 +57612,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: *376 + items: *379 required: - repository_count - repositories @@ -57091,8 +57635,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *377 - over_limit_repos: *377 + no_codeql_db_repos: *380 + over_limit_repos: *380 required: - access_mismatch_repos - not_found_repos @@ -57108,7 +57652,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &378 + value: &381 summary: Default response value: id: 1 @@ -57260,10 +57804,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *378 + value: *381 repository_lists: summary: Response for a successful variant analysis submission - value: *378 + value: *381 '404': *6 '422': description: Unable to process variant analysis submission @@ -57291,8 +57835,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: - - *263 - - *264 + - *266 + - *267 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57304,9 +57848,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *378 + default: *381 '404': *6 '503': *62 x-github: @@ -57329,7 +57873,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: - - *263 + - *266 - name: repo in: path description: The name of the controller repository. @@ -57364,7 +57908,7 @@ paths: type: object properties: repository: *51 - analysis_status: *380 + analysis_status: *383 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57489,8 +58033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -57572,7 +58116,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -57593,8 +58137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -57678,7 +58222,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *367 + '403': *370 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57743,8 +58287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -57752,7 +58296,7 @@ paths: schema: type: object properties: - commit_sha: *381 + commit_sha: *384 ref: type: string description: |- @@ -57812,7 +58356,7 @@ paths: schema: type: object properties: - id: *372 + id: *375 url: type: string description: The REST API URL for checking the status of the upload. @@ -57826,7 +58370,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': *367 + '403': *370 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57849,8 +58393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *263 - - *264 + - *266 + - *267 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57898,7 +58442,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': *361 + '403': *364 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -57923,8 +58467,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -57980,7 +58524,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': *137 + '204': *140 '304': *35 '403': *27 '404': *6 @@ -58005,8 +58549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *263 - - *264 + - *266 + - *267 - 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 @@ -58134,8 +58678,8 @@ paths: parameters: - *17 - *19 - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -58151,7 +58695,7 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: default: value: @@ -58427,7 +58971,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': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -58449,8 +58993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -58514,17 +59058,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '400': *14 '401': *23 '403': *27 @@ -58553,8 +59097,8 @@ paths: parameters: - *17 - *19 - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -58594,7 +59138,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *140 + '500': *143 '400': *14 '401': *23 '403': *27 @@ -58618,8 +59162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58656,9 +59200,9 @@ paths: type: integer machines: type: array - items: *383 + items: *386 examples: - default: &588 + default: &591 value: total_count: 2 machines: @@ -58675,7 +59219,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -58698,8 +59242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *263 - - *264 + - *266 + - *267 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58786,8 +59330,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: - - *263 - - *264 + - *266 + - *267 - 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 @@ -58856,8 +59400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -58875,7 +59419,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &390 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58896,7 +59440,7 @@ paths: - created_at - updated_at examples: - default: *384 + default: *387 headers: Link: *57 x-github: @@ -58919,16 +59463,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *385 + schema: *388 examples: - default: *386 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58948,17 +59492,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *388 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58978,8 +59522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -59032,8 +59576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -59062,8 +59606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *263 - - *264 + - *266 + - *267 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59101,7 +59645,7 @@ paths: application/json: schema: type: array - items: &389 + items: &392 title: Collaborator description: Collaborator type: object @@ -59294,8 +59838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '204': @@ -59338,8 +59882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 requestBody: required: false @@ -59366,7 +59910,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &453 + schema: &456 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59587,8 +60131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '204': @@ -59618,8 +60162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '200': @@ -59640,7 +60184,7 @@ paths: user: anyOf: - type: 'null' - - *389 + - *392 required: - permission - role_name @@ -59694,8 +60238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -59705,7 +60249,7 @@ paths: application/json: schema: type: array - items: &390 + items: &393 title: Commit Comment description: Commit Comment type: object @@ -59763,7 +60307,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &396 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59822,17 +60366,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: &394 + default: &397 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59889,8 +60433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -59913,7 +60457,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *393 examples: default: value: @@ -59964,8 +60508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -59987,8 +60531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -60015,9 +60559,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -60038,8 +60582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -60072,16 +60616,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -60103,10 +60647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -60155,8 +60699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *263 - - *264 + - *266 + - *267 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60212,9 +60756,9 @@ paths: application/json: schema: type: array - items: *391 + items: *394 examples: - default: &501 + default: &504 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60285,7 +60829,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *140 + '500': *143 '400': *14 '404': *6 '409': *44 @@ -60308,9 +60852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *263 - - *264 - - &392 + - *266 + - *267 + - &395 name: commit_sha description: The SHA of the commit. in: path @@ -60382,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 - *17 - *19 responses: @@ -60394,9 +60938,9 @@ paths: application/json: schema: type: array - items: *390 + items: *393 examples: - default: *393 + default: *396 headers: Link: *57 x-github: @@ -60424,9 +60968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 requestBody: required: true content: @@ -60461,9 +61005,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *394 + default: *397 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60491,9 +61035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 - *17 - *19 responses: @@ -60503,7 +61047,7 @@ paths: application/json: schema: type: array - items: &492 + items: &495 title: Pull Request Simple description: Pull Request Simple type: object @@ -60623,7 +61167,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 active_lock_reason: type: - string @@ -60678,7 +61222,7 @@ paths: type: - array - 'null' - items: *180 + items: *146 head: type: object properties: @@ -60722,7 +61266,7 @@ paths: _links: type: object properties: - comments: &396 + comments: &399 title: Link description: Hypermedia Link type: object @@ -60731,13 +61275,13 @@ paths: type: string required: - href - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -60748,7 +61292,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &494 + auto_merge: &497 title: Auto merge description: The status of auto merging a pull request. type: @@ -60813,7 +61357,7 @@ paths: - author_association - auto_merge examples: - default: &493 + default: &496 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61350,11 +61894,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 - - &397 + - &400 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)" @@ -61369,9 +61913,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *394 examples: - default: &480 + default: &483 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61457,7 +62001,7 @@ paths: ..... '422': *15 '404': *6 - '500': *140 + '500': *143 '503': *62 '409': *44 x-github: @@ -61484,11 +62028,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *263 - - *264 - - *397 - - *398 - - *399 + - *266 + - *267 + - *400 + - *401 + - *402 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61522,9 +62066,9 @@ paths: type: integer check_runs: type: array - items: *343 + items: *346 examples: - default: *400 + default: *403 headers: Link: *57 x-github: @@ -61549,9 +62093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61559,7 +62103,7 @@ paths: schema: type: integer example: 1 - - *398 + - *401 - *17 - *19 responses: @@ -61577,7 +62121,7 @@ paths: type: integer check_suites: type: array - items: *347 + items: *350 examples: default: value: @@ -61777,9 +62321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - *17 - *19 responses: @@ -61981,9 +62525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - *17 - *19 responses: @@ -61993,7 +62537,7 @@ paths: application/json: schema: type: array - items: &562 + items: &565 title: Status description: The status of a commit. type: object @@ -62074,7 +62618,7 @@ paths: site_admin: false headers: Link: *57 - '301': *275 + '301': *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62102,8 +62646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -62136,11 +62680,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *401 + - *404 code_of_conduct_file: anyOf: - type: 'null' - - &402 + - &405 title: Community Health File type: object properties: @@ -62160,19 +62704,19 @@ paths: contributing: anyOf: - type: 'null' - - *402 + - *405 readme: anyOf: - type: 'null' - - *402 + - *405 issue_template: anyOf: - type: 'null' - - *402 + - *405 pull_request_template: anyOf: - type: 'null' - - *402 + - *405 required: - code_of_conduct - code_of_conduct_file @@ -62301,8 +62845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 - name: basehead @@ -62350,8 +62894,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *391 - merge_base_commit: *391 + base_commit: *394 + merge_base_commit: *394 status: type: string enum: @@ -62375,10 +62919,10 @@ paths: - 6 commits: type: array - items: *391 + items: *394 files: type: array - items: *403 + items: *406 required: - url - html_url @@ -62621,7 +63165,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -62664,8 +63208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -62818,7 +63362,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &404 + response-if-content-is-a-file: &407 summary: Response if content is a file value: type: file @@ -62955,7 +63499,7 @@ paths: - size - type - url - - &506 + - &509 title: Content File description: Content File type: object @@ -63173,7 +63717,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *404 + response-if-content-is-a-file: *407 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63242,7 +63786,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *405 + '302': *408 '304': *35 x-github: githubCloudOnly: false @@ -63265,8 +63809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -63361,7 +63905,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &409 title: File Commit description: File Commit type: object @@ -63517,7 +64061,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: example-for-creating-a-file: value: @@ -63571,7 +64115,7 @@ paths: schema: oneOf: - *3 - - &435 + - &438 description: Repository rule violation was detected type: object properties: @@ -63592,7 +64136,7 @@ paths: items: type: object properties: - placeholder_id: &554 + placeholder_id: &557 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63624,8 +64168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -63686,7 +64230,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: default: value: @@ -63741,8 +64285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *263 - - *264 + - *266 + - *267 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63866,21 +64410,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *263 - - *264 - - *143 - - *144 - - *145 - - *146 + - *266 + - *267 + - *147 + - *148 + - *149 + - *150 - 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 - - *147 - - *148 - - *149 + - *151 + - *152 + - *153 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -63900,8 +64444,8 @@ paths: default: 30 - *37 - *38 - - *150 - - *151 + - *154 + - *155 responses: '200': description: Response @@ -63909,7 +64453,7 @@ paths: application/json: schema: type: array - items: &409 + items: &412 type: object description: A Dependabot alert. properties: @@ -63959,13 +64503,13 @@ paths: - direct - transitive - - security_advisory: *407 + security_advisory: *410 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *130 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -63989,8 +64533,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *129 - auto_dismissed_at: *408 + fixed_at: *132 + auto_dismissed_at: *411 required: - number - state @@ -64220,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *263 - - *264 - - &410 + - *266 + - *267 + - &413 name: alert_number in: path description: |- @@ -64237,7 +64781,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *412 examples: default: value: @@ -64350,9 +64894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *263 - - *264 - - *410 + - *266 + - *267 + - *413 requestBody: required: true content: @@ -64397,7 +64941,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *412 examples: default: value: @@ -64526,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -64545,7 +65089,7 @@ paths: type: integer secrets: type: array - items: &413 + items: &416 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64599,16 +65143,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *412 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64628,15 +65172,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -64662,8 +65206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -64716,8 +65260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -64740,8 +65284,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: - - *263 - - *264 + - *266 + - *267 - 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 @@ -64915,8 +65459,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -65176,8 +65720,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -65260,7 +65804,7 @@ paths: - version - url additionalProperties: false - metadata: &414 + metadata: &417 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65299,7 +65843,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *414 + metadata: *417 resolved: type: object description: A collection of resolved package dependencies. @@ -65313,7 +65857,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *414 + metadata: *417 relationship: type: string description: A notation of whether a dependency is requested @@ -65446,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *263 - - *264 + - *266 + - *267 - name: sha description: The SHA recorded at creation time. in: query @@ -65488,9 +66032,9 @@ paths: application/json: schema: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *57 x-github: @@ -65556,8 +66100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -65639,7 +66183,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: simple-example: summary: Simple example @@ -65712,9 +66256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *263 - - *264 - - &417 + - *266 + - *267 + - &420 name: deployment_id description: deployment_id parameter in: path @@ -65726,7 +66270,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -65791,9 +66335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 responses: '204': description: Response @@ -65815,9 +66359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 - *17 - *19 responses: @@ -65827,7 +66371,7 @@ paths: application/json: schema: type: array - items: &418 + items: &421 title: Deployment Status description: The status of a deployment. type: object @@ -65991,9 +66535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 requestBody: required: true content: @@ -66068,9 +66612,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &419 + default: &422 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66126,9 +66670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 - name: status_id in: path required: true @@ -66139,9 +66683,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -66166,8 +66710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -66224,8 +66768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -66243,7 +66787,7 @@ paths: - 5 environments: type: array - items: &421 + items: &424 title: Environment description: Details of a deployment environment type: object @@ -66305,7 +66849,7 @@ paths: type: string examples: - wait_timer - wait_timer: &423 + wait_timer: &426 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66347,11 +66891,11 @@ paths: items: type: object properties: - type: *420 + type: *423 reviewer: anyOf: - *4 - - *180 + - *146 required: - id - node_id @@ -66374,7 +66918,7 @@ paths: - id - node_id - type - deployment_branch_policy: &424 + deployment_branch_policy: &427 type: - object - 'null' @@ -66491,9 +67035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *263 - - *264 - - &422 + - *266 + - *267 + - &425 name: environment_name in: path required: true @@ -66506,9 +67050,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: &425 + default: &428 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66592,9 +67136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: false content: @@ -66604,7 +67148,7 @@ paths: - object - 'null' properties: - wait_timer: *423 + wait_timer: *426 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66623,14 +67167,14 @@ paths: items: type: object properties: - type: *420 + type: *423 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *424 + deployment_branch_policy: *427 additionalProperties: false examples: default: @@ -66650,9 +67194,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *425 + default: *428 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66676,9 +67220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 responses: '204': description: Default response @@ -66703,9 +67247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *17 - *19 responses: @@ -66724,7 +67268,7 @@ paths: - 2 branch_policies: type: array - items: &426 + items: &429 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66785,9 +67329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: true content: @@ -66835,9 +67379,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - example-wildcard: &427 + example-wildcard: &430 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66879,10 +67423,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - &428 + - *266 + - *267 + - *425 + - &431 name: branch_policy_id in: path required: true @@ -66894,9 +67438,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66915,10 +67459,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - *428 + - *266 + - *267 + - *425 + - *431 requestBody: required: true content: @@ -66947,9 +67491,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66968,10 +67512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - *428 + - *266 + - *267 + - *425 + - *431 responses: '204': description: Response @@ -66996,9 +67540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 responses: '200': description: List of deployment protection rules @@ -67015,7 +67559,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &429 + items: &432 title: Deployment protection rule description: Deployment protection rule type: object @@ -67037,7 +67581,7 @@ paths: for the environment. examples: - true - app: &430 + app: &433 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67140,9 +67684,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: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 requestBody: content: application/json: @@ -67163,9 +67707,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *429 + schema: *432 examples: - default: &431 + default: &434 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67200,9 +67744,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: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 - *19 - *17 responses: @@ -67222,7 +67766,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *430 + items: *433 examples: default: value: @@ -67257,10 +67801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *263 - - *264 - - *422 - - &432 + - *266 + - *267 + - *425 + - &435 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67272,9 +67816,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *431 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67295,10 +67839,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *422 - - *264 - - *263 - - *432 + - *425 + - *267 + - *266 + - *435 responses: '204': description: Response @@ -67324,9 +67868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *17 - *19 responses: @@ -67344,9 +67888,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *312 examples: - default: *310 + default: *313 headers: Link: *57 x-github: @@ -67371,17 +67915,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 responses: '200': description: Response content: application/json: - schema: *311 + schema: *314 examples: - default: *312 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67403,18 +67947,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *433 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67436,9 +67980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 requestBody: required: true @@ -67496,9 +68040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 responses: '204': @@ -67524,10 +68068,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *263 - - *264 - - *422 - - *285 + - *266 + - *267 + - *425 + - *288 - *19 responses: '200': @@ -67544,9 +68088,9 @@ paths: type: integer variables: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 headers: Link: *57 x-github: @@ -67569,9 +68113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: true content: @@ -67623,18 +68167,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *126 responses: '200': description: Response content: application/json: - schema: *313 + schema: *316 examples: - default: *434 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67655,10 +68199,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 - - *422 + - *425 requestBody: required: true content: @@ -67700,10 +68244,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 - - *422 + - *425 responses: '204': description: Response @@ -67725,8 +68269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -67803,8 +68347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *263 - - *264 + - *266 + - *267 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67963,8 +68507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -67997,9 +68541,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 '400': *14 '422': *15 '403': *27 @@ -68020,8 +68564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68081,7 +68625,7 @@ paths: schema: oneOf: - *93 - - *435 + - *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68106,8 +68650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *263 - - *264 + - *266 + - *267 - name: file_sha in: path required: true @@ -68207,8 +68751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68317,7 +68861,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &439 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68544,15 +69088,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 responses: '200': description: Response content: application/json: - schema: *436 + schema: *439 examples: default: value: @@ -68608,9 +69152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *263 - - *264 - - &437 + - *266 + - *267 + - &440 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. @@ -68627,7 +69171,7 @@ paths: application/json: schema: type: array - items: &438 + items: &441 title: Git Reference description: Git references within a repository type: object @@ -68703,17 +69247,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 responses: '200': description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: &439 + default: &442 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68742,8 +69286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68772,9 +69316,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68800,9 +69344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 requestBody: required: true content: @@ -68831,9 +69375,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 '422': *15 '409': *44 x-github: @@ -68851,9 +69395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 responses: '204': description: Response @@ -68906,8 +69450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68974,7 +69518,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &444 title: Git Tag description: Metadata for a Git tag type: object @@ -69030,7 +69574,7 @@ paths: - sha - type - url - verification: *440 + verification: *443 required: - sha - url @@ -69040,7 +69584,7 @@ paths: - tag - message examples: - default: &442 + default: &445 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69113,8 +69657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *263 - - *264 + - *266 + - *267 - name: tag_sha in: path required: true @@ -69125,9 +69669,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: *442 + default: *445 '404': *6 '409': *44 x-github: @@ -69151,8 +69695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -69226,7 +69770,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69243,6 +69787,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -69275,29 +69824,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: @@ -69344,8 +69872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *263 - - *264 + - *266 + - *267 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69368,7 +69896,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: default-response: summary: Default response @@ -69427,8 +69955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -69438,7 +69966,7 @@ paths: application/json: schema: type: array - items: &444 + items: &447 title: Webhook description: Webhooks for repositories. type: object @@ -69501,7 +70029,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &661 + last_response: &664 title: Hook Response type: object properties: @@ -69578,8 +70106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -69632,9 +70160,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: &445 + default: &448 value: type: Repository id: 12345678 @@ -69682,17 +70210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '200': description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: *445 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -69712,9 +70240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 requestBody: required: true content: @@ -69759,9 +70287,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: *445 + default: *448 '422': *15 '404': *6 x-github: @@ -69782,9 +70310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -69808,9 +70336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '200': description: Response @@ -69837,9 +70365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 requestBody: required: false content: @@ -69883,11 +70411,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *17 - - *158 + - *162 responses: '200': description: Response @@ -69895,9 +70423,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *160 + default: *164 '400': *14 '422': *15 x-github: @@ -69916,18 +70444,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *16 responses: '200': description: Response content: application/json: - schema: *161 + schema: *165 examples: - default: *162 + default: *166 '400': *14 '422': *15 x-github: @@ -69946,9 +70474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *16 responses: '202': *45 @@ -69971,9 +70499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -69998,9 +70526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -70058,14 +70586,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &446 + schema: &449 title: Import description: A repository import from an external source. type: object @@ -70172,7 +70700,7 @@ paths: - html_url - authors_url examples: - default: &449 + default: &452 value: vcs: subversion use_lfs: true @@ -70188,7 +70716,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': &447 + '503': &450 description: Unavailable due to service under maintenance. content: application/json: @@ -70217,8 +70745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -70266,7 +70794,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: default: value: @@ -70291,7 +70819,7 @@ paths: type: string '422': *15 '404': *6 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70319,8 +70847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -70372,7 +70900,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: example-1: summary: Example 1 @@ -70420,7 +70948,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': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70443,12 +70971,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70474,9 +71002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *263 - - *264 - - &611 + - *266 + - *267 + - &614 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70490,7 +71018,7 @@ paths: application/json: schema: type: array - items: &448 + items: &451 title: Porter Author description: Porter Author type: object @@ -70544,7 +71072,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': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70569,8 +71097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *263 - - *264 + - *266 + - *267 - name: author_id in: path required: true @@ -70600,7 +71128,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: default: value: @@ -70613,7 +71141,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70637,8 +71165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70679,7 +71207,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70707,8 +71235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -70735,11 +71263,11 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - default: *449 + default: *452 '422': *15 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70762,8 +71290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70771,8 +71299,8 @@ paths: application/json: schema: *20 examples: - default: *450 - '301': *275 + default: *453 + '301': *278 '404': *6 x-github: githubCloudOnly: false @@ -70792,8 +71320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70801,12 +71329,12 @@ paths: application/json: schema: anyOf: - - *175 + - *179 - type: object properties: {} additionalProperties: false examples: - default: &452 + default: &455 value: limit: collaborators_only origin: repository @@ -70831,13 +71359,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: application/json: - schema: *451 + schema: *454 examples: default: summary: Example request body @@ -70849,9 +71377,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: - default: *452 + default: *455 '409': description: Response x-github: @@ -70873,8 +71401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -70897,8 +71425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -70908,9 +71436,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: &604 + default: &607 value: - id: 1 repository: @@ -71041,9 +71569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *263 - - *264 - - *179 + - *266 + - *267 + - *183 requestBody: required: false content: @@ -71072,7 +71600,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *456 examples: default: value: @@ -71203,9 +71731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *263 - - *264 - - *179 + - *266 + - *267 + - *183 responses: '204': description: Response @@ -71236,8 +71764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *263 - - *264 + - *266 + - *267 - 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 @@ -71285,7 +71813,7 @@ paths: required: false schema: type: string - - *184 + - *187 - name: sort description: What to sort results by. in: query @@ -71310,7 +71838,7 @@ paths: type: array items: *74 examples: - default: &462 + default: &465 value: - id: 1 node_id: MDU6SXNzdWUx @@ -71458,7 +71986,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *275 + '301': *278 '422': *15 '404': *6 x-github: @@ -71487,8 +72015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -71580,7 +72108,7 @@ paths: application/json: schema: *74 examples: - default: &457 + default: &460 value: id: 1 node_id: MDU6SXNzdWUx @@ -71736,7 +72264,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *272 + '410': *275 x-github: triggersNotification: true githubCloudOnly: false @@ -71764,8 +72292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71786,9 +72314,9 @@ paths: application/json: schema: type: array - items: *454 + items: *457 examples: - default: &459 + default: &462 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71846,17 +72374,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: &455 + default: &458 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71910,8 +72438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -71934,9 +72462,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: *455 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -71954,8 +72482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -71976,8 +72504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72004,9 +72532,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -72027,8 +72555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -72061,16 +72589,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -72092,10 +72620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -72115,8 +72643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -72126,7 +72654,7 @@ paths: application/json: schema: type: array - items: &456 + items: &459 title: Issue Event description: Issue Event type: object @@ -72206,7 +72734,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *180 + requested_team: *146 dismissed_review: title: Issue Event Dismissed Review type: object @@ -72465,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *263 - - *264 + - *266 + - *267 - name: event_id in: path required: true @@ -72477,7 +73005,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *459 examples: default: value: @@ -72670,7 +73198,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *272 + '410': *275 '403': *27 x-github: githubCloudOnly: false @@ -72704,9 +73232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *263 - - *264 - - &458 + - *266 + - *267 + - &461 name: issue_number description: The number that identifies the issue. in: path @@ -72720,10 +73248,10 @@ paths: application/json: schema: *74 examples: - default: *457 - '301': *275 + default: *460 + '301': *278 '404': *6 - '410': *272 + '410': *275 '304': *35 x-github: githubCloudOnly: false @@ -72748,9 +73276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -72870,13 +73398,13 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 '422': *15 '503': *62 '403': *27 - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72894,9 +73422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -72924,7 +73452,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72940,9 +73468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: content: application/json: @@ -72969,7 +73497,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72991,9 +73519,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: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - name: assignee in: path required: true @@ -73033,9 +73561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *64 - *17 - *19 @@ -73046,13 +73574,13 @@ paths: application/json: schema: type: array - items: *454 + items: *457 examples: - default: *459 + default: *462 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73081,9 +73609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -73105,16 +73633,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: *455 + default: *458 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *272 + '410': *275 '422': *15 '404': *6 x-github: @@ -73134,9 +73662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -73150,7 +73678,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &463 + - &466 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73199,7 +73727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &467 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73327,7 +73855,7 @@ paths: - performed_via_github_app - assignee - assigner - - &465 + - &468 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73373,7 +73901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &469 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73419,7 +73947,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &470 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73468,7 +73996,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &471 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73497,7 +74025,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *180 + requested_team: *146 requested_reviewer: *4 required: - review_requester @@ -73510,7 +74038,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &472 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73539,7 +74067,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *180 + requested_team: *146 requested_reviewer: *4 required: - review_requester @@ -73552,7 +74080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &473 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73608,7 +74136,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &474 title: Locked Issue Event description: Locked Issue Event type: object @@ -73653,7 +74181,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &475 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73714,7 +74242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &476 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73775,7 +74303,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &477 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73836,7 +74364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &478 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73929,7 +74457,7 @@ paths: color: red headers: Link: *57 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73946,9 +74474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -73958,7 +74486,7 @@ paths: application/json: schema: type: array - items: &460 + items: &463 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74013,7 +74541,7 @@ paths: - color - default examples: - default: &461 + default: &464 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74031,9 +74559,9 @@ paths: default: false headers: Link: *57 - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74050,9 +74578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74111,12 +74639,12 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 - '301': *275 + default: *464 + '301': *278 '404': *6 - '410': *272 + '410': *275 '422': *15 x-github: githubCloudOnly: false @@ -74133,9 +74661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74195,12 +74723,12 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 - '301': *275 + default: *464 + '301': *278 '404': *6 - '410': *272 + '410': *275 '422': *15 x-github: githubCloudOnly: false @@ -74217,15 +74745,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 responses: '204': description: Response - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74244,9 +74772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - name: name in: path required: true @@ -74259,7 +74787,7 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: default: value: @@ -74270,9 +74798,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74292,9 +74820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74323,7 +74851,7 @@ paths: '204': description: Response '403': *27 - '410': *272 + '410': *275 '404': *6 '422': *15 x-github: @@ -74341,9 +74869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 responses: '204': description: Response @@ -74365,9 +74893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - 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. @@ -74393,13 +74921,13 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74417,9 +74945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74451,16 +74979,16 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -74482,10 +75010,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *263 - - *264 - - *458 - - *259 + - *266 + - *267 + - *461 + - *262 responses: '204': description: Response @@ -74514,9 +75042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74540,7 +75068,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74573,9 +75101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -74587,11 +75115,11 @@ paths: type: array items: *74 examples: - default: *462 + default: *465 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74619,9 +75147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74650,14 +75178,14 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *272 + '410': *275 '422': *15 '404': *6 x-github: @@ -74677,9 +75205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74712,7 +75240,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 '403': *27 '404': *6 '422': *7 @@ -74734,9 +75262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -74751,9 +75279,6 @@ paths: description: Timeline Event type: object anyOf: - - *463 - - *464 - - *465 - *466 - *467 - *468 @@ -74764,6 +75289,9 @@ paths: - *473 - *474 - *475 + - *476 + - *477 + - *478 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75087,7 +75615,7 @@ paths: type: string comments: type: array - items: &495 + items: &498 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75325,7 +75853,7 @@ paths: type: string comments: type: array - items: *390 + items: *393 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75600,7 +76128,7 @@ paths: headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75617,8 +76145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -75628,7 +76156,7 @@ paths: application/json: schema: type: array - items: &476 + items: &479 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75695,8 +76223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -75732,9 +76260,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: &477 + default: &480 value: id: 1 key: ssh-rsa AAA... @@ -75768,9 +76296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *263 - - *264 - - &478 + - *266 + - *267 + - &481 name: key_id description: The unique identifier of the key. in: path @@ -75782,9 +76310,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -75802,9 +76330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *263 - - *264 - - *478 + - *266 + - *267 + - *481 responses: '204': description: Response @@ -75824,8 +76352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -75835,9 +76363,9 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 + default: *464 headers: Link: *57 '404': *6 @@ -75858,8 +76386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -75895,9 +76423,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: &479 + default: &482 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75929,8 +76457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -75941,9 +76469,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: *479 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -75960,8 +76488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -76000,7 +76528,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: default: value: @@ -76026,8 +76554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -76053,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -76093,9 +76621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *263 - - *264 - - *368 + - *266 + - *267 + - *371 responses: '200': description: Response @@ -76242,8 +76770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76308,8 +76836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76343,9 +76871,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *391 + schema: *394 examples: - default: *480 + default: *483 '204': description: Response when already merged '404': @@ -76370,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76412,7 +76940,7 @@ paths: application/json: schema: type: array - items: *395 + items: *398 examples: default: value: @@ -76468,8 +76996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76509,9 +77037,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: &481 + default: &484 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76570,9 +77098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *263 - - *264 - - &482 + - *266 + - *267 + - &485 name: milestone_number description: The number that identifies the milestone. in: path @@ -76584,9 +77112,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *481 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -76603,9 +77131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 requestBody: required: false content: @@ -76643,9 +77171,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *481 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76661,9 +77189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 responses: '204': description: Response @@ -76684,9 +77212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 - *17 - *19 responses: @@ -76696,9 +77224,9 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 + default: *464 headers: Link: *57 x-github: @@ -76717,12 +77245,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *263 - - *264 - - *483 - - *484 + - *266 + - *267 + - *486 + - *487 - *64 - - *485 + - *488 - *17 - *19 responses: @@ -76734,7 +77262,7 @@ paths: type: array items: *86 examples: - default: *486 + default: *489 headers: Link: *57 x-github: @@ -76758,8 +77286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -76817,14 +77345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &487 + schema: &490 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76968,7 +77496,7 @@ paths: - custom_404 - public examples: - default: &488 + default: &491 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77009,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77065,9 +77593,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 '422': *15 '409': *44 x-github: @@ -77090,8 +77618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77191,8 +77719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -77218,8 +77746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -77229,7 +77757,7 @@ paths: application/json: schema: type: array - items: &489 + items: &492 title: Page Build description: Page Build type: object @@ -77321,8 +77849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -77369,16 +77897,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *489 + schema: *492 examples: - default: &490 + default: &493 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77426,8 +77954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *263 - - *264 + - *266 + - *267 - name: build_id in: path required: true @@ -77438,9 +77966,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - default: *490 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77460,8 +77988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77569,9 +78097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *263 - - *264 - - &491 + - *266 + - *267 + - &494 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77629,11 +78157,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *263 - - *264 - - *491 + - *266 + - *267 + - *494 responses: - '204': *137 + '204': *140 '404': *6 x-github: githubCloudOnly: false @@ -77658,8 +78186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -77954,8 +78482,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Private vulnerability reporting status @@ -77992,10 +78520,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: - '204': *137 + '204': *140 '422': *14 x-github: githubCloudOnly: false @@ -78014,10 +78542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: - '204': *137 + '204': *140 '422': *14 x-github: githubCloudOnly: false @@ -78038,8 +78566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: Indicates the state of the projects to return. in: query @@ -78060,7 +78588,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -78100,7 +78628,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -78123,8 +78651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78150,13 +78678,13 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *271 + default: *274 '401': *23 '403': *27 '404': *6 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -78179,8 +78707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -78188,7 +78716,7 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: default: value: @@ -78219,8 +78747,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78232,7 +78760,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *221 + items: *224 required: - properties examples: @@ -78282,8 +78810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78343,9 +78871,9 @@ paths: application/json: schema: type: array - items: *492 + items: *495 examples: - default: *493 + default: *496 headers: Link: *57 '304': *35 @@ -78377,8 +78905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78445,7 +78973,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &500 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78574,7 +79102,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 active_lock_reason: type: - string @@ -78629,7 +79157,7 @@ paths: type: - array - 'null' - items: *198 + items: *201 head: type: object properties: @@ -78667,14 +79195,14 @@ paths: _links: type: object properties: - comments: *396 - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + comments: *399 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -78685,7 +79213,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *494 + auto_merge: *497 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -78787,7 +79315,7 @@ paths: - merged_by - review_comments examples: - default: &498 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79314,8 +79842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: sort in: query required: false @@ -79344,9 +79872,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: &500 + default: &503 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79423,17 +79951,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &496 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79508,8 +80036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -79532,9 +80060,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79550,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -79573,8 +80101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79601,9 +80129,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -79624,8 +80152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -79658,16 +80186,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -79689,10 +80217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -79735,9 +80263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *263 - - *264 - - &499 + - *266 + - *267 + - &502 name: pull_number description: The number that identifies the pull request. in: path @@ -79750,9 +80278,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '304': *35 '404': *6 '406': @@ -79760,7 +80288,7 @@ paths: content: application/json: schema: *3 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -79787,9 +80315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -79831,9 +80359,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '422': *15 '403': *27 x-github: @@ -79855,9 +80383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -79918,17 +80446,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -79958,9 +80486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79981,9 +80509,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: *500 + default: *503 headers: Link: *57 x-github: @@ -80016,9 +80544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -80124,7 +80652,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: example-for-a-multi-line-comment: value: @@ -80212,9 +80740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *73 requestBody: required: true @@ -80237,7 +80765,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: default: value: @@ -80323,9 +80851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -80335,9 +80863,9 @@ paths: application/json: schema: type: array - items: *391 + items: *394 examples: - default: *501 + default: *504 headers: Link: *57 x-github: @@ -80367,9 +80895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -80379,7 +80907,7 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: default: value: @@ -80397,7 +80925,7 @@ paths: headers: Link: *57 '422': *15 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -80417,9 +80945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 responses: '204': description: Response if pull request has been merged @@ -80442,9 +80970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -80556,9 +81084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 responses: '200': description: Response @@ -80574,7 +81102,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 required: - users - teams @@ -80633,9 +81161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -80672,7 +81200,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -81208,9 +81736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -81244,7 +81772,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -81749,9 +82277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -81761,7 +82289,7 @@ paths: application/json: schema: type: array - items: &502 + items: &505 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81917,9 +82445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -82009,9 +82537,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &504 + default: &507 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82074,10 +82602,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - &503 + - *266 + - *267 + - *502 + - &506 name: review_id description: The unique identifier of the review. in: path @@ -82089,9 +82617,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &505 + default: &508 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82150,10 +82678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82176,7 +82704,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: default: value: @@ -82238,18 +82766,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 responses: '200': description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *504 + default: *507 '422': *7 '404': *6 x-github: @@ -82276,10 +82804,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 - *17 - *19 responses: @@ -82377,9 +82905,9 @@ paths: _links: type: object properties: - self: *396 - html: *396 - pull_request: *396 + self: *399 + html: *399 + pull_request: *399 required: - self - html @@ -82530,10 +83058,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82562,7 +83090,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: default: value: @@ -82625,10 +83153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82663,9 +83191,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *505 + default: *508 '404': *6 '422': *7 '403': *27 @@ -82687,9 +83215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -82753,8 +83281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *263 - - *264 + - *266 + - *267 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82767,9 +83295,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: &507 + default: &510 value: type: file encoding: base64 @@ -82811,8 +83339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *263 - - *264 + - *266 + - *267 - name: dir description: The alternate path to look for a README file in: path @@ -82832,9 +83360,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 + default: *510 '404': *6 '422': *15 x-github: @@ -82856,8 +83384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -82867,7 +83395,7 @@ paths: application/json: schema: type: array - items: &508 + items: &511 title: Release description: A release. type: object @@ -82939,7 +83467,7 @@ paths: author: *4 assets: type: array - items: &509 + items: &512 title: Release Asset description: Data related to a release. type: object @@ -83119,8 +83647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -83196,9 +83724,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: &512 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83301,9 +83829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *263 - - *264 - - &510 + - *266 + - *267 + - &513 name: asset_id description: The unique identifier of the asset. in: path @@ -83315,9 +83843,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: &511 + default: &514 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 @@ -83351,7 +83879,7 @@ paths: type: User site_admin: false '404': *6 - '302': *405 + '302': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83367,9 +83895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *263 - - *264 - - *510 + - *266 + - *267 + - *513 requestBody: required: false content: @@ -83398,9 +83926,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *511 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *263 - - *264 - - *510 + - *266 + - *267 + - *513 responses: '204': description: Response @@ -83442,8 +83970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -83529,16 +84057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83555,8 +84083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *263 - - *264 + - *266 + - *267 - name: tag description: tag parameter in: path @@ -83569,9 +84097,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -83593,9 +84121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *263 - - *264 - - &513 + - *266 + - *267 + - &516 name: release_id description: The unique identifier of the release. in: path @@ -83609,9 +84137,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: *508 + schema: *511 examples: - default: *512 + default: *515 '401': description: Unauthorized x-github: @@ -83629,9 +84157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 requestBody: required: false content: @@ -83695,9 +84223,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 '404': description: Not Found if the discussion category name is invalid content: @@ -83718,9 +84246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 responses: '204': description: Response @@ -83740,9 +84268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - *17 - *19 responses: @@ -83752,7 +84280,7 @@ paths: application/json: schema: type: array - items: *509 + items: *512 examples: default: value: @@ -83832,9 +84360,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: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - name: name in: query required: true @@ -83860,7 +84388,7 @@ paths: description: Response for successful upload content: application/json: - schema: *509 + schema: *512 examples: response-for-successful-upload: value: @@ -83914,9 +84442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - 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. @@ -83940,9 +84468,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -83963,9 +84491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 requestBody: required: true content: @@ -83995,16 +84523,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -84026,10 +84554,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *263 - - *264 - - *513 - - *259 + - *266 + - *267 + - *516 + - *262 responses: '204': description: Response @@ -84053,9 +84581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 - *17 - *19 responses: @@ -84071,8 +84599,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *514 - - &516 + - *517 + - &519 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84091,66 +84619,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *515 - - *516 - - allOf: - - *517 - - *516 - allOf: - *518 - - *516 - - allOf: - *519 - - *516 - allOf: - *520 - - *516 + - *519 - allOf: - *521 - - *516 + - *519 - allOf: - *522 - - *516 + - *519 - allOf: - *523 - - *516 + - *519 - allOf: - *524 - - *516 + - *519 - allOf: - *525 - - *516 + - *519 - allOf: - *526 - - *516 + - *519 - allOf: - *527 - - *516 + - *519 - allOf: - *528 - - *516 + - *519 - allOf: - *529 - - *516 + - *519 - allOf: - *530 - - *516 + - *519 - allOf: - *531 - - *516 + - *519 - allOf: - *532 - - *516 + - *519 - allOf: - *533 - - *516 + - *519 - allOf: - *534 - - *516 + - *519 - allOf: - *535 - - *516 + - *519 + - allOf: + - *536 + - *519 + - allOf: + - *537 + - *519 + - allOf: + - *538 + - *519 examples: default: value: @@ -84189,8 +84717,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - name: includes_parents @@ -84201,7 +84729,7 @@ paths: schema: type: boolean default: true - - *536 + - *539 responses: '200': description: Response @@ -84209,7 +84737,7 @@ paths: application/json: schema: type: array - items: *229 + items: *232 examples: default: value: @@ -84240,7 +84768,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -84256,8 +84784,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 requestBody: description: Request body required: true @@ -84277,16 +84805,16 @@ paths: - tag - push default: branch - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *223 + items: *229 + conditions: *226 rules: type: array description: An array of rules within the ruleset. - items: *228 + items: *231 required: - name - enforcement @@ -84317,9 +84845,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &546 + default: &549 value: id: 42 name: super cool ruleset @@ -84352,7 +84880,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -84366,12 +84894,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *263 - - *264 - - *537 - - *538 - - *539 + - *266 + - *267 - *540 + - *541 + - *542 + - *543 - *17 - *19 responses: @@ -84379,11 +84907,11 @@ paths: description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *542 + default: *545 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84402,19 +84930,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *263 - - *264 - - *543 + - *266 + - *267 + - *546 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *545 + default: *548 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84440,8 +84968,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84461,11 +84989,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *546 + default: *549 '404': *6 - '500': *140 + '500': *143 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -84481,8 +85009,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84507,16 +85035,16 @@ paths: - branch - tag - push - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *223 + items: *229 + conditions: *226 rules: description: An array of rules within the ruleset. type: array - items: *228 + items: *231 examples: default: value: @@ -84544,11 +85072,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *546 + default: *549 '404': *6 - '500': *140 + '500': *143 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -84564,8 +85092,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84576,7 +85104,7 @@ paths: '204': description: Response '404': *6 - '500': *140 + '500': *143 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -84588,8 +85116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - name: ruleset_id @@ -84605,11 +85133,11 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *547 + default: *550 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84626,8 +85154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84645,7 +85173,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -84678,7 +85206,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84700,20 +85228,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *263 - - *264 - - *232 - - *233 - - *234 + - *266 + - *267 - *235 - - *46 - - *19 - - *17 - - *549 - - *550 - *236 - *237 - *238 + - *46 + - *19 + - *17 + - *552 + - *553 + - *239 + - *240 + - *241 responses: '200': description: Response @@ -84721,7 +85249,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 type: object properties: number: *52 @@ -84737,8 +85265,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *551 - resolution: *552 + state: *554 + resolution: *555 resolved_at: type: - string @@ -84957,15 +85485,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -85017,9 +85545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: true content: @@ -85027,8 +85555,8 @@ paths: schema: type: object properties: - state: *551 - resolution: *552 + state: *554 + resolution: *555 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85047,7 +85575,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -85122,9 +85650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 - *19 - *17 responses: @@ -85135,7 +85663,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &682 + items: &685 type: object properties: type: @@ -85514,8 +86042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -85523,14 +86051,14 @@ paths: schema: type: object properties: - reason: &555 + reason: &558 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *554 + placeholder_id: *557 required: - reason - placeholder_id @@ -85547,7 +86075,7 @@ paths: schema: type: object properties: - reason: *555 + reason: *558 expire_at: type: - string @@ -85591,8 +86119,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: - - *263 - - *264 + - *266 + - *267 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85607,7 +86135,7 @@ paths: properties: incremental_scans: type: array - items: &556 + items: &559 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85635,15 +86163,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *556 + items: *559 backfill_scans: type: array - items: *556 + items: *559 custom_pattern_backfill_scans: type: array items: allOf: - - *556 + - *559 - type: object properties: pattern_name: @@ -85713,8 +86241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *263 - - *264 + - *266 + - *267 - *46 - name: sort description: The property to sort the results by. @@ -85758,9 +86286,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: *558 + default: *561 '400': *14 '404': *6 x-github: @@ -85783,8 +86311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -85864,7 +86392,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 required: - login - type @@ -85954,9 +86482,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: &560 + default: &563 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86189,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -86303,7 +86831,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: default: value: @@ -86450,17 +86978,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '200': description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *560 + default: *563 '403': *27 '404': *6 x-github: @@ -86484,9 +87012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 requestBody: required: true content: @@ -86566,7 +87094,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 required: - login - type @@ -86657,10 +87185,10 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *560 - add_credit: *560 + default: *563 + add_credit: *563 '403': *27 '404': *6 '422': @@ -86698,9 +87226,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: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '202': *45 '400': *14 @@ -86727,17 +87255,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '202': description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 '400': *14 '422': *15 '403': *27 @@ -86763,8 +87291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -86860,8 +87388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86870,7 +87398,7 @@ paths: application/json: schema: type: array - items: &561 + items: &564 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86883,7 +87411,7 @@ paths: - 1124 - -435 '202': *45 - '204': *137 + '204': *140 '422': description: Repository contains more than 10,000 commits x-github: @@ -86903,8 +87431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -86955,7 +87483,7 @@ paths: total: 89 week: 1336280400 '202': *45 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86982,8 +87510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -87055,7 +87583,7 @@ paths: d: 77 c: 10 '202': *45 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87077,8 +87605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87232,8 +87760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87243,7 +87771,7 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: default: value: @@ -87256,7 +87784,7 @@ paths: - - 0 - 2 - 21 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87276,8 +87804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *263 - - *264 + - *266 + - *267 - name: sha in: path required: true @@ -87333,7 +87861,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *565 examples: default: value: @@ -87387,8 +87915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87400,7 +87928,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -87420,14 +87948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &563 + schema: &566 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87500,8 +88028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -87527,7 +88055,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: default: value: @@ -87554,8 +88082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -87575,8 +88103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87658,8 +88186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -87667,7 +88195,7 @@ paths: application/json: schema: type: array - items: &564 + items: &567 title: Tag protection description: Tag protection type: object @@ -87724,8 +88252,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -87748,7 +88276,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: default: value: @@ -87779,8 +88307,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: - - *263 - - *264 + - *266 + - *267 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87817,8 +88345,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *263 - - *264 + - *266 + - *267 - name: ref in: path required: true @@ -87854,8 +88382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87865,9 +88393,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 headers: Link: *57 '404': *6 @@ -87887,8 +88415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 responses: @@ -87896,7 +88424,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &568 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87908,7 +88436,7 @@ paths: required: - names examples: - default: &566 + default: &569 value: names: - octocat @@ -87931,8 +88459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -87963,9 +88491,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *566 + default: *569 '404': *6 '422': *7 x-github: @@ -87986,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *263 - - *264 - - &567 + - *266 + - *267 + - &570 name: per description: The time frame to display results for. in: query @@ -88019,7 +88547,7 @@ paths: - 128 clones: type: array - items: &568 + items: &571 title: Traffic type: object properties: @@ -88106,8 +88634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -88201,8 +88729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -88265,9 +88793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *263 - - *264 - - *567 + - *266 + - *267 + - *570 responses: '200': description: Response @@ -88288,7 +88816,7 @@ paths: - 3782 views: type: array - items: *568 + items: *571 required: - uniques - count @@ -88365,8 +88893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -88640,8 +89168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88664,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -88687,8 +89215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -88714,8 +89242,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *263 - - *264 + - *266 + - *267 - name: ref in: path required: true @@ -88807,9 +89335,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89058,7 +89586,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &569 + text_matches: &572 title: Search Result Text Matches type: array items: @@ -89221,7 +89749,7 @@ paths: enum: - author-date - committer-date - - &570 + - &573 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 @@ -89290,7 +89818,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 comment_count: type: integer message: @@ -89309,7 +89837,7 @@ paths: url: type: string format: uri - verification: *440 + verification: *443 required: - author - committer @@ -89324,7 +89852,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 parents: type: array items: @@ -89341,7 +89869,7 @@ paths: type: number node_id: type: string - text_matches: *569 + text_matches: *572 required: - sha - node_id @@ -89523,7 +90051,7 @@ paths: - interactions - created - updated - - *570 + - *573 - *17 - *19 - name: advanced_search @@ -89647,7 +90175,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 comments: type: integer created_at: @@ -89661,7 +90189,7 @@ paths: - string - 'null' format: date-time - text_matches: *569 + text_matches: *572 pull_request: type: object properties: @@ -89710,7 +90238,7 @@ paths: timeline_url: type: string format: uri - type: *181 + type: *184 performed_via_github_app: anyOf: - type: 'null' @@ -89887,7 +90415,7 @@ paths: enum: - created - updated - - *570 + - *573 - *17 - *19 responses: @@ -89932,7 +90460,7 @@ paths: - 'null' score: type: number - text_matches: *569 + text_matches: *572 required: - id - node_id @@ -90017,7 +90545,7 @@ paths: - forks - help-wanted-issues - updated - - *570 + - *573 - *17 - *19 responses: @@ -90254,7 +90782,7 @@ paths: - admin - pull - push - text_matches: *569 + text_matches: *572 temp_clone_token: type: string allow_merge_commit: @@ -90562,7 +91090,7 @@ paths: - string - 'null' format: uri - text_matches: *569 + text_matches: *572 related: type: - array @@ -90755,7 +91283,7 @@ paths: - followers - repositories - joined - - *570 + - *573 - *17 - *19 responses: @@ -90865,7 +91393,7 @@ paths: type: - boolean - 'null' - text_matches: *569 + text_matches: *572 blog: type: - string @@ -90947,7 +91475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &571 + - &574 name: team_id description: The unique identifier of the team. in: path @@ -90959,9 +91487,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 x-github: githubCloudOnly: false @@ -90988,7 +91516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *571 + - *574 requestBody: required: true content: @@ -91052,16 +91580,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '201': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 '422': *15 '403': *27 @@ -91089,7 +91617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *571 + - *574 responses: '204': description: Response @@ -91120,7 +91648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *571 + - *574 - *46 - *17 - *19 @@ -91131,9 +91659,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: *572 + default: *575 headers: Link: *57 x-github: @@ -91162,7 +91690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *571 + - *574 requestBody: required: true content: @@ -91196,9 +91724,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: triggersNotification: true githubCloudOnly: false @@ -91225,16 +91753,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 responses: '200': description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91259,8 +91787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: false content: @@ -91283,9 +91811,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *573 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91310,8 +91838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 responses: '204': description: Response @@ -91340,8 +91868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *571 - - *252 + - *574 + - *255 - *46 - *17 - *19 @@ -91352,9 +91880,9 @@ paths: application/json: schema: type: array - items: *253 + items: *256 examples: - default: *574 + default: *577 headers: Link: *57 x-github: @@ -91383,8 +91911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: true content: @@ -91406,9 +91934,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: triggersNotification: true githubCloudOnly: false @@ -91435,17 +91963,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91470,9 +91998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 requestBody: required: true content: @@ -91494,9 +92022,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *575 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91521,9 +92049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 responses: '204': description: Response @@ -91552,9 +92080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 - 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. @@ -91580,9 +92108,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -91611,9 +92139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 requestBody: required: true content: @@ -91645,9 +92173,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91673,8 +92201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 - 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. @@ -91700,9 +92228,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -91731,8 +92259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: true content: @@ -91764,9 +92292,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91790,7 +92318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -91800,9 +92328,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 x-github: @@ -91828,7 +92356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *571 + - *574 - name: role description: Filters members returned by their role in the team. in: query @@ -91851,7 +92379,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -91879,7 +92407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91916,7 +92444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91956,7 +92484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91993,16 +92521,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 responses: '200': description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-user-is-a-team-maintainer: *576 + response-if-user-is-a-team-maintainer: *579 '404': *6 x-github: githubCloudOnly: false @@ -92035,7 +92563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 requestBody: required: false @@ -92061,9 +92589,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-users-membership-with-team-is-now-pending: *577 + response-if-users-membership-with-team-is-now-pending: *580 '403': description: Forbidden if team synchronization is set up '422': @@ -92097,7 +92625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -92126,7 +92654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92136,9 +92664,9 @@ paths: application/json: schema: type: array - items: *261 + items: *264 examples: - default: *578 + default: *581 headers: Link: *57 '404': *6 @@ -92164,16 +92692,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *571 - - *262 + - *574 + - *265 responses: '200': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *579 + default: *582 '404': description: Not Found if project is not managed by this team x-github: @@ -92197,8 +92725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *571 - - *262 + - *574 + - *265 requestBody: required: false content: @@ -92265,8 +92793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *571 - - *262 + - *574 + - *265 responses: '204': description: Response @@ -92293,7 +92821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92305,7 +92833,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '404': *6 @@ -92335,15 +92863,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *580 + schema: *583 examples: alternative-response-with-extra-repository-information: value: @@ -92494,9 +93022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 requestBody: required: false content: @@ -92546,9 +93074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 responses: '204': description: Response @@ -92573,7 +93101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92583,9 +93111,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - response-if-child-teams-exist: *581 + response-if-child-teams-exist: *584 headers: Link: *57 '404': *6 @@ -92618,7 +93146,7 @@ paths: application/json: schema: oneOf: - - &583 + - &586 title: Private User description: Private User type: object @@ -92868,7 +93396,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *582 + - *585 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93028,7 +93556,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -93107,7 +93635,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '304': *35 '404': *6 '403': *27 @@ -93231,11 +93759,11 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: - default: *188 + default: *191 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93372,17 +93900,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -93426,7 +93954,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &587 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -93468,7 +93996,7 @@ paths: - visibility - selected_repositories_url examples: - default: *384 + default: *387 headers: Link: *57 x-github: @@ -93546,7 +94074,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *587 examples: default: value: @@ -93692,11 +94220,11 @@ paths: type: array items: *115 examples: - default: *585 + default: *588 '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93749,7 +94277,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93783,7 +94311,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93816,7 +94344,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93836,17 +94364,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93870,7 +94398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 requestBody: required: false content: @@ -93900,9 +94428,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -93924,11 +94452,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '202': *45 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93953,13 +94481,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '202': description: Response content: application/json: - schema: &586 + schema: &589 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94012,7 +94540,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &587 + default: &590 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94020,7 +94548,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -94044,7 +94572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *189 + - *192 - name: export_id in: path required: true @@ -94057,9 +94585,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: *587 + default: *590 '404': *6 x-github: githubCloudOnly: false @@ -94080,7 +94608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *189 + - *192 responses: '200': description: Response @@ -94096,11 +94624,11 @@ paths: type: integer machines: type: array - items: *383 + items: *386 examples: - default: *588 + default: *591 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -94127,7 +94655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *189 + - *192 requestBody: required: true content: @@ -94183,11 +94711,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *274 + repository: *277 machine: anyOf: - type: 'null' - - *383 + - *386 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -94984,17 +95512,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '304': *35 - '500': *140 + '500': *143 '400': *14 '401': *23 '402': @@ -95024,16 +95552,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 - '500': *140 + default: *385 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -95062,9 +95590,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: &601 + default: &604 value: - id: 197 name: hello_docker @@ -95165,7 +95693,7 @@ paths: application/json: schema: type: array - items: &589 + items: &592 title: Email description: Email type: object @@ -95235,9 +95763,9 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: - default: &603 + default: &606 value: - email: octocat@github.com verified: true @@ -95314,7 +95842,7 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: default: value: @@ -95426,7 +95954,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '304': *35 @@ -95459,7 +95987,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '304': *35 @@ -95572,7 +96100,7 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: GPG Key description: A unique encryption key type: object @@ -95717,7 +96245,7 @@ paths: - subkeys - revoked examples: - default: &614 + default: &617 value: - id: 3 name: Octocat's GPG Key @@ -95802,9 +96330,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &591 + default: &594 value: id: 3 name: Octocat's GPG Key @@ -95861,7 +96389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &592 + - &595 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -95873,9 +96401,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 '404': *6 '304': *35 '403': *27 @@ -95898,7 +96426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *592 + - *595 responses: '204': description: Response @@ -96089,7 +96617,7 @@ paths: type: array items: *59 examples: - default: *593 + default: *596 headers: Link: *57 '404': *6 @@ -96174,12 +96702,12 @@ paths: application/json: schema: anyOf: - - *175 + - *179 - type: object properties: {} additionalProperties: false examples: - default: *176 + default: *180 '204': description: Response when there are no restrictions x-github: @@ -96203,7 +96731,7 @@ paths: required: true content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -96214,7 +96742,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: default: value: @@ -96295,7 +96823,7 @@ paths: - closed - all default: open - - *184 + - *187 - name: sort description: What to sort results by. in: query @@ -96320,7 +96848,7 @@ paths: type: array items: *74 examples: - default: *185 + default: *188 headers: Link: *57 '404': *6 @@ -96353,7 +96881,7 @@ paths: application/json: schema: type: array - items: &594 + items: &597 title: Key description: Key type: object @@ -96451,9 +96979,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: &595 + default: &598 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96486,15 +97014,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *478 + - *481 responses: '200': description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *595 + default: *598 '404': *6 '304': *35 '403': *27 @@ -96517,7 +97045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *478 + - *481 responses: '204': description: Response @@ -96550,7 +97078,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96629,7 +97157,7 @@ paths: - account - plan examples: - default: &597 + default: &600 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96691,9 +97219,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 headers: Link: *57 '304': *35 @@ -96733,7 +97261,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: value: @@ -96841,7 +97369,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: default: value: @@ -96924,7 +97452,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: default: value: @@ -96992,7 +97520,7 @@ paths: application/json: schema: type: array - items: *193 + items: *196 examples: default: value: @@ -97254,7 +97782,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -97434,7 +97962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *194 + - *197 - name: exclude in: query required: false @@ -97447,7 +97975,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -97641,7 +98169,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *194 + - *197 responses: '302': description: Response @@ -97667,7 +98195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *194 + - *197 responses: '204': description: Response @@ -97696,8 +98224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *194 - - *598 + - *197 + - *601 responses: '204': description: Response @@ -97721,7 +98249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *194 + - *197 - *17 - *19 responses: @@ -97733,7 +98261,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '404': *6 @@ -97768,9 +98296,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *599 + default: *602 headers: Link: *57 '304': *35 @@ -97812,7 +98340,7 @@ paths: - docker - nuget - container - - *600 + - *603 - *19 - *17 responses: @@ -97822,10 +98350,10 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 - '400': *602 + default: *604 + '400': *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97845,16 +98373,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 responses: '200': description: Response content: application/json: - schema: *200 + schema: *203 examples: - default: &615 + default: &618 value: id: 40201 name: octo-name @@ -97967,8 +98495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 responses: '204': description: Response @@ -97998,8 +98526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 - name: token description: package token schema: @@ -98031,8 +98559,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: - - *202 - - *203 + - *205 + - *206 - *19 - *17 - name: state @@ -98052,7 +98580,7 @@ paths: application/json: schema: type: array - items: *204 + items: *207 examples: default: value: @@ -98101,15 +98629,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '200': description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -98145,9 +98673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '204': description: Response @@ -98177,9 +98705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '204': description: Response @@ -98237,7 +98765,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -98309,9 +98837,9 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: - default: *603 + default: *606 headers: Link: *57 '304': *35 @@ -98424,7 +98952,7 @@ paths: type: array items: *59 examples: - default: &610 + default: &613 summary: Default response value: - id: 1296269 @@ -98742,9 +99270,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -98782,9 +99310,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: *604 + default: *607 headers: Link: *57 '304': *35 @@ -98807,7 +99335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *179 + - *183 responses: '204': description: Response @@ -98830,7 +99358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *179 + - *183 responses: '204': description: Response @@ -98863,7 +99391,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Social account description: Social media account type: object @@ -98880,7 +99408,7 @@ paths: - provider - url examples: - default: &606 + default: &609 value: - provider: twitter url: https://twitter.com/github @@ -98943,9 +99471,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 '422': *15 '304': *35 '404': *6 @@ -99033,7 +99561,7 @@ paths: application/json: schema: type: array - items: &607 + items: &610 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99053,7 +99581,7 @@ paths: - title - created_at examples: - default: &622 + default: &625 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99120,9 +99648,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: &608 + default: &611 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99153,7 +99681,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: - - &609 + - &612 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99165,9 +99693,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '404': *6 '304': *35 '403': *27 @@ -99190,7 +99718,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: - - *609 + - *612 responses: '204': description: Response @@ -99219,7 +99747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &623 + - &626 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 @@ -99244,11 +99772,11 @@ paths: type: array items: *59 examples: - default-response: *610 + default-response: *613 application/vnd.github.v3.star+json: schema: type: array - items: &624 + items: &627 title: Starred Repository description: Starred Repository type: object @@ -99404,8 +99932,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: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response if this repository is starred by you @@ -99433,8 +99961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -99458,8 +99986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -99494,7 +100022,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '304': *35 @@ -99531,7 +100059,7 @@ paths: application/json: schema: type: array - items: *248 + items: *251 examples: default: value: @@ -99617,10 +100145,10 @@ paths: application/json: schema: oneOf: - - *583 - - *582 + - *586 + - *585 examples: - default-response: &612 + default-response: &615 summary: Default response value: login: octocat @@ -99655,7 +100183,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &613 + response-with-git-hub-plan-information: &616 summary: Response with GitHub plan information value: login: octocat @@ -99715,7 +100243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *611 + - *614 - *17 responses: '200': @@ -99726,7 +100254,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: example: ; rel="next" @@ -99764,11 +100292,11 @@ paths: application/json: schema: oneOf: - - *583 - - *582 + - *586 + - *585 examples: - default-response: *612 - response-with-git-hub-plan-information: *613 + default-response: *615 + response-with-git-hub-plan-information: *616 '404': *6 x-github: githubCloudOnly: false @@ -99844,7 +100372,7 @@ paths: bundle_url: type: string examples: - default: *325 + default: *328 '201': description: Response content: @@ -99883,9 +100411,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 + default: *604 '403': *27 '401': *23 x-github: @@ -100168,7 +100696,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -100199,7 +100727,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -100289,9 +100817,9 @@ paths: application/json: schema: type: array - items: *590 + items: *593 examples: - default: *614 + default: *617 headers: Link: *57 x-github: @@ -100395,7 +100923,7 @@ paths: application/json: schema: *20 examples: - default: *450 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100471,9 +100999,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *599 + default: *602 headers: Link: *57 x-github: @@ -100512,7 +101040,7 @@ paths: - docker - nuget - container - - *600 + - *603 - *128 - *19 - *17 @@ -100523,12 +101051,12 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 + default: *604 '403': *27 '401': *23 - '400': *602 + '400': *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100548,17 +101076,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 responses: '200': description: Response content: application/json: - schema: *200 + schema: *203 examples: - default: *615 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100579,8 +101107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 responses: '204': @@ -100613,8 +101141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 - name: token description: package token @@ -100647,8 +101175,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: - - *202 - - *203 + - *205 + - *206 - *128 responses: '200': @@ -100657,7 +101185,7 @@ paths: application/json: schema: type: array - items: *204 + items: *207 examples: default: value: @@ -100715,16 +101243,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 - *128 responses: '200': description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -100759,10 +101287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *202 - - *203 - - *128 - *205 + - *206 + - *128 + - *208 responses: '204': description: Response @@ -100794,10 +101322,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *202 - - *203 - - *128 - *205 + - *206 + - *128 + - *208 responses: '204': description: Response @@ -100844,7 +101372,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -101127,7 +101655,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -101157,9 +101685,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101187,9 +101715,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101217,9 +101745,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *623 examples: - default: *621 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101247,9 +101775,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 headers: Link: *57 x-github: @@ -101279,9 +101807,9 @@ paths: application/json: schema: type: array - items: *607 + items: *610 examples: - default: *622 + default: *625 headers: Link: *57 x-github: @@ -101306,7 +101834,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *623 + - *626 - *46 - *17 - *19 @@ -101318,11 +101846,11 @@ paths: schema: anyOf: - type: array - items: *624 + items: *627 - type: array items: *59 examples: - default-response: *610 + default-response: *613 headers: Link: *57 x-github: @@ -101353,7 +101881,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -101482,7 +102010,7 @@ webhooks: type: string enum: - disabled - enterprise: &625 + enterprise: &628 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -101551,7 +102079,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &626 + installation: &629 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101572,7 +102100,7 @@ webhooks: required: - id - node_id - organization: &627 + organization: &630 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101645,7 +102173,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &628 + repository: &631 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102558,10 +103086,10 @@ webhooks: type: string enum: - enabled - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -102637,11 +103165,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: &629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: &632 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) @@ -102864,11 +103392,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: *629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: *632 sender: *4 required: - action @@ -103056,11 +103584,11 @@ webhooks: - everyone required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: *629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: *632 sender: *4 required: - action @@ -103144,7 +103672,7 @@ webhooks: type: string enum: - completed - check_run: &631 + check_run: &634 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103212,7 +103740,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *342 + items: *345 repository: *115 status: type: string @@ -103257,7 +103785,7 @@ webhooks: - examples: - neutral - deployment: *630 + deployment: *633 details_url: type: string examples: @@ -103317,7 +103845,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *342 + items: *345 started_at: type: string format: date-time @@ -103355,9 +103883,9 @@ webhooks: - output - app - pull_requests - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -103750,10 +104278,10 @@ webhooks: type: string enum: - created - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -104149,10 +104677,10 @@ webhooks: type: string enum: - requested_action - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 requested_action: description: The action requested by the user. type: object @@ -104557,10 +105085,10 @@ webhooks: type: string enum: - rerequested - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -105552,10 +106080,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -106240,10 +106768,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -106922,10 +107450,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -107091,7 +107619,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107243,20 +107771,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &632 + commit_oid: &635 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: *625 - installation: *626 - organization: *627 - ref: &633 + enterprise: *628 + installation: *629 + organization: *630 + ref: &636 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: *628 + repository: *631 sender: *4 required: - action @@ -107420,7 +107948,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107661,12 +108189,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -107764,7 +108292,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107946,12 +108474,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -108117,7 +108645,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -108294,12 +108822,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -108399,7 +108927,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108579,9 +109107,9 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -108589,7 +109117,7 @@ webhooks: type: - string - 'null' - repository: *628 + repository: *631 sender: *4 required: - action @@ -108685,7 +109213,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108832,12 +109360,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -109099,10 +109627,10 @@ webhooks: - updated_at - author_association - body - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -109183,18 +109711,18 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *627 - pusher_type: &634 + organization: *630 + pusher_type: &637 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &635 + ref: &638 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109204,7 +109732,7 @@ webhooks: enum: - tag - branch - repository: *628 + repository: *631 sender: *4 required: - ref @@ -109286,10 +109814,10 @@ webhooks: type: string enum: - created - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109374,9 +109902,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109453,10 +109981,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109533,10 +110061,10 @@ webhooks: type: string enum: - updated - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109613,19 +110141,19 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - repository: *628 - organization: *627 + enterprise: *628 + installation: *629 + repository: *631 + organization: *630 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *221 + items: *224 old_property_values: type: array description: The old custom property values for the repository. - items: *221 + items: *224 required: - action - repository @@ -109701,18 +110229,18 @@ webhooks: title: delete event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - pusher_type: *634 - ref: *635 + enterprise: *628 + installation: *629 + organization: *630 + pusher_type: *637 + ref: *638 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *628 + repository: *631 sender: *4 required: - ref @@ -109796,11 +110324,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -109884,11 +110412,11 @@ webhooks: type: string enum: - auto_reopened - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -109972,11 +110500,11 @@ webhooks: type: string enum: - created - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110058,11 +110586,11 @@ webhooks: type: string enum: - dismissed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110144,11 +110672,11 @@ webhooks: type: string enum: - fixed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110231,11 +110759,11 @@ webhooks: type: string enum: - reintroduced - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110317,11 +110845,11 @@ webhooks: type: string enum: - reopened - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110398,9 +110926,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - key: &636 + enterprise: *628 + installation: *629 + key: &639 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -110438,8 +110966,8 @@ webhooks: - verified - created_at - read_only - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -110516,11 +111044,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - key: *636 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + key: *639 + organization: *630 + repository: *631 sender: *4 required: - action @@ -111092,12 +111620,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: &640 + workflow: &643 title: Workflow type: - object @@ -111835,13 +112363,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *415 + deployment: *418 pull_requests: type: array - items: *497 - repository: *628 - organization: *627 - installation: *626 + items: *500 + repository: *631 + organization: *630 + installation: *629 sender: *4 responses: '200': @@ -111912,7 +112440,7 @@ webhooks: type: string enum: - approved - approver: &637 + approver: &640 type: object properties: avatar_url: @@ -111955,11 +112483,11 @@ webhooks: type: string comment: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - reviewers: &638 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + reviewers: &641 type: array items: type: object @@ -112040,7 +112568,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &639 + workflow_job_run: &642 type: object properties: conclusion: @@ -112786,18 +113314,18 @@ webhooks: type: string enum: - rejected - approver: *637 + approver: *640 comment: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - reviewers: *638 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + reviewers: *641 sender: *4 since: type: string - workflow_job_run: *639 + workflow_job_run: *642 workflow_job_runs: type: array items: @@ -113514,13 +114042,13 @@ webhooks: type: string enum: - requested - enterprise: *625 + enterprise: *628 environment: type: string - installation: *626 - organization: *627 - repository: *628 - requestor: &645 + installation: *629 + organization: *630 + repository: *631 + requestor: &648 title: User type: - object @@ -115463,12 +115991,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Deployment Workflow Run type: @@ -116159,7 +116687,7 @@ webhooks: type: string enum: - answered - answer: &643 + answer: &646 type: object properties: author_association: @@ -116319,7 +116847,7 @@ webhooks: - created_at - updated_at - body - discussion: &641 + discussion: &644 title: Discussion description: A Discussion in a repository. type: object @@ -116615,7 +117143,7 @@ webhooks: - id labels: type: array - items: *460 + items: *463 required: - repository_url - category @@ -116637,10 +117165,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116767,11 +117295,11 @@ webhooks: - from required: - category - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116854,11 +117382,11 @@ webhooks: type: string enum: - closed - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116940,7 +117468,7 @@ webhooks: type: string enum: - created - comment: &642 + comment: &645 type: object properties: author_association: @@ -117100,11 +117628,11 @@ webhooks: - updated_at - body - reactions - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117187,12 +117715,12 @@ webhooks: type: string enum: - deleted - comment: *642 - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + comment: *645 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117287,12 +117815,12 @@ webhooks: - from required: - body - comment: *642 - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + comment: *645 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117376,11 +117904,11 @@ webhooks: type: string enum: - created - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117462,11 +117990,11 @@ webhooks: type: string enum: - deleted - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117566,11 +118094,11 @@ webhooks: type: string required: - from - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117652,10 +118180,10 @@ webhooks: type: string enum: - labeled - discussion: *641 - enterprise: *625 - installation: *626 - label: &644 + discussion: *644 + enterprise: *628 + installation: *629 + label: &647 title: Label type: object properties: @@ -117688,8 +118216,8 @@ webhooks: - color - default - description - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117772,11 +118300,11 @@ webhooks: type: string enum: - locked - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117858,11 +118386,11 @@ webhooks: type: string enum: - pinned - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117944,11 +118472,11 @@ webhooks: type: string enum: - reopened - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118033,16 +118561,16 @@ webhooks: changes: type: object properties: - new_discussion: *641 - new_repository: *628 + new_discussion: *644 + new_repository: *631 required: - new_discussion - new_repository - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118125,10 +118653,10 @@ webhooks: type: string enum: - unanswered - discussion: *641 - old_answer: *643 - organization: *627 - repository: *628 + discussion: *644 + old_answer: *646 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118210,12 +118738,12 @@ webhooks: type: string enum: - unlabeled - discussion: *641 - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118298,11 +118826,11 @@ webhooks: type: string enum: - unlocked - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118384,11 +118912,11 @@ webhooks: type: string enum: - unpinned - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118461,7 +118989,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *625 + enterprise: *628 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119139,9 +119667,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - forkee @@ -119287,9 +119815,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pages: description: The pages that were updated. type: array @@ -119327,7 +119855,7 @@ webhooks: - action - sha - html_url - repository: *628 + repository: *631 sender: *4 required: - pages @@ -119403,10 +119931,10 @@ webhooks: type: string enum: - created - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: &646 + organization: *630 + repositories: &649 description: An array of repository objects that the installation can access. type: array @@ -119432,8 +119960,8 @@ webhooks: - name - full_name - private - repository: *628 - requester: *645 + repository: *631 + requester: *648 sender: *4 required: - action @@ -119508,11 +120036,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -119589,11 +120117,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -119670,10 +120198,10 @@ webhooks: type: string enum: - added - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories_added: &647 + organization: *630 + repositories_added: &650 description: An array of repository objects, which were added to the installation. type: array @@ -119719,15 +120247,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *628 - repository_selection: &648 + repository: *631 + repository_selection: &651 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *645 + requester: *648 sender: *4 required: - action @@ -119806,10 +120334,10 @@ webhooks: type: string enum: - removed - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories_added: *647 + organization: *630 + repositories_added: *650 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -119836,9 +120364,9 @@ webhooks: - name - full_name - private - repository: *628 - repository_selection: *648 - requester: *645 + repository: *631 + repository_selection: *651 + requester: *648 sender: *4 required: - action @@ -119917,11 +120445,11 @@ webhooks: type: string enum: - suspend - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -120103,10 +120631,10 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 target_type: type: string @@ -120185,11 +120713,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -120437,8 +120965,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121285,7 +121813,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -121629,8 +122157,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -121710,7 +122238,7 @@ webhooks: type: string enum: - deleted - comment: &649 + comment: &652 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -121877,8 +122405,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122721,7 +123249,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -123067,8 +123595,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -123148,7 +123676,7 @@ webhooks: type: string enum: - edited - changes: &674 + changes: &677 description: The changes to the comment. type: object properties: @@ -123160,9 +123688,9 @@ webhooks: type: string required: - from - comment: *649 - enterprise: *625 - installation: *626 + comment: *652 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124008,7 +124536,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -124352,8 +124880,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -124435,10 +124963,10 @@ webhooks: type: string enum: - assigned - assignee: *645 - enterprise: *625 - installation: *626 - issue: &652 + assignee: *648 + enterprise: *628 + installation: *629 + issue: &655 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125280,7 +125808,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -125383,8 +125911,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -125464,8 +125992,8 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126312,7 +126840,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -126558,8 +127086,8 @@ webhooks: required: - state - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -126638,8 +127166,8 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127475,7 +128003,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -127577,8 +128105,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -127657,8 +128185,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128519,7 +129047,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -128600,7 +129128,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &650 + milestone: &653 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128743,8 +129271,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -128843,8 +129371,8 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129683,7 +130211,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -129789,9 +130317,9 @@ webhooks: - active_lock_reason - body - reactions - label: *644 - organization: *627 - repository: *628 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -129871,8 +130399,8 @@ webhooks: type: string enum: - labeled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130710,7 +131238,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -130816,9 +131344,9 @@ webhooks: - active_lock_reason - body - reactions - label: *644 - organization: *627 - repository: *628 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -130898,8 +131426,8 @@ webhooks: type: string enum: - locked - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131762,7 +132290,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -131845,8 +132373,8 @@ webhooks: format: uri user_view_type: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -131925,8 +132453,8 @@ webhooks: type: string enum: - milestoned - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132786,7 +133314,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -132866,9 +133394,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *650 - organization: *627 - repository: *628 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -134368,8 +134896,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135211,7 +135739,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -135313,8 +135841,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -135394,9 +135922,9 @@ webhooks: type: string enum: - pinned - enterprise: *625 - installation: *626 - issue: &651 + enterprise: *628 + installation: *629 + issue: &654 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136232,7 +136760,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -136334,8 +136862,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -136414,8 +136942,8 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137359,9 +137887,9 @@ webhooks: format: uri user_view_type: type: string - type: *181 - organization: *627 - repository: *628 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -138280,7 +138808,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -138862,11 +139390,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *625 - installation: *626 - issue: *651 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *654 + organization: *630 + repository: *631 sender: *4 required: - action @@ -138946,12 +139474,12 @@ webhooks: type: string enum: - typed - enterprise: *625 - installation: *626 - issue: *652 - type: *181 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139032,7 +139560,7 @@ webhooks: type: string enum: - unassigned - assignee: &677 + assignee: &680 title: User type: - object @@ -139104,11 +139632,11 @@ webhooks: required: - login - id - enterprise: *625 - installation: *626 - issue: *652 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139187,12 +139715,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *625 - installation: *626 - issue: *652 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139272,8 +139800,8 @@ webhooks: type: string enum: - unlocked - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140137,7 +140665,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -140217,8 +140745,8 @@ webhooks: format: uri user_view_type: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140298,11 +140826,11 @@ webhooks: type: string enum: - unpinned - enterprise: *625 - installation: *626 - issue: *651 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *654 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140381,12 +140909,12 @@ webhooks: type: string enum: - untyped - enterprise: *625 - installation: *626 - issue: *652 - type: *181 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140466,11 +140994,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140548,11 +141076,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140662,11 +141190,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140748,9 +141276,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: &653 + enterprise: *628 + installation: *629 + marketplace_purchase: &656 title: Marketplace Purchase type: object required: @@ -140838,8 +141366,8 @@ webhooks: type: integer unit_count: type: integer - organization: *627 - previous_marketplace_purchase: &654 + organization: *630 + previous_marketplace_purchase: &657 title: Marketplace Purchase type: object properties: @@ -140923,7 +141451,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141003,10 +141531,10 @@ webhooks: - changed effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141094,7 +141622,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141176,10 +141704,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141265,7 +141793,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141346,8 +141874,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 marketplace_purchase: title: Marketplace Purchase type: object @@ -141433,9 +141961,9 @@ webhooks: type: integer unit_count: type: integer - organization: *627 - previous_marketplace_purchase: *654 - repository: *628 + organization: *630 + previous_marketplace_purchase: *657 + repository: *631 sender: *4 required: - action @@ -141515,12 +142043,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 - previous_marketplace_purchase: *654 - repository: *628 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 + previous_marketplace_purchase: *657 + repository: *631 sender: *4 required: - action @@ -141622,11 +142150,11 @@ webhooks: type: string required: - to - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141728,11 +142256,11 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141811,11 +142339,11 @@ webhooks: type: string enum: - removed - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141893,11 +142421,11 @@ webhooks: type: string enum: - added - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141975,7 +142503,7 @@ webhooks: required: - login - id - team: &655 + team: &658 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142168,11 +142696,11 @@ webhooks: type: string enum: - removed - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142251,7 +142779,7 @@ webhooks: required: - login - id - team: *655 + team: *658 required: - action - scope @@ -142333,8 +142861,8 @@ webhooks: type: string enum: - checks_requested - installation: *626 - merge_group: &656 + installation: *629 + merge_group: &659 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142353,15 +142881,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *346 + head_commit: *349 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142447,10 +142975,10 @@ webhooks: - merged - invalidated - dequeued - installation: *626 - merge_group: *656 - organization: *627 - repository: *628 + installation: *629 + merge_group: *659 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142523,7 +143051,7 @@ webhooks: type: string enum: - deleted - enterprise: *625 + enterprise: *628 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142631,12 +143159,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *626 - organization: *627 + installation: *629 + organization: *630 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -142716,11 +143244,11 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142799,9 +143327,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - milestone: &657 + enterprise: *628 + installation: *629 + milestone: &660 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142943,8 +143471,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143023,11 +143551,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143137,11 +143665,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143221,11 +143749,11 @@ webhooks: type: string enum: - opened - enterprise: *625 - installation: *626 - milestone: *657 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *660 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143304,11 +143832,11 @@ webhooks: type: string enum: - blocked - blocked_user: *645 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + blocked_user: *648 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143387,11 +143915,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *645 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + blocked_user: *648 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143470,9 +143998,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - membership: &658 + enterprise: *628 + installation: *629 + membership: &661 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143566,8 +144094,8 @@ webhooks: - role - organization_url - user - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143645,11 +144173,11 @@ webhooks: type: string enum: - member_added - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143728,8 +144256,8 @@ webhooks: type: string enum: - member_invited - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -143851,10 +144379,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 - user: *645 + user: *648 required: - action - invitation @@ -143932,11 +144460,11 @@ webhooks: type: string enum: - member_removed - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -144023,11 +144551,11 @@ webhooks: properties: from: type: string - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -144103,9 +144631,9 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 package: description: Information about the package. type: object @@ -144628,7 +145156,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &659 + items: &662 title: Ruby Gems metadata type: object properties: @@ -144725,7 +145253,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -144801,9 +145329,9 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 package: description: Information about the package. type: object @@ -145165,7 +145693,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *659 + items: *662 source_url: type: string format: uri @@ -145236,7 +145764,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -145417,12 +145945,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *625 + enterprise: *628 id: type: integer - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - id @@ -145499,7 +146027,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &660 + personal_access_token_request: &663 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145649,10 +146177,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *625 - organization: *627 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145729,11 +146257,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *660 - enterprise: *625 - organization: *627 + personal_access_token_request: *663 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145809,11 +146337,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *660 - enterprise: *625 - organization: *627 + personal_access_token_request: *663 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145888,11 +146416,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *660 - organization: *627 - enterprise: *625 + personal_access_token_request: *663 + organization: *630 + enterprise: *628 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145997,7 +146525,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *661 + last_response: *664 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146029,8 +146557,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 zen: description: Random string of GitHub zen. @@ -146275,10 +146803,10 @@ webhooks: - from required: - note - enterprise: *625 - installation: *626 - organization: *627 - project_card: &662 + enterprise: *628 + installation: *629 + organization: *630 + project_card: &665 title: Project Card type: object properties: @@ -146401,7 +146929,7 @@ webhooks: - creator - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -146482,11 +147010,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project_card: *662 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_card: *665 + repository: *631 sender: *4 required: - action @@ -146566,9 +147094,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 project_card: title: Project Card type: object @@ -146698,7 +147226,7 @@ webhooks: repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -146792,11 +147320,11 @@ webhooks: - from required: - note - enterprise: *625 - installation: *626 - organization: *627 - project_card: *662 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_card: *665 + repository: *631 sender: *4 required: - action @@ -146890,9 +147418,9 @@ webhooks: - from required: - column_id - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 project_card: allOf: - title: Project Card @@ -147089,7 +147617,7 @@ webhooks: type: string required: - after_id - repository: *628 + repository: *631 sender: *4 required: - action @@ -147169,10 +147697,10 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - organization: *627 - project: &664 + enterprise: *628 + installation: *629 + organization: *630 + project: &667 title: Project type: object properties: @@ -147299,7 +147827,7 @@ webhooks: - creator - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -147379,10 +147907,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project_column: &663 + enterprise: *628 + installation: *629 + organization: *630 + project_column: &666 title: Project Column type: object properties: @@ -147422,7 +147950,7 @@ webhooks: - name - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -147501,14 +148029,14 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -147597,11 +148125,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 + repository: *631 sender: *4 required: - action @@ -147681,11 +148209,11 @@ webhooks: type: string enum: - moved - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 + repository: *631 sender: *4 required: - action @@ -147765,11 +148293,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -147849,14 +148377,14 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - project: *664 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -147957,11 +148485,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -148040,11 +148568,11 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -148125,9 +148653,9 @@ webhooks: type: string enum: - closed - installation: *626 - organization: *627 - projects_v2: &665 + installation: *629 + organization: *630 + projects_v2: &668 title: Projects v2 Project description: A projects v2 project type: object @@ -148275,9 +148803,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148358,9 +148886,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148481,9 +149009,9 @@ webhooks: type: string to: type: string - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148566,7 +149094,7 @@ webhooks: type: string enum: - archived - changes: &669 + changes: &672 type: object properties: archived_at: @@ -148582,9 +149110,9 @@ webhooks: - string - 'null' format: date-time - installation: *626 - organization: *627 - projects_v2_item: &666 + installation: *629 + organization: *630 + projects_v2_item: &669 title: Projects v2 Item description: An item belonging to a project type: object @@ -148723,9 +149251,9 @@ webhooks: - 'null' to: type: string - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148807,9 +149335,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148890,9 +149418,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148997,7 +149525,7 @@ webhooks: oneOf: - type: string - type: integer - - &667 + - &670 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149017,7 +149545,7 @@ webhooks: required: - id - name - - &668 + - &671 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149046,8 +149574,8 @@ webhooks: oneOf: - type: string - type: integer - - *667 - - *668 + - *670 + - *671 type: - 'null' - string @@ -149070,9 +149598,9 @@ webhooks: - 'null' required: - body - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149169,9 +149697,9 @@ webhooks: type: - string - 'null' - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149254,10 +149782,10 @@ webhooks: type: string enum: - restored - changes: *669 - installation: *626 - organization: *627 - projects_v2_item: *666 + changes: *672 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149339,9 +149867,9 @@ webhooks: type: string enum: - reopened - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -149422,9 +149950,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2_status_update: &670 + installation: *629 + organization: *630 + projects_v2_status_update: &673 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149559,9 +150087,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2_status_update: *670 + installation: *629 + organization: *630 + projects_v2_status_update: *673 sender: *4 required: - action @@ -149707,9 +150235,9 @@ webhooks: - string - 'null' format: date - installation: *626 - organization: *627 - projects_v2_status_update: *670 + installation: *629 + organization: *630 + projects_v2_status_update: *673 sender: *4 required: - action @@ -149780,10 +150308,10 @@ webhooks: title: public event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - repository @@ -149860,13 +150388,13 @@ webhooks: type: string enum: - assigned - assignee: *645 - enterprise: *625 - installation: *626 - number: &671 + assignee: *648 + enterprise: *628 + installation: *629 + number: &674 description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -152215,7 +152743,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -152297,11 +152825,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -154643,7 +155171,7 @@ webhooks: - draft reason: type: string - repository: *628 + repository: *631 sender: *4 required: - action @@ -154725,11 +155253,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -157071,7 +157599,7 @@ webhooks: - draft reason: type: string - repository: *628 + repository: *631 sender: *4 required: - action @@ -157153,13 +157681,13 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: &672 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: &675 allOf: - - *497 + - *500 - type: object properties: allow_auto_merge: @@ -157221,7 +157749,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *628 + repository: *631 sender: *4 required: - action @@ -157302,12 +157830,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -157387,11 +157915,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *625 - milestone: *395 - number: *671 - organization: *627 - pull_request: &673 + enterprise: *628 + milestone: *398 + number: *674 + organization: *630 + pull_request: &676 title: Pull Request type: object properties: @@ -159718,7 +160246,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -159797,11 +160325,11 @@ webhooks: type: string enum: - dequeued - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -162147,7 +162675,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *628 + repository: *631 sender: *4 required: - action @@ -162271,12 +162799,12 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -162356,11 +162884,11 @@ webhooks: type: string enum: - enqueued - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -164691,7 +165219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -164771,11 +165299,11 @@ webhooks: type: string enum: - labeled - enterprise: *625 - installation: *626 - label: *644 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + label: *647 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -167123,7 +167651,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -167204,10 +167732,10 @@ webhooks: type: string enum: - locked - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -169553,7 +170081,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -169633,12 +170161,12 @@ webhooks: type: string enum: - milestoned - enterprise: *625 - milestone: *395 - number: *671 - organization: *627 - pull_request: *673 - repository: *628 + enterprise: *628 + milestone: *398 + number: *674 + organization: *630 + pull_request: *676 + repository: *631 sender: *4 required: - action @@ -169717,12 +170245,12 @@ webhooks: type: string enum: - opened - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -169803,12 +170331,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -169888,12 +170416,12 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -170268,9 +170796,9 @@ webhooks: - start_side - side - reactions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -172500,7 +173028,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -172580,7 +173108,7 @@ webhooks: type: string enum: - deleted - comment: &675 + comment: &678 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172873,9 +173401,9 @@ webhooks: - start_side - side - reactions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -175093,7 +175621,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -175173,11 +175701,11 @@ webhooks: type: string enum: - edited - changes: *674 - comment: *675 - enterprise: *625 - installation: *626 - organization: *627 + changes: *677 + comment: *678 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -177398,7 +177926,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -177479,9 +178007,9 @@ webhooks: type: string enum: - dismissed - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -179714,7 +180242,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 review: description: The review that was affected. type: object @@ -179960,9 +180488,9 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -182076,8 +182604,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 - review: &676 + repository: *631 + review: &679 description: The review that was affected. type: object properties: @@ -182310,12 +182838,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -184662,7 +185190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_reviewer: title: User type: @@ -184748,12 +185276,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -187107,7 +187635,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187302,12 +187830,12 @@ webhooks: type: string enum: - review_requested - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -189656,7 +190184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_reviewer: title: User type: @@ -189743,12 +190271,12 @@ webhooks: type: string enum: - review_requested - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -192088,7 +192616,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192272,9 +192800,9 @@ webhooks: type: string enum: - submitted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -194510,8 +195038,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 - review: *676 + repository: *631 + review: *679 sender: *4 required: - action @@ -194591,9 +195119,9 @@ webhooks: type: string enum: - resolved - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -196724,7 +197252,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 sender: *4 thread: type: object @@ -197116,9 +197644,9 @@ webhooks: type: string enum: - unresolved - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -199232,7 +199760,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 sender: *4 thread: type: object @@ -199626,10 +200154,10 @@ webhooks: type: string before: type: string - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -201964,7 +202492,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -202046,11 +202574,11 @@ webhooks: type: string enum: - unassigned - assignee: *677 - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + assignee: *680 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -204400,7 +204928,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -204479,11 +205007,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *625 - installation: *626 - label: *644 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + label: *647 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -206822,7 +207350,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -206903,10 +207431,10 @@ webhooks: type: string enum: - unlocked - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -209235,7 +209763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -209438,7 +209966,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *625 + enterprise: *628 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209533,8 +210061,8 @@ webhooks: - url - author - committer - installation: *626 - organization: *627 + installation: *629 + organization: *630 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210122,9 +210650,9 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 registry_package: type: object properties: @@ -210601,7 +211129,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *659 + items: *662 summary: type: string tag_name: @@ -210657,7 +211185,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -210735,9 +211263,9 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 registry_package: type: object properties: @@ -211049,7 +211577,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *659 + items: *662 summary: type: string tag_name: @@ -211099,7 +211627,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -211176,10 +211704,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - release: &678 + enterprise: *628 + installation: *629 + organization: *630 + release: &681 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211495,7 +212023,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *628 + repository: *631 sender: *4 required: - action @@ -211572,11 +212100,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -211693,11 +212221,11 @@ webhooks: type: boolean required: - to - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -211775,9 +212303,9 @@ webhooks: type: string enum: - prereleased - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212098,7 +212626,7 @@ webhooks: - string - 'null' format: uri - repository: *628 + repository: *631 sender: *4 required: - action @@ -212174,10 +212702,10 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - release: &679 + enterprise: *628 + installation: *629 + organization: *630 + release: &682 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212495,7 +213023,7 @@ webhooks: - string - 'null' format: uri - repository: *628 + repository: *631 sender: *4 required: - action @@ -212571,11 +213099,11 @@ webhooks: type: string enum: - released - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -212651,11 +213179,11 @@ webhooks: type: string enum: - unpublished - enterprise: *625 - installation: *626 - organization: *627 - release: *679 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *682 + repository: *631 sender: *4 required: - action @@ -212731,11 +213259,11 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_advisory: *557 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_advisory: *560 sender: *4 required: - action @@ -212811,11 +213339,11 @@ webhooks: type: string enum: - reported - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_advisory: *557 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_advisory: *560 sender: *4 required: - action @@ -212891,10 +213419,10 @@ webhooks: type: string enum: - archived - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -212971,10 +213499,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213052,10 +213580,10 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213140,10 +213668,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213258,10 +213786,10 @@ webhooks: - 'null' items: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213333,10 +213861,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 status: type: string @@ -213417,10 +213945,10 @@ webhooks: type: string enum: - privatized - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213497,10 +214025,10 @@ webhooks: type: string enum: - publicized - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213594,10 +214122,10 @@ webhooks: - name required: - repository - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213677,11 +214205,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 sender: *4 required: - action @@ -213759,11 +214287,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 sender: *4 required: - action @@ -213841,11 +214369,11 @@ webhooks: type: string enum: - edited - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 changes: type: object properties: @@ -213864,16 +214392,16 @@ webhooks: properties: added: type: array - items: *223 + items: *226 deleted: type: array - items: *223 + items: *226 updated: type: array items: type: object properties: - condition: *223 + condition: *226 changes: type: object properties: @@ -213906,16 +214434,16 @@ webhooks: properties: added: type: array - items: *228 + items: *231 deleted: type: array - items: *228 + items: *231 updated: type: array items: type: object properties: - rule: *228 + rule: *231 changes: type: object properties: @@ -214152,10 +214680,10 @@ webhooks: - from required: - owner - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214233,10 +214761,10 @@ webhooks: type: string enum: - unarchived - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214314,7 +214842,7 @@ webhooks: type: string enum: - create - alert: &680 + alert: &683 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214438,10 +214966,10 @@ webhooks: type: string enum: - open - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214651,10 +215179,10 @@ webhooks: type: string enum: - dismissed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214732,11 +215260,11 @@ webhooks: type: string enum: - reopen - alert: *680 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214938,10 +215466,10 @@ webhooks: enum: - fixed - open - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215019,7 +215547,7 @@ webhooks: type: string enum: - created - alert: &681 + alert: &684 type: object properties: number: *52 @@ -215129,10 +215657,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215213,11 +215741,11 @@ webhooks: type: string enum: - created - alert: *681 - installation: *626 - location: *682 - organization: *627 - repository: *628 + alert: *684 + installation: *629 + location: *685 + organization: *630 + repository: *631 sender: *4 required: - location @@ -215455,11 +215983,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215537,11 +216065,11 @@ webhooks: type: string enum: - reopened - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215619,11 +216147,11 @@ webhooks: type: string enum: - resolved - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215701,11 +216229,11 @@ webhooks: type: string enum: - validated - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215835,10 +216363,10 @@ webhooks: - organization - enterprise - - repository: *628 - enterprise: *625 - installation: *626 - organization: *627 + repository: *631 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -215916,11 +216444,11 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - security_advisory: &683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + security_advisory: &686 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216106,11 +216634,11 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - security_advisory: *683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + security_advisory: *686 sender: *4 required: - action @@ -216183,10 +216711,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216372,11 +216900,11 @@ webhooks: from: type: object properties: - security_and_analysis: *222 - enterprise: *625 - installation: *626 - organization: *627 - repository: *274 + security_and_analysis: *225 + enterprise: *628 + installation: *629 + organization: *630 + repository: *277 sender: *4 required: - changes @@ -216454,12 +216982,12 @@ webhooks: type: string enum: - cancelled - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: &684 + sponsorship: &687 type: object properties: created_at: @@ -216764,12 +217292,12 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - sponsorship @@ -216857,12 +217385,12 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -216939,17 +217467,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &685 + effective_date: &688 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: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - sponsorship @@ -217023,7 +217551,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &686 + changes: &689 type: object properties: tier: @@ -217067,13 +217595,13 @@ webhooks: - from required: - tier - effective_date: *685 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + effective_date: *688 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -217150,13 +217678,13 @@ webhooks: type: string enum: - tier_changed - changes: *686 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + changes: *689 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -217230,10 +217758,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217317,10 +217845,10 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217754,15 +218282,15 @@ webhooks: type: - string - 'null' - enterprise: *625 + enterprise: *628 id: description: The unique identifier of the status. type: integer - installation: *626 + installation: *629 name: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 sha: description: The Commit SHA. @@ -217878,9 +218406,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -217970,9 +218498,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218062,9 +218590,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218154,9 +218682,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218233,12 +218761,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - team: &687 + team: &690 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218431,9 +218959,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -218903,7 +219431,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -218979,9 +219507,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -219451,7 +219979,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -219528,9 +220056,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -220000,7 +220528,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -220144,9 +220672,9 @@ webhooks: - from required: - permissions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -220616,7 +221144,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - changes @@ -220694,9 +221222,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -221166,7 +221694,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -221242,10 +221770,10 @@ webhooks: type: string enum: - started - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -221318,17 +221846,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *625 + enterprise: *628 inputs: type: - object - 'null' additionalProperties: true - installation: *626 - organization: *627 + installation: *629 + organization: *630 ref: type: string - repository: *628 + repository: *631 sender: *4 workflow: type: string @@ -221410,10 +221938,10 @@ webhooks: type: string enum: - completed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: allOf: @@ -221669,7 +222197,7 @@ webhooks: type: string required: - conclusion - deployment: *415 + deployment: *418 required: - action - repository @@ -221748,10 +222276,10 @@ webhooks: type: string enum: - in_progress - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: allOf: @@ -222033,7 +222561,7 @@ webhooks: required: - status - steps - deployment: *415 + deployment: *418 required: - action - repository @@ -222112,10 +222640,10 @@ webhooks: type: string enum: - queued - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: type: object @@ -222261,7 +222789,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *418 required: - action - repository @@ -222340,10 +222868,10 @@ webhooks: type: string enum: - waiting - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: type: object @@ -222490,7 +223018,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *418 required: - action - repository @@ -222570,12 +223098,12 @@ webhooks: type: string enum: - completed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object @@ -223594,12 +224122,12 @@ webhooks: type: string enum: - in_progress - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object @@ -224603,12 +225131,12 @@ webhooks: type: string enum: - requested - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index c3829fea76..63296abdc4 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -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": [ @@ -74814,62 +74818,3012 @@ } } } - } - }, - "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", + "null" + ] + }, + { + "type": [ + "integer", + "null" + ] + }, + { + "type": [ + "array", + "null" + ], + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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" @@ -74877,56 +77831,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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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" } } } @@ -74937,20 +77867,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": [ { @@ -74963,25 +77893,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" } } }, @@ -143414,7 +146391,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", @@ -144698,7 +147675,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", @@ -145994,7 +148971,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", @@ -147948,7 +150925,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", @@ -149257,7 +152234,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", @@ -150549,7 +153526,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", @@ -326591,6 +329568,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -326637,42 +329620,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" ] @@ -326945,6 +329899,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -326991,42 +329951,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" ] @@ -481271,7 +484202,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", @@ -482992,7 +485923,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", @@ -484066,7 +486997,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", @@ -485352,7 +488283,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", @@ -487325,7 +490256,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", @@ -488414,7 +491345,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", @@ -489696,7 +492627,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", @@ -1241519,7 +1244450,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", @@ -1244743,7 +1247674,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", @@ -1247967,7 +1250898,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", @@ -1248967,7 +1251898,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", @@ -1249795,7 +1252726,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", @@ -1250626,7 +1253557,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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 92f407acc9..00d35eda9e 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -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: @@ -897,7 +899,7 @@ paths: - subscriptions_url - type - url - type: &241 + type: &244 type: string description: The type of credit the user is receiving. enum: @@ -1063,7 +1065,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &559 + - &562 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1659,7 +1661,7 @@ paths: schema: type: integer default: 30 - - &158 + - &162 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 @@ -1675,7 +1677,7 @@ paths: application/json: schema: type: array - items: &159 + items: &163 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1771,7 +1773,7 @@ paths: - installation_id - repository_id examples: - default: &160 + default: &164 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1906,7 +1908,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &165 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2041,7 +2043,7 @@ paths: - request - response examples: - default: &162 + default: &166 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7801,7 +7803,7 @@ paths: description: Response content: application/json: - schema: &135 + schema: &138 type: array description: A list of default code security configurations items: @@ -7817,7 +7819,7 @@ paths: default configuration: *40 examples: - default: &136 + default: &139 value: - default_for_new_repos: public configuration: @@ -8125,7 +8127,7 @@ paths: - *39 - *42 responses: - '204': &137 + '204': &140 description: A header with no content is returned. '400': *14 '403': *27 @@ -8252,7 +8254,7 @@ paths: default: value: default_for_new_repos: all - configuration: &134 + configuration: &137 value: id: 1325 target_type: organization @@ -8335,7 +8337,7 @@ paths: application/json: schema: type: array - items: &138 + items: &141 type: object description: Repositories associated with a code security configuration and attachment status @@ -8680,7 +8682,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &139 + repository: &142 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8774,7 +8776,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &143 + - &147 name: state in: query description: |- @@ -8783,7 +8785,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &144 + - &148 name: severity in: query description: |- @@ -8792,7 +8794,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &145 + - &149 name: ecosystem in: query description: |- @@ -8801,14 +8803,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &146 + - &150 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 - - &147 + - &151 name: epss_percentage in: query description: |- @@ -8820,7 +8822,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 - - &148 + - &152 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8830,7 +8832,7 @@ paths: enum: - development - runtime - - &149 + - &153 name: sort in: query description: |- @@ -8848,7 +8850,7 @@ paths: - *46 - *37 - *38 - - &150 + - &154 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8861,7 +8863,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &151 + - &155 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8881,7 +8883,7 @@ paths: application/json: schema: type: array - items: &152 + items: &156 type: object description: A Dependabot alert. properties: @@ -8951,7 +8953,7 @@ paths: - direct - transitive - - security_advisory: &407 + security_advisory: &410 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9180,7 +9182,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &130 + dismissed_at: &133 type: - string - 'null' @@ -9211,7 +9213,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &129 + fixed_at: &132 type: - string - 'null' @@ -9219,7 +9221,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &408 + auto_dismissed_at: &411 type: - string - 'null' @@ -9246,7 +9248,7 @@ paths: - repository additionalProperties: false examples: - default: &153 + default: &157 value: - number: 2 state: dismissed @@ -9593,7 +9595,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &232 + - &235 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9604,7 +9606,7 @@ paths: enum: - open - resolved - - &233 + - &236 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9614,7 +9616,7 @@ paths: required: false schema: type: string - - &234 + - &237 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9623,7 +9625,7 @@ paths: required: false schema: type: string - - &235 + - &238 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. @@ -9639,7 +9641,7 @@ paths: - *17 - *37 - *38 - - &236 + - &239 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9648,7 +9650,7 @@ paths: required: false schema: type: string - - &237 + - &240 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9657,7 +9659,7 @@ paths: schema: type: boolean default: false - - &238 + - &241 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9673,7 +9675,7 @@ paths: application/json: schema: type: array - items: &239 + items: &242 type: object properties: number: *52 @@ -9689,14 +9691,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &551 + state: &554 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: &552 + resolution: &555 type: - string - 'null' @@ -9801,7 +9803,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &240 + default: &243 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10254,7 +10256,7 @@ paths: milestone: anyOf: - type: 'null' - - &395 + - &398 title: Milestone description: A collection of related issues and pull requests. @@ -10426,7 +10428,7 @@ paths: timeline_url: type: string format: uri - type: &181 + type: &184 title: Issue Type description: The type of issue. type: @@ -10571,7 +10573,7 @@ paths: - author_association - created_at - updated_at - comment: &454 + comment: &457 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11146,7 +11148,7 @@ paths: url: type: string format: uri - user: &582 + user: &585 title: Public User description: Public User type: object @@ -13041,7 +13043,7 @@ paths: - closed - all default: open - - &184 + - &187 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13092,7 +13094,7 @@ paths: type: array items: *74 examples: - default: &185 + default: &188 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14503,14 +14505,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &263 + - &266 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &264 + - &267 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14581,7 +14583,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &275 + '301': &278 description: Moved permanently content: application/json: @@ -14603,7 +14605,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &483 + - &486 name: all description: If `true`, show notifications marked as read. in: query @@ -14611,7 +14613,7 @@ paths: schema: type: boolean default: false - - &484 + - &487 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14621,7 +14623,7 @@ paths: type: boolean default: false - *64 - - &485 + - &488 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: @@ -14992,7 +14994,7 @@ paths: type: boolean examples: - false - security_and_analysis: &222 + security_and_analysis: &225 type: - object - 'null' @@ -15147,7 +15149,7 @@ paths: - url - subscription_url examples: - default: &486 + default: &489 value: - id: '1' repository: @@ -15696,7 +15698,7 @@ paths: application/json: schema: type: array - items: &142 + items: &145 title: Organization Simple description: A GitHub organization. type: object @@ -15768,7 +15770,7 @@ paths: - avatar_url - description examples: - default: &599 + default: &602 value: - login: github id: 1 @@ -15920,7 +15922,7 @@ paths: repositoryName: github/example '400': *14 '403': *27 - '500': &140 + '500': &143 description: Internal Error content: application/json: @@ -16744,7 +16746,7 @@ paths: type: integer repository_cache_usages: type: array - items: &280 + items: &283 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17642,7 +17644,7 @@ paths: - all - local_only - selected - selected_actions_url: &286 + selected_actions_url: &289 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` @@ -17732,7 +17734,7 @@ paths: type: array items: *59 examples: - default: &593 + default: &596 value: total_count: 1 repositories: @@ -18060,7 +18062,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &293 type: object properties: default_workflow_permissions: &108 @@ -18111,7 +18113,7 @@ paths: required: false content: application/json: - schema: &291 + schema: &294 type: object properties: default_workflow_permissions: *108 @@ -18604,7 +18606,7 @@ paths: type: array items: *115 examples: - default: &585 + default: &588 value: total_count: 1 repositories: @@ -19251,7 +19253,7 @@ paths: application/json: schema: type: array - items: &292 + items: &295 title: Runner Application description: Runner Application type: object @@ -19276,7 +19278,7 @@ paths: - download_url - filename examples: - default: &293 + default: &296 value: - os: osx architecture: x64 @@ -19362,7 +19364,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &294 + '201': &297 description: Response content: application/json: @@ -19477,7 +19479,7 @@ paths: - token - expires_at examples: - default: &295 + default: &298 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -19516,7 +19518,7 @@ paths: application/json: schema: *119 examples: - default: &296 + default: &299 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -19550,7 +19552,7 @@ paths: application/json: schema: *117 examples: - default: &297 + default: &300 value: id: 23 name: MBP @@ -19775,7 +19777,7 @@ paths: - *90 - *116 responses: - '200': &298 + '200': &301 description: Response content: application/json: @@ -19832,7 +19834,7 @@ paths: parameters: - *90 - *116 - - &299 + - &302 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19964,7 +19966,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &314 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19999,7 +20001,7 @@ paths: - key_id - key examples: - default: &312 + default: &315 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -20412,7 +20414,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *90 - - &285 + - &288 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)." @@ -20952,7 +20954,7 @@ paths: bundle_url: type: string examples: - default: &325 + default: &328 value: attestations: - bundle: @@ -21071,7 +21073,7 @@ paths: type: array items: *4 examples: - default: &186 + default: &189 value: - login: octocat id: 1 @@ -21172,6 +21174,706 @@ 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: + - *90 + - *19 + - *17 + - *46 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &129 + 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: &130 + 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: &146 + 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 + - 'null' + 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 + examples: + - https://github.com/orgs/rails/teams/core + members_url: + type: string + repositories_url: + type: string + format: uri + parent: + anyOf: + - type: 'null' + - &201 + 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 + examples: + - 1 + node_id: + type: string + examples: + - MDQ6VGVhbTE= + url: + description: URL for the team + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1 + members_url: + type: string + examples: + - https://api.github.com/organizations/1/team/1/members{/member} + name: + description: Name of the team + type: string + examples: + - Justice League + description: + description: Description of the team + type: + - string + - 'null' + examples: + - A great team. + permission: + description: Permission that the team will have + for its repositories + type: string + examples: + - admin + privacy: + description: The level of privacy this team should + have + type: string + examples: + - closed + notification_setting: + description: The notification setting the team has + set + type: string + examples: + - notifications_enabled + html_url: + type: string + format: uri + examples: + - https://github.com/orgs/rails/teams/core + repositories_url: + type: string + format: uri + examples: + - https://api.github.com/organizations/1/team/1/repos + slug: + type: string + examples: + - justice-league + ldap_dn: + description: Distinguished Name (DN) that team maps + to within LDAP environment + type: string + examples: + - uid=example,ou=users,dc=github,dc=com + required: + - id + - node_id + - url + - members_url + - name + - description + - permission + - html_url + - repositories_url + - slug + 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 + - 'null' + format: date-time + state: *129 + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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: *57 + '404': *6 + '503': *62 + 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: + - *90 + 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 + - 'null' + format: uri + 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: *130 + examples: + default: &131 + 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': *62 + 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: + - *90 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *62 + 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: + - *90 + - 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 + - 'null' + format: uri + state: *129 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *130 + examples: + default: *131 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *62 + 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: + - *90 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *62 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -21189,17 +21891,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *90 - - &350 + - &353 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: &131 + schema: &134 type: string description: The name of the tool used to generate the code scanning analysis. - - &351 + - &354 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 @@ -21207,7 +21909,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &132 + schema: &135 type: - string - 'null' @@ -21223,7 +21925,7 @@ paths: be returned. in: query required: false - schema: &353 + schema: &356 type: string description: State of a code scanning alert. enum: @@ -21246,7 +21948,7 @@ paths: be returned. in: query required: false - schema: &354 + schema: &357 type: string description: Severity of a code scanning alert. enum: @@ -21272,13 +21974,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &355 + instances_url: &358 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &133 + state: &136 type: - string - 'null' @@ -21288,13 +21990,13 @@ paths: - dismissed - fixed - - fixed_at: *129 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: &356 + dismissed_at: *133 + dismissed_reason: &359 type: - string - 'null' @@ -21305,14 +22007,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &357 + dismissed_comment: &360 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &358 + rule: &361 type: object properties: id: @@ -21373,26 +22075,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &359 + tool: &362 type: object properties: - name: *131 + name: *134 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *132 - most_recent_instance: &360 + guid: *135 + most_recent_instance: &363 type: object properties: - ref: &352 + ref: &355 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &370 + analysis_key: &373 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -21403,13 +22105,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &371 + category: &374 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: *133 + state: *136 commit_sha: type: string message: @@ -22034,7 +22736,7 @@ paths: application/json: schema: *40 examples: - default: *134 + default: *137 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22062,9 +22764,9 @@ paths: description: Response content: application/json: - schema: *135 + schema: *138 examples: - default: *136 + default: *139 '304': *35 '403': *27 '404': *6 @@ -22113,7 +22815,7 @@ paths: - 32 - 91 responses: - '204': *137 + '204': *140 '400': *14 '403': *27 '404': *6 @@ -22148,7 +22850,7 @@ paths: application/json: schema: *40 examples: - default: *134 + default: *137 '304': *35 '403': *27 '404': *6 @@ -22410,7 +23112,7 @@ paths: - *90 - *42 responses: - '204': *137 + '204': *140 '400': *14 '403': *27 '404': *6 @@ -22548,7 +23250,7 @@ paths: default: value: default_for_new_repos: all - configuration: *134 + configuration: *137 '403': *27 '404': *6 x-github: @@ -22601,13 +23303,13 @@ paths: application/json: schema: type: array - items: *138 + items: *141 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *139 + repository: *142 '403': *27 '404': *6 x-github: @@ -22647,7 +23349,7 @@ paths: type: integer codespaces: type: array - items: &187 + items: &190 type: object title: Codespace description: A codespace. @@ -22682,7 +23384,7 @@ paths: machine: anyOf: - type: 'null' - - &383 + - &386 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22969,7 +23671,7 @@ paths: - pulls_url - recent_folders examples: - default: &188 + default: &191 value: total_count: 3 codespaces: @@ -23379,7 +24081,7 @@ paths: stop_url: https://api.github.com/user/codespaces/monalisa-octocat-hello-world-f8adfad99a/stop recent_folders: [] '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -23445,7 +24147,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23500,7 +24202,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23554,7 +24256,7 @@ paths: description: Users are neither members nor collaborators of this organization. '404': *6 '422': *15 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -23593,7 +24295,7 @@ paths: type: integer secrets: type: array - items: &141 + items: &144 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23634,7 +24336,7 @@ paths: - updated_at - visibility examples: - default: &384 + default: &387 value: total_count: 2 secrets: @@ -23672,7 +24374,7 @@ paths: description: Response content: application/json: - schema: &385 + schema: &388 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23707,7 +24409,7 @@ paths: - key_id - key examples: - default: &386 + default: &389 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23737,9 +24439,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *144 examples: - default: &388 + default: &391 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -24151,7 +24853,7 @@ paths: cli: enabled public_code_suggestions: block plan_type: business - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24206,7 +24908,7 @@ paths: currently being billed. seats: type: array - items: &190 + items: &193 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -24216,168 +24918,12 @@ paths: organization: anyOf: - type: 'null' - - *142 + - *145 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &180 - 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 - - 'null' - 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 - examples: - - https://github.com/orgs/rails/teams/core - members_url: - type: string - repositories_url: - type: string - format: uri - parent: - anyOf: - - type: 'null' - - &198 - 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 - examples: - - 1 - node_id: - type: string - examples: - - MDQ6VGVhbTE= - url: - description: URL for the team - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1 - members_url: - type: string - examples: - - https://api.github.com/organizations/1/team/1/members{/member} - name: - description: Name of the team - type: string - examples: - - Justice League - description: - description: Description of the team - type: - - string - - 'null' - examples: - - A great team. - permission: - description: Permission that the team will have - for its repositories - type: string - examples: - - admin - privacy: - description: The level of privacy this team - should have - type: string - examples: - - closed - notification_setting: - description: The notification setting the team - has set - type: string - examples: - - notifications_enabled - html_url: - type: string - format: uri - examples: - - https://github.com/orgs/rails/teams/core - repositories_url: - type: string - format: uri - examples: - - https://api.github.com/organizations/1/team/1/repos - slug: - type: string - examples: - - justice-league - ldap_dn: - description: Distinguished Name (DN) that team - maps to within LDAP environment - type: string - examples: - - uid=example,ou=users,dc=github,dc=com - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - required: - - id - - node_id - - url - - members_url - - name - - description - - permission - - html_url - - repositories_url - - slug - - parent + - *146 - title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -24553,7 +25099,7 @@ paths: site_admin: false headers: Link: *57 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24628,7 +25174,7 @@ paths: default: value: seats_created: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24706,7 +25252,7 @@ paths: default: value: seats_cancelled: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24785,7 +25331,7 @@ paths: default: value: seats_created: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24863,7 +25409,7 @@ paths: default: value: seats_cancelled: 5 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -24934,7 +25480,7 @@ paths: application/json: schema: type: array - items: &245 + items: &248 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -25249,7 +25795,7 @@ paths: - date additionalProperties: true examples: - default: &246 + default: &249 value: - date: '2024-06-24' total_active_users: 24 @@ -25348,10 +25894,10 @@ paths: custom_model_training_date: '2024-02-01' total_pr_summaries_created: 10 total_engaged_users: 4 - '500': *140 + '500': *143 '403': *27 '404': *6 - '422': &247 + '422': &250 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -25379,18 +25925,18 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *90 - - *143 - - *144 - - *145 - - *146 - *147 - *148 - *149 + - *150 + - *151 + - *152 + - *153 - *46 - *37 - *38 - - *150 - - *151 + - *154 + - *155 - *17 responses: '200': @@ -25399,9 +25945,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *153 + default: *157 '304': *35 '400': *14 '403': *27 @@ -25445,7 +25991,7 @@ paths: type: integer secrets: type: array - items: &154 + items: &158 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -25524,7 +26070,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &414 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -25543,7 +26089,7 @@ paths: - key_id - key examples: - default: &412 + default: &415 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -25573,7 +26119,7 @@ paths: description: Response content: application/json: - schema: *154 + schema: *158 examples: default: value: @@ -25870,7 +26416,7 @@ paths: application/json: schema: type: array - items: &200 + items: &203 title: Package description: A software package type: object @@ -25941,7 +26487,7 @@ paths: - created_at - updated_at examples: - default: &201 + default: &204 value: - id: 197 name: hello_docker @@ -26108,7 +26654,7 @@ paths: application/json: schema: type: array - items: &177 + items: &181 title: Organization Invitation description: Organization Invitation type: object @@ -26162,7 +26708,7 @@ paths: - invitation_teams_url - node_id examples: - default: &178 + default: &182 value: - id: 1 login: monalisa @@ -26229,7 +26775,7 @@ paths: application/json: schema: type: array - items: &155 + items: &159 title: Org Hook description: Org Hook type: object @@ -26414,9 +26960,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: - default: &156 + default: &160 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -26464,7 +27010,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *90 - - &157 + - &161 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. @@ -26477,9 +27023,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: - default: *156 + default: *160 '404': *6 x-github: githubCloudOnly: false @@ -26507,7 +27053,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *90 - - *157 + - *161 requestBody: required: false content: @@ -26553,7 +27099,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *159 examples: default: value: @@ -26595,7 +27141,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *90 - - *157 + - *161 responses: '204': description: Response @@ -26623,7 +27169,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *90 - - *157 + - *161 responses: '200': description: Response @@ -26654,7 +27200,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *90 - - *157 + - *161 requestBody: required: false content: @@ -26705,9 +27251,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *17 - - *158 + - *162 responses: '200': description: Response @@ -26715,9 +27261,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *160 + default: *164 '400': *14 '422': *15 x-github: @@ -26743,16 +27289,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *16 responses: '200': description: Response content: application/json: - schema: *161 + schema: *165 examples: - default: *162 + default: *166 '400': *14 '422': *15 x-github: @@ -26778,7 +27324,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *90 - - *157 + - *161 - *16 responses: '202': *45 @@ -26808,7 +27354,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *90 - - *157 + - *161 responses: '204': description: Response @@ -26831,7 +27377,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *90 - - &167 + - &171 name: actor_type in: path description: The type of the actor @@ -26844,14 +27390,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &168 + - &172 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &163 + - &167 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`.' @@ -26859,7 +27405,7 @@ paths: required: true schema: type: string - - &164 + - &168 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) @@ -26954,12 +27500,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *90 - - *163 - - *164 + - *167 + - *168 - *19 - *17 - *46 - - &173 + - &177 name: sort description: The property to sort the results by. in: query @@ -27039,14 +27585,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *90 - - *163 - - *164 + - *167 + - *168 responses: '200': description: Response content: application/json: - schema: &165 + schema: &169 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -27062,7 +27608,7 @@ paths: type: integer format: int64 examples: - default: &166 + default: &170 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -27083,23 +27629,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *90 - - &169 + - &173 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *163 - - *164 + - *167 + - *168 responses: '200': description: Response content: application/json: - schema: *165 + schema: *169 examples: - default: *166 + default: *170 x-github: enabledForGitHubApps: true category: orgs @@ -27118,18 +27664,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *90 - - *163 - - *164 - *167 - *168 + - *171 + - *172 responses: '200': description: Response content: application/json: - schema: *165 + schema: *169 examples: - default: *166 + default: *170 x-github: enabledForGitHubApps: true category: orgs @@ -27147,9 +27693,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *90 - - *163 - - *164 - - &170 + - *167 + - *168 + - &174 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -27162,7 +27708,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &175 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -27178,7 +27724,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &176 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -27215,18 +27761,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *90 - - *169 - - *163 - - *164 - - *170 + - *173 + - *167 + - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *171 + schema: *175 examples: - default: *172 + default: *176 x-github: enabledForGitHubApps: true category: orgs @@ -27244,19 +27790,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *90 + - *171 + - *172 - *167 - *168 - - *163 - - *164 - - *170 + - *174 responses: '200': description: Response content: application/json: - schema: *171 + schema: *175 examples: - default: *172 + default: *176 x-github: enabledForGitHubApps: true category: orgs @@ -27274,13 +27820,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *90 - - *169 - - *163 - - *164 + - *173 + - *167 + - *168 - *19 - *17 - *46 - - *173 + - *177 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -27364,7 +27910,7 @@ paths: application/json: schema: *20 examples: - default: &450 + default: &453 value: id: 1 account: @@ -27530,12 +28076,12 @@ paths: application/json: schema: anyOf: - - &175 + - &179 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &174 + limit: &178 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -27563,7 +28109,7 @@ paths: properties: {} additionalProperties: false examples: - default: &176 + default: &180 value: limit: collaborators_only origin: organization @@ -27592,13 +28138,13 @@ paths: required: true content: application/json: - schema: &451 + schema: &454 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *174 + limit: *178 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -27623,9 +28169,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: - default: *176 + default: *180 '422': *15 x-github: githubCloudOnly: false @@ -27701,9 +28247,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 '404': *6 @@ -27780,7 +28326,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *181 examples: default: value: @@ -27835,7 +28381,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *90 - - &179 + - &183 name: invitation_id description: The unique identifier of the invitation. in: path @@ -27866,7 +28412,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *90 - - *179 + - *183 - *17 - *19 responses: @@ -27876,9 +28422,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: &199 + default: &202 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -27921,7 +28467,7 @@ paths: application/json: schema: type: array - items: *181 + items: *184 examples: default: value: @@ -28009,9 +28555,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *184 examples: - default: &182 + default: &185 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -28044,7 +28590,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *90 - - &183 + - &186 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -28100,9 +28646,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *184 examples: - default: *182 + default: *185 '404': *6 '422': *7 x-github: @@ -28127,7 +28673,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *90 - - *183 + - *186 responses: '204': description: Response @@ -28190,7 +28736,7 @@ paths: - closed - all default: open - - *184 + - *187 - name: type description: Can be the name of an issue type. in: query @@ -28221,7 +28767,7 @@ paths: type: array items: *74 examples: - default: *185 + default: *188 headers: Link: *57 '404': *6 @@ -28279,7 +28825,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '422': *15 @@ -28375,11 +28921,11 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: - default: *188 + default: *191 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28404,7 +28950,7 @@ paths: parameters: - *90 - *128 - - &189 + - &192 name: codespace_name in: path required: true @@ -28414,7 +28960,7 @@ paths: responses: '202': *45 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28439,15 +28985,15 @@ paths: parameters: - *90 - *128 - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: &382 + default: &385 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -28589,7 +29135,7 @@ paths: recent_folders: [] template: '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28627,7 +29173,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *190 + schema: *193 examples: default: value: @@ -28670,7 +29216,7 @@ paths: members_url: https://api.github.com/teams/1/members{/member} repositories_url: https://api.github.com/teams/1/repos parent: - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -28702,7 +29248,7 @@ paths: description: Response content: application/json: - schema: &191 + schema: &194 title: Org Membership description: Org Membership type: object @@ -28735,7 +29281,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *142 + organization: *145 user: anyOf: - type: 'null' @@ -28755,7 +29301,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &192 + response-if-user-has-an-active-admin-membership-with-organization: &195 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -28852,9 +29398,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: - response-if-user-already-had-membership-with-organization: *192 + response-if-user-already-had-membership-with-organization: *195 '422': *15 '403': *27 x-github: @@ -28923,7 +29469,7 @@ paths: application/json: schema: type: array - items: &193 + items: &196 title: Migration description: A migration. type: object @@ -29261,7 +29807,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -29440,7 +29986,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *90 - - &194 + - &197 name: migration_id description: The unique identifier of the migration. in: path @@ -29468,7 +30014,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -29638,7 +30184,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *90 - - *194 + - *197 responses: '302': description: Response @@ -29660,7 +30206,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *90 - - *194 + - *197 responses: '204': description: Response @@ -29684,8 +30230,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *90 - - *194 - - &598 + - *197 + - &601 name: repo_name description: repo_name parameter in: path @@ -29713,7 +30259,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *90 - - *194 + - *197 - *17 - *19 responses: @@ -29725,7 +30271,7 @@ paths: type: array items: *115 examples: - default: &206 + default: &209 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -29878,7 +30424,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &197 + items: &200 title: Organization Role description: Organization roles type: object @@ -30028,7 +30574,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *90 - - &195 + - &198 name: team_slug description: The slug of the team name. in: path @@ -30060,8 +30606,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *90 - - *195 - - &196 + - *198 + - &199 name: role_id description: The unique identifier of the role. in: path @@ -30097,8 +30643,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *90 - - *195 - - *196 + - *198 + - *199 responses: '204': description: Response @@ -30151,7 +30697,7 @@ paths: parameters: - *90 - *128 - - *196 + - *199 responses: '204': description: Response @@ -30183,7 +30729,7 @@ paths: parameters: - *90 - *128 - - *196 + - *199 responses: '204': description: Response @@ -30212,13 +30758,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *90 - - *196 + - *199 responses: '200': description: Response content: application/json: - schema: *197 + schema: *200 examples: default: value: @@ -30269,7 +30815,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *90 - - *196 + - *199 - *17 - *19 responses: @@ -30348,7 +30894,7 @@ paths: parent: anyOf: - type: 'null' - - *198 + - *201 required: - id - node_id @@ -30362,7 +30908,7 @@ paths: - slug - parent examples: - default: *199 + default: *202 headers: Link: *57 '404': @@ -30392,7 +30938,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *90 - - *196 + - *199 - *17 - *19 responses: @@ -30421,7 +30967,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *198 + items: *201 name: type: - string @@ -30538,7 +31084,7 @@ paths: - type - url examples: - default: *186 + default: *189 headers: Link: *57 '404': @@ -30586,7 +31132,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -30728,7 +31274,7 @@ paths: - nuget - container - *90 - - &600 + - &603 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -30764,12 +31310,12 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *201 + default: *204 '403': *27 '401': *23 - '400': &602 + '400': &605 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -30791,7 +31337,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &202 + - &205 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 @@ -30809,7 +31355,7 @@ paths: - docker - nuget - container - - &203 + - &206 name: package_name description: The name of the package. in: path @@ -30822,7 +31368,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *203 examples: default: value: @@ -30874,8 +31420,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 responses: '204': @@ -30908,8 +31454,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 - name: token description: package token @@ -30942,8 +31488,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: - - *202 - - *203 + - *205 + - *206 - *90 - *19 - *17 @@ -30964,7 +31510,7 @@ paths: application/json: schema: type: array - items: &204 + items: &207 title: Package Version description: A version of a software package type: object @@ -31099,10 +31645,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *202 - - *203 + - *205 + - *206 - *90 - - &205 + - &208 name: package_version_id description: Unique identifier of the package version. in: path @@ -31114,7 +31660,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -31150,10 +31696,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *202 - - *203 - - *90 - *205 + - *206 + - *90 + - *208 responses: '204': description: Response @@ -31185,10 +31731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *202 - - *203 - - *90 - *205 + - *206 + - *90 + - *208 responses: '204': description: Response @@ -31218,7 +31764,7 @@ paths: - *90 - *17 - *19 - - &207 + - &210 name: sort description: The property by which to sort the results. in: query @@ -31229,7 +31775,7 @@ paths: - created_at default: created_at - *46 - - &208 + - &211 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -31241,7 +31787,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &209 + - &212 name: repository description: The name of the repository to use to filter the results. in: query @@ -31250,7 +31796,7 @@ paths: type: string examples: - Hello-World - - &210 + - &213 name: permission description: The permission to use to filter the results. in: query @@ -31259,7 +31805,7 @@ paths: type: string examples: - issues_read - - &211 + - &214 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) @@ -31269,7 +31815,7 @@ paths: schema: type: string format: date-time - - &212 + - &215 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) @@ -31279,7 +31825,7 @@ paths: schema: type: string format: date-time - - &213 + - &216 name: token_id description: The ID of the token in: query @@ -31292,7 +31838,7 @@ paths: examples: - token_id[]=1,token_id[]=2 responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31489,7 +32035,7 @@ paths: action: deny reason: Access is too broad. responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31551,11 +32097,11 @@ paths: action: deny reason: This request is denied because the access is too broad. responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31587,7 +32133,7 @@ paths: - *17 - *19 responses: - '500': *140 + '500': *143 '404': *6 '403': *27 '200': @@ -31598,7 +32144,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -31624,16 +32170,16 @@ paths: - *90 - *17 - *19 - - *207 - - *46 - - *208 - - *209 - *210 + - *46 - *211 - *212 - *213 + - *214 + - *215 + - *216 responses: - '500': *140 + '500': *143 '422': *15 '404': *6 '403': *27 @@ -31817,7 +32363,7 @@ paths: - 1296269 - 1296280 responses: - '500': *140 + '500': *143 '404': *6 '202': *45 '403': *27 @@ -31870,9 +32416,9 @@ paths: value: action: revoke responses: - '500': *140 + '500': *143 '404': *6 - '204': *137 + '204': *140 '403': *27 '422': *15 x-github: @@ -31904,7 +32450,7 @@ paths: - *17 - *19 responses: - '500': *140 + '500': *143 '404': *6 '403': *27 '200': @@ -31915,7 +32461,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -31959,7 +32505,7 @@ paths: type: integer configurations: type: array - items: &214 + items: &217 title: Organization private registry description: Private registry configuration for an organization type: object @@ -32171,7 +32717,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &215 + org-private-registry-with-selected-visibility: &218 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -32273,9 +32819,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *214 + schema: *217 examples: - default: *215 + default: *218 '404': *6 x-github: githubCloudOnly: false @@ -32426,7 +32972,7 @@ paths: application/json: schema: type: array - items: &216 + items: &219 title: Project description: Projects are a way to organize columns and cards of work. @@ -32608,7 +33154,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -32646,7 +33192,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &272 + '410': &275 description: Gone content: application/json: @@ -32681,7 +33227,7 @@ paths: application/json: schema: type: array - items: &217 + items: &220 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -32757,7 +33303,7 @@ paths: - property_name - value_type examples: - default: &218 + default: &221 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32816,7 +33362,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *217 + items: *220 minItems: 1 maxItems: 100 required: @@ -32846,9 +33392,9 @@ paths: application/json: schema: type: array - items: *217 + items: *220 examples: - default: *218 + default: *221 '403': *27 '404': *6 x-github: @@ -32870,7 +33416,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *90 - - &219 + - &222 name: custom_property_name description: The custom property name in: path @@ -32882,9 +33428,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: - default: &220 + default: &223 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -32919,7 +33465,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *90 - - *219 + - *222 requestBody: required: true content: @@ -32997,9 +33543,9 @@ paths: description: Response content: application/json: - schema: *217 + schema: *220 examples: - default: *220 + default: *223 '403': *27 '404': *6 x-github: @@ -33023,9 +33569,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *90 - - *219 + - *222 responses: - '204': *137 + '204': *140 '403': *27 '404': *6 x-github: @@ -33087,7 +33633,7 @@ paths: - octocat/Hello-World properties: type: array - items: &221 + items: &224 title: Custom Property Value description: Custom property name and associated value type: object @@ -33177,7 +33723,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *221 + items: *224 required: - repository_names - properties @@ -33230,7 +33776,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -33369,7 +33915,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -33572,7 +34118,7 @@ paths: description: Response content: application/json: - schema: &274 + schema: &277 title: Full Repository description: Full Repository type: object @@ -34037,7 +34583,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &401 + code_of_conduct: &404 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -34067,7 +34613,7 @@ paths: - key - name - html_url - security_and_analysis: *222 + security_and_analysis: *225 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -34151,7 +34697,7 @@ paths: - network_count - subscribers_count examples: - default: &276 + default: &279 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -34672,7 +35218,7 @@ paths: - *90 - *17 - *19 - - &536 + - &539 name: targets description: | A comma-separated list of rule targets to filter by. @@ -34691,7 +35237,7 @@ paths: application/json: schema: type: array - items: &229 + items: &232 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -34726,7 +35272,7 @@ paths: source: type: string description: The name of the source - enforcement: &225 + enforcement: &228 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -34739,7 +35285,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &226 + items: &229 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -34805,7 +35351,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &223 + - &226 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -34829,7 +35375,7 @@ paths: match. items: type: string - - &227 + - &230 title: Organization ruleset conditions type: object description: |- @@ -34843,7 +35389,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -34877,7 +35423,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -34899,7 +35445,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *223 + - *226 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -34912,7 +35458,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &224 + items: &227 title: Repository ruleset property targeting definition type: object @@ -34945,7 +35491,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *224 + items: *227 required: - repository_property type: @@ -34953,12 +35499,12 @@ paths: - object rules: type: array - items: &228 + items: &231 title: Repository Rule type: object description: A repository rule. oneOf: - - &514 + - &517 title: creation description: Only allow users with bypass permission to create matching refs. @@ -34970,7 +35516,7 @@ paths: type: string enum: - creation - - &515 + - &518 title: update description: Only allow users with bypass permission to update matching refs. @@ -34991,7 +35537,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &517 + - &520 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -35003,7 +35549,7 @@ paths: type: string enum: - deletion - - &518 + - &521 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -35015,7 +35561,7 @@ paths: type: string enum: - required_linear_history - - &519 + - &522 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -35093,7 +35639,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &520 + - &523 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -35117,7 +35663,7 @@ paths: type: string required: - required_deployment_environments - - &521 + - &524 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -35129,7 +35675,7 @@ paths: type: string enum: - required_signatures - - &522 + - &525 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -35158,11 +35704,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 @@ -35193,7 +35737,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &523 + - &526 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -35241,7 +35785,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &524 + - &527 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -35253,7 +35797,7 @@ paths: type: string enum: - non_fast_forward - - &525 + - &528 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -35289,115 +35833,115 @@ paths: required: - operator - pattern - - &526 - title: commit_author_email_pattern - description: Parameters to be used for the commit_author_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - commit_author_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &527 - title: committer_email_pattern - description: Parameters to be used for the committer_email_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - committer_email_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - - &528 - title: branch_name_pattern - description: Parameters to be used for the branch_name_pattern - rule - type: object - required: - - type - properties: - type: - type: string - enum: - - branch_name_pattern - parameters: - type: object - properties: - name: - type: string - description: How this rule will appear to users. - negate: - type: boolean - description: If true, the rule will fail if the - pattern matches. - operator: - type: string - description: The operator to use for matching. - enum: - - starts_with - - ends_with - - contains - - regex - pattern: - type: string - description: The pattern to match with. - required: - - operator - - pattern - &529 + title: commit_author_email_pattern + description: Parameters to be used for the commit_author_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - commit_author_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &530 + title: committer_email_pattern + description: Parameters to be used for the committer_email_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - committer_email_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &531 + title: branch_name_pattern + description: Parameters to be used for the branch_name_pattern + rule + type: object + required: + - type + properties: + type: + type: string + enum: + - branch_name_pattern + parameters: + type: object + properties: + name: + type: string + description: How this rule will appear to users. + negate: + type: boolean + description: If true, the rule will fail if the + pattern matches. + operator: + type: string + description: The operator to use for matching. + enum: + - starts_with + - ends_with + - contains + - regex + pattern: + type: string + description: The pattern to match with. + required: + - operator + - pattern + - &532 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -35433,7 +35977,7 @@ paths: required: - operator - pattern - - &530 + - &533 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -35458,7 +36002,7 @@ paths: type: string required: - restricted_file_paths - - &531 + - &534 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -35482,7 +36026,7 @@ paths: maximum: 256 required: - max_file_path_length - - &532 + - &535 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -35505,7 +36049,7 @@ paths: type: string required: - restricted_file_extensions - - &533 + - &536 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -35530,7 +36074,7 @@ paths: maximum: 100 required: - max_file_size - - &534 + - &537 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -35580,7 +36124,7 @@ paths: - repository_id required: - workflows - - &535 + - &538 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -35677,7 +36221,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 post: summary: Create an organization repository ruleset description: Create a repository ruleset for an organization. @@ -35714,16 +36258,16 @@ paths: - push - repository default: branch - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *227 + items: *229 + conditions: *230 rules: type: array description: An array of rules within the ruleset. - items: *228 + items: *231 required: - name - enforcement @@ -35761,9 +36305,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &230 + default: &233 value: id: 21 name: super cool ruleset @@ -35803,7 +36347,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 "/orgs/{org}/rulesets/rule-suites": get: summary: List organization rule suites @@ -35818,7 +36362,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *90 - - &537 + - &540 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 @@ -35833,7 +36377,7 @@ paths: in: query schema: type: string - - &538 + - &541 name: time_period description: |- The time period to filter by. @@ -35849,14 +36393,14 @@ paths: - week - month default: day - - &539 + - &542 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 - - &540 + - &543 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -35876,7 +36420,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &544 title: Rule Suites description: Response type: array @@ -35932,7 +36476,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &542 + default: &545 value: - id: 21 actor_id: 12 @@ -35956,7 +36500,7 @@ paths: result: pass evaluation_result: fail '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35976,7 +36520,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *90 - - &543 + - &546 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -35992,7 +36536,7 @@ paths: description: Response content: application/json: - schema: &544 + schema: &547 title: Rule Suite description: Response type: object @@ -36099,7 +36643,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &545 + default: &548 value: id: 21 actor_id: 12 @@ -36134,7 +36678,7 @@ paths: result: fail rule_type: commit_message_pattern '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36172,11 +36716,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 - '500': *140 + '500': *143 put: summary: Update an organization repository ruleset description: Update a ruleset for an organization. @@ -36218,16 +36762,16 @@ paths: - tag - push - repository - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *227 + items: *229 + conditions: *230 rules: description: An array of rules within the ruleset. type: array - items: *228 + items: *231 examples: default: value: @@ -36262,11 +36806,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *230 + default: *233 '404': *6 - '500': *140 + '500': *143 delete: summary: Delete an organization repository ruleset description: Delete a ruleset for an organization. @@ -36293,7 +36837,7 @@ paths: '204': description: Response '404': *6 - '500': *140 + '500': *143 "/orgs/{org}/rulesets/{ruleset_id}/history": get: summary: Get organization ruleset history @@ -36321,7 +36865,7 @@ paths: application/json: schema: type: array - items: &231 + items: &234 title: Ruleset version type: object description: The historical version of a ruleset @@ -36345,7 +36889,7 @@ paths: type: string format: date-time examples: - default: &547 + default: &550 value: - version_id: 3 actor: @@ -36363,7 +36907,7 @@ paths: type: User updated_at: '2024-08-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36398,9 +36942,9 @@ paths: description: Response content: application/json: - schema: &548 + schema: &551 allOf: - - *231 + - *234 - type: object required: - state @@ -36447,7 +36991,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36470,14 +37014,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *90 - - *232 - - *233 - - *234 - *235 + - *236 + - *237 + - *238 - *46 - *19 - *17 - - &549 + - &552 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 @@ -36487,7 +37031,7 @@ paths: required: false schema: type: string - - &550 + - &553 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 @@ -36497,9 +37041,9 @@ paths: required: false schema: type: string - - *236 - - *237 - - *238 + - *239 + - *240 + - *241 responses: '200': description: Response @@ -36507,9 +37051,9 @@ paths: application/json: schema: type: array - items: *239 + items: *242 examples: - default: *240 + default: *243 headers: Link: *57 '404': *6 @@ -36579,7 +37123,7 @@ paths: application/json: schema: type: array - items: &557 + items: &560 description: A repository security advisory. type: object properties: @@ -36823,7 +37367,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 credits_detailed: type: - array @@ -36834,7 +37378,7 @@ paths: type: object properties: user: *4 - type: *241 + type: *244 state: type: string description: The state of the user's acceptance of the @@ -36860,7 +37404,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *180 + items: *146 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -36898,7 +37442,7 @@ paths: - private_fork additionalProperties: false examples: - default: &558 + default: &561 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -37285,9 +37829,9 @@ paths: application/json: schema: type: array - items: *198 + items: *201 examples: - default: *199 + default: *202 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37311,7 +37855,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -37337,7 +37881,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -37372,7 +37916,7 @@ paths: description: Response content: application/json: - schema: &616 + schema: &619 type: object properties: total_minutes_used: @@ -37442,7 +37986,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &617 + default: &620 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -37478,7 +38022,7 @@ paths: description: Response content: application/json: - schema: &618 + schema: &621 type: object properties: total_gigabytes_bandwidth_used: @@ -37496,7 +38040,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &619 + default: &622 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -37528,7 +38072,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &623 type: object properties: days_left_in_billing_cycle: @@ -37546,7 +38090,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &621 + default: &624 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -37588,7 +38132,7 @@ paths: type: integer network_configurations: type: array - items: &242 + items: &245 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -37713,9 +38257,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: &243 + default: &246 value: id: 123456789ABCDEF name: My network configuration @@ -37744,7 +38288,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - &244 + - &247 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -37756,9 +38300,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: *243 + default: *246 headers: Link: *57 x-github: @@ -37780,7 +38324,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *90 - - *244 + - *247 requestBody: required: true content: @@ -37819,9 +38363,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *245 examples: - default: *243 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37841,7 +38385,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *90 - - *244 + - *247 responses: '204': description: Response @@ -37954,7 +38498,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *90 - - *195 + - *198 - 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`). @@ -37986,13 +38530,13 @@ paths: application/json: schema: type: array - items: *245 + items: *248 examples: - default: *246 - '500': *140 + default: *249 + '500': *143 '403': *27 '404': *6 - '422': *247 + '422': *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38020,9 +38564,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 headers: Link: *57 '403': *27 @@ -38116,7 +38660,7 @@ paths: description: Response content: application/json: - schema: &248 + schema: &251 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -38190,7 +38734,7 @@ paths: parent: anyOf: - type: 'null' - - *198 + - *201 members_count: type: integer examples: @@ -38496,7 +39040,7 @@ paths: - repos_count - organization examples: - default: &249 + default: &252 value: id: 1 node_id: MDQ6VGVhbTE= @@ -38567,15 +39111,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *90 - - *195 + - *198 responses: '200': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 x-github: githubCloudOnly: false @@ -38597,7 +39141,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *90 - - *195 + - *198 requestBody: required: false content: @@ -38660,16 +39204,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '201': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 '422': *15 '403': *27 @@ -38695,7 +39239,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *90 - - *195 + - *198 responses: '204': description: Response @@ -38722,7 +39266,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *90 - - *195 + - *198 - *46 - *17 - *19 @@ -38739,7 +39283,7 @@ paths: application/json: schema: type: array - items: &250 + items: &253 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -38850,7 +39394,7 @@ paths: - updated_at - url examples: - default: &572 + default: &575 value: - author: login: octocat @@ -38925,7 +39469,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *90 - - *195 + - *198 requestBody: required: true content: @@ -38959,9 +39503,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: &251 + default: &254 value: author: login: octocat @@ -39034,8 +39578,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *90 - - *195 - - &252 + - *198 + - &255 name: discussion_number description: The number that identifies the discussion. in: path @@ -39047,9 +39591,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39072,8 +39616,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: false content: @@ -39096,9 +39640,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: &573 + default: &576 value: author: login: octocat @@ -39169,8 +39713,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 responses: '204': description: Response @@ -39197,8 +39741,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *90 - - *195 - - *252 + - *198 + - *255 - *46 - *17 - *19 @@ -39209,7 +39753,7 @@ paths: application/json: schema: type: array - items: &253 + items: &256 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -39289,7 +39833,7 @@ paths: - updated_at - url examples: - default: &574 + default: &577 value: - author: login: octocat @@ -39358,8 +39902,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: true content: @@ -39381,9 +39925,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: &254 + default: &257 value: author: login: octocat @@ -39450,9 +39994,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *90 - - *195 - - *252 - - &255 + - *198 + - *255 + - &258 name: comment_number description: The number that identifies the comment. in: path @@ -39464,9 +40008,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39489,9 +40033,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 requestBody: required: true content: @@ -39513,9 +40057,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: &575 + default: &578 value: author: login: octocat @@ -39580,9 +40124,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 responses: '204': description: Response @@ -39609,9 +40153,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 - 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. @@ -39637,7 +40181,7 @@ paths: application/json: schema: type: array - items: &256 + items: &259 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -39681,7 +40225,7 @@ paths: - content - created_at examples: - default: &258 + default: &261 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39732,9 +40276,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *90 - - *195 - - *252 + - *198 - *255 + - *258 requestBody: required: true content: @@ -39767,9 +40311,9 @@ paths: team discussion comment content: application/json: - schema: *256 + schema: *259 examples: - default: &257 + default: &260 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -39798,9 +40342,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39824,10 +40368,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *90 - - *195 - - *252 + - *198 - *255 - - &259 + - *258 + - &262 name: reaction_id description: The unique identifier of the reaction. in: path @@ -39860,8 +40404,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 - 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. @@ -39887,9 +40431,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -39916,8 +40460,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *90 - - *195 - - *252 + - *198 + - *255 requestBody: required: true content: @@ -39949,16 +40493,16 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39982,9 +40526,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *90 - - *195 - - *252 - - *259 + - *198 + - *255 + - *262 responses: '204': description: Response @@ -40009,7 +40553,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40019,9 +40563,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 x-github: @@ -40044,7 +40588,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *90 - - *195 + - *198 - name: role description: Filters members returned by their role in the team. in: query @@ -40067,7 +40611,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -40098,14 +40642,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 responses: '200': description: Response content: application/json: - schema: &260 + schema: &263 title: Team Membership description: Team Membership type: object @@ -40133,7 +40677,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &576 + response-if-user-is-a-team-maintainer: &579 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -40170,7 +40714,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 requestBody: required: false @@ -40196,9 +40740,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-users-membership-with-team-is-now-pending: &577 + response-if-users-membership-with-team-is-now-pending: &580 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -40234,7 +40778,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *90 - - *195 + - *198 - *128 responses: '204': @@ -40261,7 +40805,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40271,7 +40815,7 @@ paths: application/json: schema: type: array - items: &261 + items: &264 title: Team Project description: A team's access to a project. type: object @@ -40340,7 +40884,7 @@ paths: - updated_at - permissions examples: - default: &578 + default: &581 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40404,8 +40948,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *90 - - *195 - - &262 + - *198 + - &265 name: project_id description: The unique identifier of the project. in: path @@ -40417,9 +40961,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: &579 + default: &582 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -40482,8 +41026,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *90 - - *195 - - *262 + - *198 + - *265 requestBody: required: false content: @@ -40551,8 +41095,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *90 - - *195 - - *262 + - *198 + - *265 responses: '204': description: Response @@ -40580,7 +41124,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -40592,7 +41136,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -40622,15 +41166,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &580 + schema: &583 title: Team Repository description: A team's access to a repository. type: object @@ -41272,9 +41816,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 requestBody: required: false content: @@ -41320,9 +41864,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *90 - - *195 - - *263 - - *264 + - *198 + - *266 + - *267 responses: '204': description: Response @@ -41347,7 +41891,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *90 - - *195 + - *198 - *17 - *19 responses: @@ -41357,9 +41901,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - response-if-child-teams-exist: &581 + response-if-child-teams-exist: &584 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -41486,7 +42030,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &265 + - &268 name: card_id description: The unique identifier of the card. in: path @@ -41498,7 +42042,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &269 title: Project Card description: Project cards represent a scope of work. type: object @@ -41573,7 +42117,7 @@ paths: - created_at - updated_at examples: - default: &267 + default: &270 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -41629,7 +42173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *265 + - *268 requestBody: required: false content: @@ -41659,9 +42203,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 '304': *35 '403': *27 '401': *23 @@ -41688,7 +42232,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *265 + - *268 responses: '204': description: Response @@ -41732,7 +42276,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *265 + - *268 requestBody: required: true content: @@ -41845,7 +42389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &268 + - &271 name: column_id description: The unique identifier of the column. in: path @@ -41857,7 +42401,7 @@ paths: description: Response content: application/json: - schema: &269 + schema: &272 title: Project Column description: Project columns contain cards of work. type: object @@ -41911,7 +42455,7 @@ paths: - created_at - updated_at examples: - default: &270 + default: &273 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -41946,7 +42490,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *268 + - *271 requestBody: required: true content: @@ -41971,9 +42515,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: - default: *270 + default: *273 '304': *35 '403': *27 '401': *23 @@ -41998,7 +42542,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *268 + - *271 responses: '204': description: Response @@ -42027,7 +42571,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *268 + - *271 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -42048,7 +42592,7 @@ paths: application/json: schema: type: array - items: *266 + items: *269 examples: default: value: @@ -42107,7 +42651,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *268 + - *271 requestBody: required: true content: @@ -42151,9 +42695,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *269 examples: - default: *267 + default: *270 '304': *35 '403': *27 '401': *23 @@ -42209,7 +42753,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *268 + - *271 requestBody: required: true content: @@ -42270,15 +42814,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *262 + - *265 responses: '200': description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: &271 + default: &274 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -42335,7 +42879,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *262 + - *265 requestBody: required: false content: @@ -42384,9 +42928,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *271 + default: *274 '404': description: Not Found if the authenticated user does not have access to the project @@ -42407,7 +42951,7 @@ paths: items: type: string '401': *23 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -42430,7 +42974,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *262 + - *265 responses: '204': description: Delete Success @@ -42451,7 +42995,7 @@ paths: items: type: string '401': *23 - '410': *272 + '410': *275 '404': *6 x-github: githubCloudOnly: false @@ -42475,7 +43019,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *262 + - *265 - 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 @@ -42502,7 +43046,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -42532,7 +43076,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *262 + - *265 - *128 requestBody: required: false @@ -42587,7 +43131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *262 + - *265 - *128 responses: '204': @@ -42619,7 +43163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *262 + - *265 - *128 responses: '200': @@ -42690,7 +43234,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *262 + - *265 - *17 - *19 responses: @@ -42700,7 +43244,7 @@ paths: application/json: schema: type: array - items: *269 + items: *272 examples: default: value: @@ -42738,7 +43282,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *262 + - *265 requestBody: required: true content: @@ -42762,7 +43306,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *272 examples: default: value: @@ -42826,7 +43370,7 @@ paths: resources: type: object properties: - core: &273 + core: &276 title: Rate Limit type: object properties: @@ -42843,20 +43387,20 @@ paths: - remaining - reset - used - graphql: *273 - search: *273 - code_search: *273 - source_import: *273 - integration_manifest: *273 - code_scanning_upload: *273 - actions_runner_registration: *273 - scim: *273 - dependency_snapshots: *273 - code_scanning_autofix: *273 + graphql: *276 + search: *276 + code_search: *276 + source_import: *276 + integration_manifest: *276 + code_scanning_upload: *276 + actions_runner_registration: *276 + scim: *276 + dependency_snapshots: *276 + code_scanning_autofix: *276 required: - core - search - rate: *273 + rate: *276 required: - rate - resources @@ -42960,14 +43504,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *274 + schema: *277 examples: default-response: summary: Default response @@ -43468,7 +44012,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *275 + '301': *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43486,8 +44030,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -43732,10 +44276,10 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 - '307': &277 + default: *279 + '307': &280 description: Temporary Redirect content: application/json: @@ -43764,8 +44308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -43787,7 +44331,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *277 + '307': *280 '404': *6 x-github: githubCloudOnly: false @@ -43810,11 +44354,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - - &303 + - &306 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -43837,7 +44381,7 @@ paths: type: integer artifacts: type: array - items: &278 + items: &281 title: Artifact description: An artifact type: object @@ -43932,7 +44476,7 @@ paths: - expires_at - updated_at examples: - default: &304 + default: &307 value: total_count: 2 artifacts: @@ -43993,9 +44537,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *263 - - *264 - - &279 + - *266 + - *267 + - &282 name: artifact_id description: The unique identifier of the artifact. in: path @@ -44007,7 +44551,7 @@ paths: description: Response content: application/json: - schema: *278 + schema: *281 examples: default: value: @@ -44045,9 +44589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *263 - - *264 - - *279 + - *266 + - *267 + - *282 responses: '204': description: Response @@ -44071,9 +44615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *263 - - *264 - - *279 + - *266 + - *267 + - *282 - name: archive_format in: path required: true @@ -44087,7 +44631,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': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44110,14 +44654,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *280 + schema: *283 examples: default: value: @@ -44143,11 +44687,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - - &281 + - &284 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 @@ -44181,7 +44725,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &285 title: Repository actions caches description: Repository actions caches type: object @@ -44231,7 +44775,7 @@ paths: - total_count - actions_caches examples: - default: &283 + default: &286 value: total_count: 1 actions_caches: @@ -44263,23 +44807,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: - - *263 - - *264 + - *266 + - *267 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *281 + - *284 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *283 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44299,8 +44843,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: - - *263 - - *264 + - *266 + - *267 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -44331,9 +44875,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *263 - - *264 - - &284 + - *266 + - *267 + - &287 name: job_id description: The unique identifier of the job. in: path @@ -44345,7 +44889,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &310 title: Job description: Information of a job execution in a workflow run type: object @@ -44692,9 +45236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *263 - - *264 - - *284 + - *266 + - *267 + - *287 responses: '302': description: Response @@ -44722,9 +45266,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *263 - - *264 - - *284 + - *266 + - *267 + - *287 requestBody: required: false content: @@ -44770,8 +45314,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Status response @@ -44821,8 +45365,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -44885,8 +45429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -44904,7 +45448,7 @@ paths: type: integer secrets: type: array - items: &309 + items: &312 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -44925,7 +45469,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &313 value: total_count: 2 secrets: @@ -44958,9 +45502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *263 - - *264 - - *285 + - *266 + - *267 + - *288 - *19 responses: '200': @@ -44977,7 +45521,7 @@ paths: type: integer variables: type: array - items: &313 + items: &316 title: Actions Variable type: object properties: @@ -45011,7 +45555,7 @@ paths: - created_at - updated_at examples: - default: &314 + default: &317 value: total_count: 2 variables: @@ -45044,8 +45588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45054,11 +45598,11 @@ paths: schema: type: object properties: - enabled: &287 + enabled: &290 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *104 - selected_actions_url: *286 + selected_actions_url: *289 required: - enabled examples: @@ -45085,8 +45629,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -45097,7 +45641,7 @@ paths: schema: type: object properties: - enabled: *287 + enabled: *290 allowed_actions: *104 required: - enabled @@ -45127,14 +45671,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &288 + schema: &291 type: object properties: access_level: @@ -45151,7 +45695,7 @@ paths: required: - access_level examples: - default: &289 + default: &292 value: access_level: organization x-github: @@ -45175,15 +45719,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: application/json: - schema: *288 + schema: *291 examples: - default: *289 + default: *292 responses: '204': description: Response @@ -45207,8 +45751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45235,8 +45779,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -45268,14 +45812,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *290 + schema: *293 examples: default: *110 x-github: @@ -45298,8 +45842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Success response @@ -45310,7 +45854,7 @@ paths: required: true content: application/json: - schema: *291 + schema: *294 examples: default: *110 x-github: @@ -45339,8 +45883,8 @@ paths: in: query schema: type: string - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -45384,8 +45928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -45393,9 +45937,9 @@ paths: application/json: schema: type: array - items: *292 + items: *295 examples: - default: *293 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45417,8 +45961,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -45461,7 +46005,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *294 + '201': *297 '404': *6 '422': *7 '409': *44 @@ -45492,8 +46036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -45501,7 +46045,7 @@ paths: application/json: schema: *119 examples: - default: *295 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45529,8 +46073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -45538,7 +46082,7 @@ paths: application/json: schema: *119 examples: - default: *296 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45560,8 +46104,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '200': @@ -45570,7 +46114,7 @@ paths: application/json: schema: *117 examples: - default: *297 + default: *300 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45591,8 +46135,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '204': @@ -45618,8 +46162,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: '200': *121 @@ -45644,8 +46188,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: - - *263 - - *264 + - *266 + - *267 - *116 requestBody: required: true @@ -45694,8 +46238,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: - - *263 - - *264 + - *266 + - *267 - *116 requestBody: required: true @@ -45745,11 +46289,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: - - *263 - - *264 + - *266 + - *267 - *116 responses: - '200': *298 + '200': *301 '404': *6 x-github: githubCloudOnly: false @@ -45776,10 +46320,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: - - *263 - - *264 + - *266 + - *267 - *116 - - *299 + - *302 responses: '200': *121 '404': *6 @@ -45807,9 +46351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *263 - - *264 - - &317 + - *266 + - *267 + - &320 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. @@ -45817,7 +46361,7 @@ paths: required: false schema: type: string - - &318 + - &321 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -45825,7 +46369,7 @@ paths: required: false schema: type: string - - &319 + - &322 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -45834,7 +46378,7 @@ paths: required: false schema: type: string - - &320 + - &323 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 @@ -45861,7 +46405,7 @@ paths: - pending - *17 - *19 - - &321 + - &324 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)." @@ -45870,7 +46414,7 @@ paths: schema: type: string format: date-time - - &300 + - &303 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -45879,13 +46423,13 @@ paths: schema: type: boolean default: false - - &322 + - &325 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &323 + - &326 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -45908,7 +46452,7 @@ paths: type: integer workflow_runs: type: array - items: &301 + items: &304 title: Workflow Run description: An invocation of a workflow type: object @@ -46025,7 +46569,7 @@ paths: type: - array - 'null' - items: &342 + items: &345 title: Pull Request Minimal type: object properties: @@ -46152,7 +46696,7 @@ paths: head_commit: anyOf: - type: 'null' - - &346 + - &349 title: Simple Commit description: A commit. type: object @@ -46267,7 +46811,7 @@ paths: - workflow_url - pull_requests examples: - default: &324 + default: &327 value: total_count: 1 workflow_runs: @@ -46503,24 +47047,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *263 - - *264 - - &302 + - *266 + - *267 + - &305 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: &305 + default: &308 value: id: 30433642 name: Build @@ -46761,9 +47305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '204': description: Response @@ -46786,9 +47330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -46916,9 +47460,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: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '201': description: Response @@ -46951,12 +47495,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 - *17 - *19 - - *303 + - *306 responses: '200': description: Response @@ -46972,9 +47516,9 @@ paths: type: integer artifacts: type: array - items: *278 + items: *281 examples: - default: *304 + default: *307 headers: Link: *57 x-github: @@ -46998,25 +47542,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *263 - - *264 - - *302 - - &306 + - *266 + - *267 + - *305 + - &309 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *300 + - *303 responses: '200': description: Response content: application/json: - schema: *301 + schema: *304 examples: - default: *305 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47039,10 +47583,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *263 - - *264 - - *302 - - *306 + - *266 + - *267 + - *305 + - *309 - *17 - *19 responses: @@ -47060,9 +47604,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *310 examples: - default: &308 + default: &311 value: total_count: 1 jobs: @@ -47175,10 +47719,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *263 - - *264 - - *302 - - *306 + - *266 + - *267 + - *305 + - *309 responses: '302': description: Response @@ -47206,9 +47750,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '202': description: Response @@ -47241,9 +47785,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: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: true content: @@ -47310,9 +47854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '202': description: Response @@ -47345,9 +47889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 - 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 @@ -47377,9 +47921,9 @@ paths: type: integer jobs: type: array - items: *307 + items: *310 examples: - default: *308 + default: *311 headers: Link: *57 x-github: @@ -47404,9 +47948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '302': description: Response @@ -47433,14 +47977,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '204': description: Response '403': *27 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47462,9 +48006,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -47533,7 +48077,7 @@ paths: items: type: object properties: - type: &420 + type: &423 type: string description: The type of reviewer. enum: @@ -47544,7 +48088,7 @@ paths: reviewer: anyOf: - *4 - - *180 + - *146 required: - environment - wait_timer @@ -47619,9 +48163,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: true content: @@ -47671,7 +48215,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -47783,7 +48327,7 @@ paths: - created_at - updated_at examples: - default: &416 + default: &419 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -47839,9 +48383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: false content: @@ -47886,9 +48430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 requestBody: required: false content: @@ -47942,9 +48486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *263 - - *264 - - *302 + - *266 + - *267 + - *305 responses: '200': description: Response @@ -48081,8 +48625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -48100,9 +48644,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *312 examples: - default: *310 + default: *313 headers: Link: *57 x-github: @@ -48127,16 +48671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *311 + schema: *314 examples: - default: *312 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48158,17 +48702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: &433 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -48194,8 +48738,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -48253,8 +48797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -48280,9 +48824,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *263 - - *264 - - *285 + - *266 + - *267 + - *288 - *19 responses: '200': @@ -48299,9 +48843,9 @@ paths: type: integer variables: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 headers: Link: *57 x-github: @@ -48324,8 +48868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -48377,17 +48921,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 responses: '200': description: Response content: application/json: - schema: *313 + schema: *316 examples: - default: &434 + default: &437 value: name: USERNAME value: octocat @@ -48413,8 +48957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 requestBody: required: true @@ -48457,8 +49001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 responses: '204': @@ -48484,8 +49028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -48503,7 +49047,7 @@ paths: type: integer workflows: type: array - items: &315 + items: &318 title: Workflow description: A GitHub Actions workflow type: object @@ -48621,9 +49165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *263 - - *264 - - &316 + - *266 + - *267 + - &319 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -48638,7 +49182,7 @@ paths: description: Response content: application/json: - schema: *315 + schema: *318 examples: default: value: @@ -48671,9 +49215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48698,9 +49242,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48751,9 +49295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '204': description: Response @@ -48780,19 +49324,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *263 - - *264 - - *316 - - *317 - - *318 + - *266 + - *267 - *319 - *320 - - *17 - - *19 - *321 - - *300 - *322 - *323 + - *17 + - *19 + - *324 + - *303 + - *325 + - *326 responses: '200': description: Response @@ -48808,9 +49352,9 @@ paths: type: integer workflow_runs: type: array - items: *301 + items: *304 examples: - default: *324 + default: *327 headers: Link: *57 x-github: @@ -48842,9 +49386,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *263 - - *264 - - *316 + - *266 + - *267 + - *319 responses: '200': description: Response @@ -48905,8 +49449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *263 - - *264 + - *266 + - *267 - *46 - *17 - *37 @@ -49074,8 +49618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -49087,7 +49631,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -49112,8 +49656,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *263 - - *264 + - *266 + - *267 - name: assignee in: path required: true @@ -49149,8 +49693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -49262,8 +49806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *37 - *38 @@ -49317,7 +49861,7 @@ paths: bundle_url: type: string examples: - default: *325 + default: *328 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49337,8 +49881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -49346,7 +49890,7 @@ paths: application/json: schema: type: array - items: &326 + items: &329 title: Autolink reference description: An autolink reference. type: object @@ -49400,8 +49944,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -49440,9 +49984,9 @@ paths: description: response content: application/json: - schema: *326 + schema: *329 examples: - default: &327 + default: &330 value: id: 1 key_prefix: TICKET- @@ -49473,9 +50017,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *263 - - *264 - - &328 + - *266 + - *267 + - &331 name: autolink_id description: The unique identifier of the autolink. in: path @@ -49487,9 +50031,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *329 examples: - default: *327 + default: *330 '404': *6 x-github: githubCloudOnly: false @@ -49509,9 +50053,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *263 - - *264 - - *328 + - *266 + - *267 + - *331 responses: '204': description: Response @@ -49535,8 +50079,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response if Dependabot is enabled @@ -49586,8 +50130,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -49608,8 +50152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -49629,8 +50173,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *263 - - *264 + - *266 + - *267 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -49668,7 +50212,7 @@ paths: - url protected: type: boolean - protection: &330 + protection: &333 title: Branch Protection description: Branch Protection type: object @@ -49711,7 +50255,7 @@ paths: required: - contexts - checks - enforce_admins: &333 + enforce_admins: &336 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -49728,7 +50272,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &335 + required_pull_request_reviews: &338 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -49750,7 +50294,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *180 + items: *146 apps: description: The list of apps with review dismissal access. @@ -49782,7 +50326,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *180 + items: *146 apps: description: The list of apps allowed to bypass pull request requirements. @@ -49812,7 +50356,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &332 + restrictions: &335 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -50137,9 +50681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *263 - - *264 - - &331 + - *266 + - *267 + - &334 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). @@ -50153,14 +50697,14 @@ paths: description: Response content: application/json: - schema: &341 + schema: &344 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &391 + commit: &394 title: Commit description: Commit type: object @@ -50199,7 +50743,7 @@ paths: author: anyOf: - type: 'null' - - &329 + - &332 title: Git User description: Metaproperties for Git author/committer information. @@ -50220,7 +50764,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 message: type: string examples: @@ -50244,7 +50788,7 @@ paths: required: - sha - url - verification: &440 + verification: &443 title: Verification type: object properties: @@ -50324,7 +50868,7 @@ paths: type: integer files: type: array - items: &403 + items: &406 title: Diff Entry description: Diff Entry type: object @@ -50418,7 +50962,7 @@ paths: - self protected: type: boolean - protection: *330 + protection: *333 protection_url: type: string format: uri @@ -50527,7 +51071,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *275 + '301': *278 '404': *6 x-github: githubCloudOnly: false @@ -50549,15 +51093,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *330 + schema: *333 examples: default: value: @@ -50751,9 +51295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -51013,7 +51557,7 @@ paths: url: type: string format: uri - required_status_checks: &338 + required_status_checks: &341 title: Status Check Policy description: Status Check Policy type: object @@ -51094,7 +51638,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 apps: type: array items: *5 @@ -51112,7 +51656,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 apps: type: array items: *5 @@ -51172,7 +51716,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *332 + restrictions: *335 required_conversation_resolution: type: object properties: @@ -51284,9 +51828,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51311,17 +51855,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &334 + default: &337 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -51343,17 +51887,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *334 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51372,9 +51916,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51399,17 +51943,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *335 + schema: *338 examples: - default: &336 + default: &339 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -51505,9 +52049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51605,9 +52149,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *338 examples: - default: *336 + default: *339 '422': *15 x-github: githubCloudOnly: false @@ -51628,9 +52172,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51657,17 +52201,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: &337 + default: &340 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -51690,17 +52234,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *333 + schema: *336 examples: - default: *337 + default: *340 '404': *6 x-github: githubCloudOnly: false @@ -51720,9 +52264,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51747,17 +52291,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *338 + schema: *341 examples: - default: &339 + default: &342 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -51783,9 +52327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51837,9 +52381,9 @@ paths: description: Response content: application/json: - schema: *338 + schema: *341 examples: - default: *339 + default: *342 '404': *6 '422': *15 x-github: @@ -51861,9 +52405,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -51887,9 +52431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -51923,9 +52467,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -51992,9 +52536,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52058,9 +52602,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: content: application/json: @@ -52126,15 +52670,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response content: application/json: - schema: *332 + schema: *335 examples: default: value: @@ -52225,9 +52769,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '204': description: Response @@ -52250,9 +52794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52262,7 +52806,7 @@ paths: type: array items: *5 examples: - default: &340 + default: &343 value: - id: 1 slug: octoapp @@ -52319,9 +52863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52355,7 +52899,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52376,9 +52920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52412,7 +52956,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52433,9 +52977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52469,7 +53013,7 @@ paths: type: array items: *5 examples: - default: *340 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -52491,9 +53035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52501,9 +53045,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '404': *6 x-github: githubCloudOnly: false @@ -52523,9 +53067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52561,9 +53105,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52584,9 +53128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: false content: @@ -52622,9 +53166,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52645,9 +53189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: content: application/json: @@ -52682,9 +53226,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 '422': *15 x-github: githubCloudOnly: false @@ -52706,9 +53250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 responses: '200': description: Response @@ -52718,7 +53262,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '404': *6 x-github: githubCloudOnly: false @@ -52742,9 +53286,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52777,7 +53321,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52802,9 +53346,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52837,7 +53381,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52862,9 +53406,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52897,7 +53441,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '422': *15 x-github: githubCloudOnly: false @@ -52924,9 +53468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 requestBody: required: true content: @@ -52948,7 +53492,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *344 examples: default: value: @@ -53064,8 +53608,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -53344,7 +53888,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &346 title: CheckRun description: A check performed on the code of a given code change type: object @@ -53479,8 +54023,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *342 - deployment: &630 + items: *345 + deployment: &633 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -53767,9 +54311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *263 - - *264 - - &344 + - *266 + - *267 + - &347 name: check_run_id description: The unique identifier of the check run. in: path @@ -53781,9 +54325,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: &345 + default: &348 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -53883,9 +54427,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 requestBody: required: true content: @@ -54125,9 +54669,9 @@ paths: description: Response content: application/json: - schema: *343 + schema: *346 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54147,9 +54691,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 - *17 - *19 responses: @@ -54261,9 +54805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *263 - - *264 - - *344 + - *266 + - *267 + - *347 responses: '201': description: Response @@ -54307,8 +54851,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -54330,7 +54874,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &347 + schema: &350 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -54412,7 +54956,7 @@ paths: type: - array - 'null' - items: *342 + items: *345 app: anyOf: - type: 'null' @@ -54428,7 +54972,7 @@ paths: - string - 'null' format: date-time - head_commit: *346 + head_commit: *349 latest_check_runs_count: type: integer check_runs_url: @@ -54456,7 +55000,7 @@ paths: - check_runs_url - pull_requests examples: - default: &348 + default: &351 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -54747,9 +55291,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54768,8 +55312,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -55078,9 +55622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *263 - - *264 - - &349 + - *266 + - *267 + - &352 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -55092,9 +55636,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55117,17 +55661,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *263 - - *264 - - *349 - - &398 + - *266 + - *267 + - *352 + - &401 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &399 + - &402 name: status description: Returns check runs with the specified `status`. in: query @@ -55166,9 +55710,9 @@ paths: type: integer check_runs: type: array - items: *343 + items: *346 examples: - default: &400 + default: &403 value: total_count: 1 check_runs: @@ -55270,9 +55814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *263 - - *264 - - *349 + - *266 + - *267 + - *352 responses: '201': description: Response @@ -55305,21 +55849,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *263 - - *264 - - *350 - - *351 + - *266 + - *267 + - *353 + - *354 - *19 - *17 - - &368 + - &371 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: *352 - - &369 + schema: *355 + - &372 name: pr description: The number of the pull request for the results you want to list. in: query @@ -55344,13 +55888,13 @@ paths: be returned. in: query required: false - schema: *353 + schema: *356 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *354 + schema: *357 responses: '200': description: Response @@ -55366,19 +55910,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *355 - state: *133 - fixed_at: *129 + instances_url: *358 + state: *136 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: *356 - dismissed_comment: *357 - rule: *358 - tool: *359 - most_recent_instance: *360 + dismissed_at: *133 + dismissed_reason: *359 + dismissed_comment: *360 + rule: *361 + tool: *362 + most_recent_instance: *363 dismissal_approved_by: anyOf: - type: 'null' @@ -55498,7 +56042,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &361 + '403': &364 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -55525,9 +56069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *263 - - *264 - - &362 + - *266 + - *267 + - &365 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -55541,7 +56085,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &366 type: object properties: number: *52 @@ -55549,16 +56093,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *355 - state: *133 - fixed_at: *129 + instances_url: *358 + state: *136 + fixed_at: *132 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *130 - dismissed_reason: *356 - dismissed_comment: *357 + dismissed_at: *133 + dismissed_reason: *359 + dismissed_comment: *360 rule: type: object properties: @@ -55620,8 +56164,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *359 - most_recent_instance: *360 + tool: *362 + most_recent_instance: *363 dismissal_approved_by: anyOf: - type: 'null' @@ -55714,7 +56258,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -55734,9 +56278,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: true content: @@ -55751,8 +56295,8 @@ paths: enum: - open - dismissed - dismissed_reason: *356 - dismissed_comment: *357 + dismissed_reason: *359 + dismissed_comment: *360 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -55771,7 +56315,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -55847,7 +56391,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &367 + '403': &370 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -55874,15 +56418,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: Response content: application/json: - schema: &364 + schema: &367 type: object properties: status: @@ -55909,13 +56453,13 @@ paths: - description - started_at examples: - default: &365 + default: &368 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &366 + '400': &369 description: Bad Request content: application/json: @@ -55926,7 +56470,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': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -55951,29 +56495,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: OK content: application/json: - schema: *364 + schema: *367 examples: - default: *365 + default: *368 '202': description: Accepted content: application/json: - schema: *364 + schema: *367 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *366 + '400': *369 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -56005,9 +56549,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: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: false content: @@ -56053,8 +56597,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *366 - '403': *367 + '400': *369 + '403': *370 '404': *6 '422': description: Unprocessable Entity @@ -56078,13 +56622,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 - *19 - *17 - - *368 - - *369 + - *371 + - *372 responses: '200': description: Response @@ -56092,7 +56636,7 @@ paths: application/json: schema: type: array - items: *360 + items: *363 examples: default: value: @@ -56131,7 +56675,7 @@ paths: end_column: 50 classifications: - source - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56165,25 +56709,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *263 - - *264 - - *350 - - *351 + - *266 + - *267 + - *353 + - *354 - *19 - *17 - - *369 + - *372 - 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: *352 + schema: *355 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &372 + schema: &375 type: string description: An identifier for the upload. examples: @@ -56205,23 +56749,23 @@ paths: application/json: schema: type: array - items: &373 + items: &376 type: object properties: - ref: *352 - commit_sha: &381 + ref: *355 + commit_sha: &384 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: *370 + analysis_key: *373 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *371 + category: *374 error: type: string examples: @@ -56246,8 +56790,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *372 - tool: *359 + sarif_id: *375 + tool: *362 deletable: type: boolean warning: @@ -56309,7 +56853,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56345,8 +56889,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: - - *263 - - *264 + - *266 + - *267 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56359,7 +56903,7 @@ paths: description: Response content: application/json: - schema: *373 + schema: *376 examples: response: summary: application/json response @@ -56413,7 +56957,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56495,8 +57039,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: - - *263 - - *264 + - *266 + - *267 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -56552,7 +57096,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': *367 + '403': *370 '404': *6 '503': *62 x-github: @@ -56574,8 +57118,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -56583,7 +57127,7 @@ paths: application/json: schema: type: array - items: &374 + items: &377 title: CodeQL Database description: A CodeQL database. type: object @@ -56695,7 +57239,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': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56724,8 +57268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: language in: path description: The language of the CodeQL database. @@ -56737,7 +57281,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: default: value: @@ -56769,9 +57313,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': &405 + '302': &408 description: Found - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -56793,8 +57337,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *263 - - *264 + - *266 + - *267 - name: language in: path description: The language of the CodeQL database. @@ -56804,7 +57348,7 @@ paths: responses: '204': description: Response - '403': *367 + '403': *370 '404': *6 '503': *62 x-github: @@ -56832,8 +57376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -56842,7 +57386,7 @@ paths: type: object additionalProperties: false properties: - language: &375 + language: &378 type: string description: The language targeted by the CodeQL query enum: @@ -56921,7 +57465,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &379 + schema: &382 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -56931,7 +57475,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *375 + query_language: *378 query_pack_url: type: string description: The download url for the query pack. @@ -56979,7 +57523,7 @@ paths: items: type: object properties: - repository: &376 + repository: &379 title: Repository Identifier description: Repository Identifier type: object @@ -57021,7 +57565,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &380 + analysis_status: &383 type: string description: The new status of the CodeQL variant analysis repository task. @@ -57053,7 +57597,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &377 + access_mismatch_repos: &380 type: object properties: repository_count: @@ -57068,7 +57612,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: *376 + items: *379 required: - repository_count - repositories @@ -57091,8 +57635,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *377 - over_limit_repos: *377 + no_codeql_db_repos: *380 + over_limit_repos: *380 required: - access_mismatch_repos - not_found_repos @@ -57108,7 +57652,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &378 + value: &381 summary: Default response value: id: 1 @@ -57260,10 +57804,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *378 + value: *381 repository_lists: summary: Response for a successful variant analysis submission - value: *378 + value: *381 '404': *6 '422': description: Unable to process variant analysis submission @@ -57291,8 +57835,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: - - *263 - - *264 + - *266 + - *267 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -57304,9 +57848,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *382 examples: - default: *378 + default: *381 '404': *6 '503': *62 x-github: @@ -57329,7 +57873,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: - - *263 + - *266 - name: repo in: path description: The name of the controller repository. @@ -57364,7 +57908,7 @@ paths: type: object properties: repository: *51 - analysis_status: *380 + analysis_status: *383 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -57489,8 +58033,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -57572,7 +58116,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *361 + '403': *364 '404': *6 '503': *62 x-github: @@ -57593,8 +58137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -57678,7 +58222,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *367 + '403': *370 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -57743,8 +58287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -57752,7 +58296,7 @@ paths: schema: type: object properties: - commit_sha: *381 + commit_sha: *384 ref: type: string description: |- @@ -57812,7 +58356,7 @@ paths: schema: type: object properties: - id: *372 + id: *375 url: type: string description: The REST API URL for checking the status of the upload. @@ -57826,7 +58370,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': *367 + '403': *370 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -57849,8 +58393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *263 - - *264 + - *266 + - *267 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -57898,7 +58442,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': *361 + '403': *364 '404': description: Not Found if the sarif id does not match any upload '503': *62 @@ -57923,8 +58467,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -57980,7 +58524,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': *137 + '204': *140 '304': *35 '403': *27 '404': *6 @@ -58005,8 +58549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *263 - - *264 + - *266 + - *267 - 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 @@ -58134,8 +58678,8 @@ paths: parameters: - *17 - *19 - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -58151,7 +58695,7 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: default: value: @@ -58427,7 +58971,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': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -58449,8 +58993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -58514,17 +59058,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '400': *14 '401': *23 '403': *27 @@ -58553,8 +59097,8 @@ paths: parameters: - *17 - *19 - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -58594,7 +59138,7 @@ paths: - path: ".devcontainer.json" display_name: Default project configuration total_count: 3 - '500': *140 + '500': *143 '400': *14 '401': *23 '403': *27 @@ -58618,8 +59162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -58656,9 +59200,9 @@ paths: type: integer machines: type: array - items: *383 + items: *386 examples: - default: &588 + default: &591 value: total_count: 2 machines: @@ -58675,7 +59219,7 @@ paths: memory_in_bytes: 34359738368 cpus: 8 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -58698,8 +59242,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *263 - - *264 + - *266 + - *267 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -58786,8 +59330,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: - - *263 - - *264 + - *266 + - *267 - 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 @@ -58856,8 +59400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -58875,7 +59419,7 @@ paths: type: integer secrets: type: array - items: &387 + items: &390 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -58896,7 +59440,7 @@ paths: - created_at - updated_at examples: - default: *384 + default: *387 headers: Link: *57 x-github: @@ -58919,16 +59463,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *385 + schema: *388 examples: - default: *386 + default: *389 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58948,17 +59492,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *387 + schema: *390 examples: - default: *388 + default: *391 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58978,8 +59522,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -59032,8 +59576,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -59062,8 +59606,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *263 - - *264 + - *266 + - *267 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -59101,7 +59645,7 @@ paths: application/json: schema: type: array - items: &389 + items: &392 title: Collaborator description: Collaborator type: object @@ -59294,8 +59838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '204': @@ -59338,8 +59882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 requestBody: required: false @@ -59366,7 +59910,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &453 + schema: &456 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -59587,8 +60131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '204': @@ -59618,8 +60162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *263 - - *264 + - *266 + - *267 - *128 responses: '200': @@ -59640,7 +60184,7 @@ paths: user: anyOf: - type: 'null' - - *389 + - *392 required: - permission - role_name @@ -59694,8 +60238,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -59705,7 +60249,7 @@ paths: application/json: schema: type: array - items: &390 + items: &393 title: Commit Comment description: Commit Comment type: object @@ -59763,7 +60307,7 @@ paths: - created_at - updated_at examples: - default: &393 + default: &396 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59822,17 +60366,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: &394 + default: &397 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -59889,8 +60433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -59913,7 +60457,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *393 examples: default: value: @@ -59964,8 +60508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -59987,8 +60531,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -60015,9 +60559,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -60038,8 +60582,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -60072,16 +60616,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -60103,10 +60647,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -60155,8 +60699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *263 - - *264 + - *266 + - *267 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -60212,9 +60756,9 @@ paths: application/json: schema: type: array - items: *391 + items: *394 examples: - default: &501 + default: &504 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -60285,7 +60829,7 @@ paths: sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e headers: Link: *57 - '500': *140 + '500': *143 '400': *14 '404': *6 '409': *44 @@ -60308,9 +60852,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *263 - - *264 - - &392 + - *266 + - *267 + - &395 name: commit_sha description: The SHA of the commit. in: path @@ -60382,9 +60926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 - *17 - *19 responses: @@ -60394,9 +60938,9 @@ paths: application/json: schema: type: array - items: *390 + items: *393 examples: - default: *393 + default: *396 headers: Link: *57 x-github: @@ -60424,9 +60968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 requestBody: required: true content: @@ -60461,9 +61005,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *394 + default: *397 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60491,9 +61035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 - *17 - *19 responses: @@ -60503,7 +61047,7 @@ paths: application/json: schema: type: array - items: &492 + items: &495 title: Pull Request Simple description: Pull Request Simple type: object @@ -60623,7 +61167,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 active_lock_reason: type: - string @@ -60678,7 +61222,7 @@ paths: type: - array - 'null' - items: *180 + items: *146 head: type: object properties: @@ -60722,7 +61266,7 @@ paths: _links: type: object properties: - comments: &396 + comments: &399 title: Link description: Hypermedia Link type: object @@ -60731,13 +61275,13 @@ paths: type: string required: - href - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -60748,7 +61292,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: &494 + auto_merge: &497 title: Auto merge description: The status of auto merging a pull request. type: @@ -60813,7 +61357,7 @@ paths: - author_association - auto_merge examples: - default: &493 + default: &496 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -61350,11 +61894,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 - - &397 + - &400 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)" @@ -61369,9 +61913,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *394 examples: - default: &480 + default: &483 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61457,7 +62001,7 @@ paths: ..... '422': *15 '404': *6 - '500': *140 + '500': *143 '503': *62 '409': *44 x-github: @@ -61484,11 +62028,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *263 - - *264 - - *397 - - *398 - - *399 + - *266 + - *267 + - *400 + - *401 + - *402 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -61522,9 +62066,9 @@ paths: type: integer check_runs: type: array - items: *343 + items: *346 examples: - default: *400 + default: *403 headers: Link: *57 x-github: @@ -61549,9 +62093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -61559,7 +62103,7 @@ paths: schema: type: integer example: 1 - - *398 + - *401 - *17 - *19 responses: @@ -61577,7 +62121,7 @@ paths: type: integer check_suites: type: array - items: *347 + items: *350 examples: default: value: @@ -61777,9 +62321,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - *17 - *19 responses: @@ -61981,9 +62525,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *263 - - *264 - - *397 + - *266 + - *267 + - *400 - *17 - *19 responses: @@ -61993,7 +62537,7 @@ paths: application/json: schema: type: array - items: &562 + items: &565 title: Status description: The status of a commit. type: object @@ -62074,7 +62618,7 @@ paths: site_admin: false headers: Link: *57 - '301': *275 + '301': *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62102,8 +62646,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -62136,11 +62680,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *401 + - *404 code_of_conduct_file: anyOf: - type: 'null' - - &402 + - &405 title: Community Health File type: object properties: @@ -62160,19 +62704,19 @@ paths: contributing: anyOf: - type: 'null' - - *402 + - *405 readme: anyOf: - type: 'null' - - *402 + - *405 issue_template: anyOf: - type: 'null' - - *402 + - *405 pull_request_template: anyOf: - type: 'null' - - *402 + - *405 required: - code_of_conduct - code_of_conduct_file @@ -62301,8 +62845,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 - name: basehead @@ -62350,8 +62894,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *391 - merge_base_commit: *391 + base_commit: *394 + merge_base_commit: *394 status: type: string enum: @@ -62375,10 +62919,10 @@ paths: - 6 commits: type: array - items: *391 + items: *394 files: type: array - items: *403 + items: *406 required: - url - html_url @@ -62621,7 +63165,7 @@ paths: patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@ module Test" '404': *6 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -62664,8 +63208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -62818,7 +63362,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &404 + response-if-content-is-a-file: &407 summary: Response if content is a file value: type: file @@ -62955,7 +63499,7 @@ paths: - size - type - url - - &506 + - &509 title: Content File description: Content File type: object @@ -63173,7 +63717,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *404 + response-if-content-is-a-file: *407 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -63242,7 +63786,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *405 + '302': *408 '304': *35 x-github: githubCloudOnly: false @@ -63265,8 +63809,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -63361,7 +63905,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &409 title: File Commit description: File Commit type: object @@ -63517,7 +64061,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: example-for-creating-a-file: value: @@ -63571,7 +64115,7 @@ paths: schema: oneOf: - *3 - - &435 + - &438 description: Repository rule violation was detected type: object properties: @@ -63592,7 +64136,7 @@ paths: items: type: object properties: - placeholder_id: &554 + placeholder_id: &557 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -63624,8 +64168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *263 - - *264 + - *266 + - *267 - name: path description: path parameter in: path @@ -63686,7 +64230,7 @@ paths: description: Response content: application/json: - schema: *406 + schema: *409 examples: default: value: @@ -63741,8 +64285,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *263 - - *264 + - *266 + - *267 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -63866,21 +64410,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *263 - - *264 - - *143 - - *144 - - *145 - - *146 + - *266 + - *267 + - *147 + - *148 + - *149 + - *150 - 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 - - *147 - - *148 - - *149 + - *151 + - *152 + - *153 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -63900,8 +64444,8 @@ paths: default: 30 - *37 - *38 - - *150 - - *151 + - *154 + - *155 responses: '200': description: Response @@ -63909,7 +64453,7 @@ paths: application/json: schema: type: array - items: &409 + items: &412 type: object description: A Dependabot alert. properties: @@ -63959,13 +64503,13 @@ paths: - direct - transitive - - security_advisory: *407 + security_advisory: *410 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *130 + dismissed_at: *133 dismissed_by: anyOf: - type: 'null' @@ -63989,8 +64533,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *129 - auto_dismissed_at: *408 + fixed_at: *132 + auto_dismissed_at: *411 required: - number - state @@ -64220,9 +64764,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *263 - - *264 - - &410 + - *266 + - *267 + - &413 name: alert_number in: path description: |- @@ -64237,7 +64781,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *412 examples: default: value: @@ -64350,9 +64894,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *263 - - *264 - - *410 + - *266 + - *267 + - *413 requestBody: required: true content: @@ -64397,7 +64941,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *412 examples: default: value: @@ -64526,8 +65070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -64545,7 +65089,7 @@ paths: type: integer secrets: type: array - items: &413 + items: &416 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -64599,16 +65143,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *411 + schema: *414 examples: - default: *412 + default: *415 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64628,15 +65172,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '200': description: Response content: application/json: - schema: *413 + schema: *416 examples: default: value: @@ -64662,8 +65206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 requestBody: required: true @@ -64716,8 +65260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *263 - - *264 + - *266 + - *267 - *123 responses: '204': @@ -64740,8 +65284,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: - - *263 - - *264 + - *266 + - *267 - 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 @@ -64915,8 +65459,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -65176,8 +65720,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -65260,7 +65804,7 @@ paths: - version - url additionalProperties: false - metadata: &414 + metadata: &417 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -65299,7 +65843,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *414 + metadata: *417 resolved: type: object description: A collection of resolved package dependencies. @@ -65313,7 +65857,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *414 + metadata: *417 relationship: type: string description: A notation of whether a dependency is requested @@ -65446,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *263 - - *264 + - *266 + - *267 - name: sha description: The SHA recorded at creation time. in: query @@ -65488,9 +66032,9 @@ paths: application/json: schema: type: array - items: *415 + items: *418 examples: - default: *416 + default: *419 headers: Link: *57 x-github: @@ -65556,8 +66100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -65639,7 +66183,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: simple-example: summary: Simple example @@ -65712,9 +66256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *263 - - *264 - - &417 + - *266 + - *267 + - &420 name: deployment_id description: deployment_id parameter in: path @@ -65726,7 +66270,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: default: value: @@ -65791,9 +66335,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 responses: '204': description: Response @@ -65815,9 +66359,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 - *17 - *19 responses: @@ -65827,7 +66371,7 @@ paths: application/json: schema: type: array - items: &418 + items: &421 title: Deployment Status description: The status of a deployment. type: object @@ -65991,9 +66535,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 requestBody: required: true content: @@ -66068,9 +66612,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: &419 + default: &422 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -66126,9 +66670,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *263 - - *264 - - *417 + - *266 + - *267 + - *420 - name: status_id in: path required: true @@ -66139,9 +66683,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *421 examples: - default: *419 + default: *422 '404': *6 x-github: githubCloudOnly: false @@ -66166,8 +66710,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -66224,8 +66768,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -66243,7 +66787,7 @@ paths: - 5 environments: type: array - items: &421 + items: &424 title: Environment description: Details of a deployment environment type: object @@ -66305,7 +66849,7 @@ paths: type: string examples: - wait_timer - wait_timer: &423 + wait_timer: &426 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -66347,11 +66891,11 @@ paths: items: type: object properties: - type: *420 + type: *423 reviewer: anyOf: - *4 - - *180 + - *146 required: - id - node_id @@ -66374,7 +66918,7 @@ paths: - id - node_id - type - deployment_branch_policy: &424 + deployment_branch_policy: &427 type: - object - 'null' @@ -66491,9 +67035,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *263 - - *264 - - &422 + - *266 + - *267 + - &425 name: environment_name in: path required: true @@ -66506,9 +67050,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: &425 + default: &428 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -66592,9 +67136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: false content: @@ -66604,7 +67148,7 @@ paths: - object - 'null' properties: - wait_timer: *423 + wait_timer: *426 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -66623,14 +67167,14 @@ paths: items: type: object properties: - type: *420 + type: *423 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *424 + deployment_branch_policy: *427 additionalProperties: false examples: default: @@ -66650,9 +67194,9 @@ paths: description: Response content: application/json: - schema: *421 + schema: *424 examples: - default: *425 + default: *428 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -66676,9 +67220,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 responses: '204': description: Default response @@ -66703,9 +67247,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *17 - *19 responses: @@ -66724,7 +67268,7 @@ paths: - 2 branch_policies: type: array - items: &426 + items: &429 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -66785,9 +67329,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: true content: @@ -66835,9 +67379,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - example-wildcard: &427 + example-wildcard: &430 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -66879,10 +67423,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - &428 + - *266 + - *267 + - *425 + - &431 name: branch_policy_id in: path required: true @@ -66894,9 +67438,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66915,10 +67459,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - *428 + - *266 + - *267 + - *425 + - *431 requestBody: required: true content: @@ -66947,9 +67491,9 @@ paths: description: Response content: application/json: - schema: *426 + schema: *429 examples: - default: *427 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66968,10 +67512,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *263 - - *264 - - *422 - - *428 + - *266 + - *267 + - *425 + - *431 responses: '204': description: Response @@ -66996,9 +67540,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 responses: '200': description: List of deployment protection rules @@ -67015,7 +67559,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &429 + items: &432 title: Deployment protection rule description: Deployment protection rule type: object @@ -67037,7 +67581,7 @@ paths: for the environment. examples: - true - app: &430 + app: &433 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -67140,9 +67684,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: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 requestBody: content: application/json: @@ -67163,9 +67707,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *429 + schema: *432 examples: - default: &431 + default: &434 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -67200,9 +67744,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: - - *422 - - *264 - - *263 + - *425 + - *267 + - *266 - *19 - *17 responses: @@ -67222,7 +67766,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *430 + items: *433 examples: default: value: @@ -67257,10 +67801,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *263 - - *264 - - *422 - - &432 + - *266 + - *267 + - *425 + - &435 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -67272,9 +67816,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *432 examples: - default: *431 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67295,10 +67839,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *422 - - *264 - - *263 - - *432 + - *425 + - *267 + - *266 + - *435 responses: '204': description: Response @@ -67324,9 +67868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *17 - *19 responses: @@ -67344,9 +67888,9 @@ paths: type: integer secrets: type: array - items: *309 + items: *312 examples: - default: *310 + default: *313 headers: Link: *57 x-github: @@ -67371,17 +67915,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 responses: '200': description: Response content: application/json: - schema: *311 + schema: *314 examples: - default: *312 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67403,18 +67947,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *433 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67436,9 +67980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 requestBody: required: true @@ -67496,9 +68040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *123 responses: '204': @@ -67524,10 +68068,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *263 - - *264 - - *422 - - *285 + - *266 + - *267 + - *425 + - *288 - *19 responses: '200': @@ -67544,9 +68088,9 @@ paths: type: integer variables: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 headers: Link: *57 x-github: @@ -67569,9 +68113,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 requestBody: required: true content: @@ -67623,18 +68167,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *263 - - *264 - - *422 + - *266 + - *267 + - *425 - *126 responses: '200': description: Response content: application/json: - schema: *313 + schema: *316 examples: - default: *434 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67655,10 +68199,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 - - *422 + - *425 requestBody: required: true content: @@ -67700,10 +68244,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *263 - - *264 + - *266 + - *267 - *126 - - *422 + - *425 responses: '204': description: Response @@ -67725,8 +68269,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -67803,8 +68347,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *263 - - *264 + - *266 + - *267 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -67963,8 +68507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -67997,9 +68541,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 '400': *14 '422': *15 '403': *27 @@ -68020,8 +68564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68081,7 +68625,7 @@ paths: schema: oneOf: - *93 - - *435 + - *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68106,8 +68650,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *263 - - *264 + - *266 + - *267 - name: file_sha in: path required: true @@ -68207,8 +68751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68317,7 +68861,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &439 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -68544,15 +69088,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *263 - - *264 - - *392 + - *266 + - *267 + - *395 responses: '200': description: Response content: application/json: - schema: *436 + schema: *439 examples: default: value: @@ -68608,9 +69152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *263 - - *264 - - &437 + - *266 + - *267 + - &440 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. @@ -68627,7 +69171,7 @@ paths: application/json: schema: type: array - items: &438 + items: &441 title: Git Reference description: Git references within a repository type: object @@ -68703,17 +69247,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 responses: '200': description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: &439 + default: &442 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -68742,8 +69286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68772,9 +69316,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -68800,9 +69344,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 requestBody: required: true content: @@ -68831,9 +69375,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 '422': *15 '409': *44 x-github: @@ -68851,9 +69395,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *263 - - *264 - - *437 + - *266 + - *267 + - *440 responses: '204': description: Response @@ -68906,8 +69450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -68974,7 +69518,7 @@ paths: description: Response content: application/json: - schema: &441 + schema: &444 title: Git Tag description: Metadata for a Git tag type: object @@ -69030,7 +69574,7 @@ paths: - sha - type - url - verification: *440 + verification: *443 required: - sha - url @@ -69040,7 +69584,7 @@ paths: - tag - message examples: - default: &442 + default: &445 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69113,8 +69657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *263 - - *264 + - *266 + - *267 - name: tag_sha in: path required: true @@ -69125,9 +69669,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *444 examples: - default: *442 + default: *445 '404': *6 '409': *44 x-github: @@ -69151,8 +69695,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -69226,7 +69770,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &446 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -69243,6 +69787,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -69275,29 +69824,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: @@ -69344,8 +69872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *263 - - *264 + - *266 + - *267 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -69368,7 +69896,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *446 examples: default-response: summary: Default response @@ -69427,8 +69955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -69438,7 +69966,7 @@ paths: application/json: schema: type: array - items: &444 + items: &447 title: Webhook description: Webhooks for repositories. type: object @@ -69501,7 +70029,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &661 + last_response: &664 title: Hook Response type: object properties: @@ -69578,8 +70106,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -69632,9 +70160,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: &445 + default: &448 value: type: Repository id: 12345678 @@ -69682,17 +70210,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '200': description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: *445 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -69712,9 +70240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 requestBody: required: true content: @@ -69759,9 +70287,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *447 examples: - default: *445 + default: *448 '422': *15 '404': *6 x-github: @@ -69782,9 +70310,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -69808,9 +70336,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '200': description: Response @@ -69837,9 +70365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 requestBody: required: false content: @@ -69883,11 +70411,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *17 - - *158 + - *162 responses: '200': description: Response @@ -69895,9 +70423,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *160 + default: *164 '400': *14 '422': *15 x-github: @@ -69916,18 +70444,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *16 responses: '200': description: Response content: application/json: - schema: *161 + schema: *165 examples: - default: *162 + default: *166 '400': *14 '422': *15 x-github: @@ -69946,9 +70474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 - *16 responses: '202': *45 @@ -69971,9 +70499,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -69998,9 +70526,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *263 - - *264 - - *157 + - *266 + - *267 + - *161 responses: '204': description: Response @@ -70058,14 +70586,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &446 + schema: &449 title: Import description: A repository import from an external source. type: object @@ -70172,7 +70700,7 @@ paths: - html_url - authors_url examples: - default: &449 + default: &452 value: vcs: subversion use_lfs: true @@ -70188,7 +70716,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': &447 + '503': &450 description: Unavailable due to service under maintenance. content: application/json: @@ -70217,8 +70745,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -70266,7 +70794,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: default: value: @@ -70291,7 +70819,7 @@ paths: type: string '422': *15 '404': *6 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70319,8 +70847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -70372,7 +70900,7 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: example-1: summary: Example 1 @@ -70420,7 +70948,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': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70443,12 +70971,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70474,9 +71002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *263 - - *264 - - &611 + - *266 + - *267 + - &614 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -70490,7 +71018,7 @@ paths: application/json: schema: type: array - items: &448 + items: &451 title: Porter Author description: Porter Author type: object @@ -70544,7 +71072,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': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70569,8 +71097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *263 - - *264 + - *266 + - *267 - name: author_id in: path required: true @@ -70600,7 +71128,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *451 examples: default: value: @@ -70613,7 +71141,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70637,8 +71165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70679,7 +71207,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70707,8 +71235,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -70735,11 +71263,11 @@ paths: description: Response content: application/json: - schema: *446 + schema: *449 examples: - default: *449 + default: *452 '422': *15 - '503': *447 + '503': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70762,8 +71290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70771,8 +71299,8 @@ paths: application/json: schema: *20 examples: - default: *450 - '301': *275 + default: *453 + '301': *278 '404': *6 x-github: githubCloudOnly: false @@ -70792,8 +71320,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -70801,12 +71329,12 @@ paths: application/json: schema: anyOf: - - *175 + - *179 - type: object properties: {} additionalProperties: false examples: - default: &452 + default: &455 value: limit: collaborators_only origin: repository @@ -70831,13 +71359,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: application/json: - schema: *451 + schema: *454 examples: default: summary: Example request body @@ -70849,9 +71377,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: - default: *452 + default: *455 '409': description: Response x-github: @@ -70873,8 +71401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -70897,8 +71425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -70908,9 +71436,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: &604 + default: &607 value: - id: 1 repository: @@ -71041,9 +71569,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *263 - - *264 - - *179 + - *266 + - *267 + - *183 requestBody: required: false content: @@ -71072,7 +71600,7 @@ paths: description: Response content: application/json: - schema: *453 + schema: *456 examples: default: value: @@ -71203,9 +71731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *263 - - *264 - - *179 + - *266 + - *267 + - *183 responses: '204': description: Response @@ -71236,8 +71764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *263 - - *264 + - *266 + - *267 - 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 @@ -71285,7 +71813,7 @@ paths: required: false schema: type: string - - *184 + - *187 - name: sort description: What to sort results by. in: query @@ -71310,7 +71838,7 @@ paths: type: array items: *74 examples: - default: &462 + default: &465 value: - id: 1 node_id: MDU6SXNzdWUx @@ -71458,7 +71986,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *275 + '301': *278 '422': *15 '404': *6 x-github: @@ -71487,8 +72015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -71580,7 +72108,7 @@ paths: application/json: schema: *74 examples: - default: &457 + default: &460 value: id: 1 node_id: MDU6SXNzdWUx @@ -71736,7 +72264,7 @@ paths: '422': *15 '503': *62 '404': *6 - '410': *272 + '410': *275 x-github: triggersNotification: true githubCloudOnly: false @@ -71764,8 +72292,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *83 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -71786,9 +72314,9 @@ paths: application/json: schema: type: array - items: *454 + items: *457 examples: - default: &459 + default: &462 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71846,17 +72374,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: &455 + default: &458 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -71910,8 +72438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -71934,9 +72462,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: *455 + default: *458 '422': *15 x-github: githubCloudOnly: false @@ -71954,8 +72482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -71976,8 +72504,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -72004,9 +72532,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -72027,8 +72555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -72061,16 +72589,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -72092,10 +72620,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -72115,8 +72643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -72126,7 +72654,7 @@ paths: application/json: schema: type: array - items: &456 + items: &459 title: Issue Event description: Issue Event type: object @@ -72206,7 +72734,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *180 + requested_team: *146 dismissed_review: title: Issue Event Dismissed Review type: object @@ -72465,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *263 - - *264 + - *266 + - *267 - name: event_id in: path required: true @@ -72477,7 +73005,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *459 examples: default: value: @@ -72670,7 +73198,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *272 + '410': *275 '403': *27 x-github: githubCloudOnly: false @@ -72704,9 +73232,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *263 - - *264 - - &458 + - *266 + - *267 + - &461 name: issue_number description: The number that identifies the issue. in: path @@ -72720,10 +73248,10 @@ paths: application/json: schema: *74 examples: - default: *457 - '301': *275 + default: *460 + '301': *278 '404': *6 - '410': *272 + '410': *275 '304': *35 x-github: githubCloudOnly: false @@ -72748,9 +73276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -72870,13 +73398,13 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 '422': *15 '503': *62 '403': *27 - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72894,9 +73422,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -72924,7 +73452,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72940,9 +73468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: content: application/json: @@ -72969,7 +73497,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72991,9 +73519,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: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - name: assignee in: path required: true @@ -73033,9 +73561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *64 - *17 - *19 @@ -73046,13 +73574,13 @@ paths: application/json: schema: type: array - items: *454 + items: *457 examples: - default: *459 + default: *462 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73081,9 +73609,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -73105,16 +73633,16 @@ paths: description: Response content: application/json: - schema: *454 + schema: *457 examples: - default: *455 + default: *458 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *272 + '410': *275 '422': *15 '404': *6 x-github: @@ -73134,9 +73662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -73150,7 +73678,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &463 + - &466 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -73199,7 +73727,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &467 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -73327,7 +73855,7 @@ paths: - performed_via_github_app - assignee - assigner - - &465 + - &468 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -73373,7 +73901,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &469 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -73419,7 +73947,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &470 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -73468,7 +73996,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &471 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -73497,7 +74025,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *180 + requested_team: *146 requested_reviewer: *4 required: - review_requester @@ -73510,7 +74038,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &472 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -73539,7 +74067,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *180 + requested_team: *146 requested_reviewer: *4 required: - review_requester @@ -73552,7 +74080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &473 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -73608,7 +74136,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &474 title: Locked Issue Event description: Locked Issue Event type: object @@ -73653,7 +74181,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &472 + - &475 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -73714,7 +74242,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &473 + - &476 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -73775,7 +74303,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &474 + - &477 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -73836,7 +74364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &475 + - &478 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -73929,7 +74457,7 @@ paths: color: red headers: Link: *57 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73946,9 +74474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -73958,7 +74486,7 @@ paths: application/json: schema: type: array - items: &460 + items: &463 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74013,7 +74541,7 @@ paths: - color - default examples: - default: &461 + default: &464 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74031,9 +74559,9 @@ paths: default: false headers: Link: *57 - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74050,9 +74578,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74111,12 +74639,12 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 - '301': *275 + default: *464 + '301': *278 '404': *6 - '410': *272 + '410': *275 '422': *15 x-github: githubCloudOnly: false @@ -74133,9 +74661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74195,12 +74723,12 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 - '301': *275 + default: *464 + '301': *278 '404': *6 - '410': *272 + '410': *275 '422': *15 x-github: githubCloudOnly: false @@ -74217,15 +74745,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 responses: '204': description: Response - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74244,9 +74772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - name: name in: path required: true @@ -74259,7 +74787,7 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: default: value: @@ -74270,9 +74798,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *275 + '301': *278 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74292,9 +74820,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: false content: @@ -74323,7 +74851,7 @@ paths: '204': description: Response '403': *27 - '410': *272 + '410': *275 '404': *6 '422': *15 x-github: @@ -74341,9 +74869,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 responses: '204': description: Response @@ -74365,9 +74893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - 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. @@ -74393,13 +74921,13 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74417,9 +74945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74451,16 +74979,16 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -74482,10 +75010,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *263 - - *264 - - *458 - - *259 + - *266 + - *267 + - *461 + - *262 responses: '204': description: Response @@ -74514,9 +75042,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74540,7 +75068,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -74573,9 +75101,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -74587,11 +75115,11 @@ paths: type: array items: *74 examples: - default: *462 + default: *465 headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74619,9 +75147,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74650,14 +75178,14 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *272 + '410': *275 '422': *15 '404': *6 x-github: @@ -74677,9 +75205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 requestBody: required: true content: @@ -74712,7 +75240,7 @@ paths: application/json: schema: *74 examples: - default: *457 + default: *460 '403': *27 '404': *6 '422': *7 @@ -74734,9 +75262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *263 - - *264 - - *458 + - *266 + - *267 + - *461 - *17 - *19 responses: @@ -74751,9 +75279,6 @@ paths: description: Timeline Event type: object anyOf: - - *463 - - *464 - - *465 - *466 - *467 - *468 @@ -74764,6 +75289,9 @@ paths: - *473 - *474 - *475 + - *476 + - *477 + - *478 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75087,7 +75615,7 @@ paths: type: string comments: type: array - items: &495 + items: &498 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75325,7 +75853,7 @@ paths: type: string comments: type: array - items: *390 + items: *393 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -75600,7 +76128,7 @@ paths: headers: Link: *57 '404': *6 - '410': *272 + '410': *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75617,8 +76145,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -75628,7 +76156,7 @@ paths: application/json: schema: type: array - items: &476 + items: &479 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -75695,8 +76223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -75732,9 +76260,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: &477 + default: &480 value: id: 1 key: ssh-rsa AAA... @@ -75768,9 +76296,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *263 - - *264 - - &478 + - *266 + - *267 + - &481 name: key_id description: The unique identifier of the key. in: path @@ -75782,9 +76310,9 @@ paths: description: Response content: application/json: - schema: *476 + schema: *479 examples: - default: *477 + default: *480 '404': *6 x-github: githubCloudOnly: false @@ -75802,9 +76330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *263 - - *264 - - *478 + - *266 + - *267 + - *481 responses: '204': description: Response @@ -75824,8 +76352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -75835,9 +76363,9 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 + default: *464 headers: Link: *57 '404': *6 @@ -75858,8 +76386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -75895,9 +76423,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: &479 + default: &482 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -75929,8 +76457,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -75941,9 +76469,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: - default: *479 + default: *482 '404': *6 x-github: githubCloudOnly: false @@ -75960,8 +76488,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -76000,7 +76528,7 @@ paths: description: Response content: application/json: - schema: *460 + schema: *463 examples: default: value: @@ -76026,8 +76554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *263 - - *264 + - *266 + - *267 - name: name in: path required: true @@ -76053,8 +76581,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -76093,9 +76621,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *263 - - *264 - - *368 + - *266 + - *267 + - *371 responses: '200': description: Response @@ -76242,8 +76770,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76308,8 +76836,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76343,9 +76871,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *391 + schema: *394 examples: - default: *480 + default: *483 '204': description: Response when already merged '404': @@ -76370,8 +76898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -76412,7 +76940,7 @@ paths: application/json: schema: type: array - items: *395 + items: *398 examples: default: value: @@ -76468,8 +76996,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -76509,9 +77037,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: &481 + default: &484 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -76570,9 +77098,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *263 - - *264 - - &482 + - *266 + - *267 + - &485 name: milestone_number description: The number that identifies the milestone. in: path @@ -76584,9 +77112,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *481 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -76603,9 +77131,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 requestBody: required: false content: @@ -76643,9 +77171,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *398 examples: - default: *481 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76661,9 +77189,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 responses: '204': description: Response @@ -76684,9 +77212,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *263 - - *264 - - *482 + - *266 + - *267 + - *485 - *17 - *19 responses: @@ -76696,9 +77224,9 @@ paths: application/json: schema: type: array - items: *460 + items: *463 examples: - default: *461 + default: *464 headers: Link: *57 x-github: @@ -76717,12 +77245,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *263 - - *264 - - *483 - - *484 + - *266 + - *267 + - *486 + - *487 - *64 - - *485 + - *488 - *17 - *19 responses: @@ -76734,7 +77262,7 @@ paths: type: array items: *86 examples: - default: *486 + default: *489 headers: Link: *57 x-github: @@ -76758,8 +77286,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -76817,14 +77345,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: &487 + schema: &490 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -76968,7 +77496,7 @@ paths: - custom_404 - public examples: - default: &488 + default: &491 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77009,8 +77537,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77065,9 +77593,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *490 examples: - default: *488 + default: *491 '422': *15 '409': *44 x-github: @@ -77090,8 +77618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77191,8 +77719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -77218,8 +77746,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -77229,7 +77757,7 @@ paths: application/json: schema: type: array - items: &489 + items: &492 title: Page Build description: Page Build type: object @@ -77321,8 +77849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *263 - - *264 + - *266 + - *267 responses: '201': description: Response @@ -77369,16 +77897,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *489 + schema: *492 examples: - default: &490 + default: &493 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -77426,8 +77954,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *263 - - *264 + - *266 + - *267 - name: build_id in: path required: true @@ -77438,9 +77966,9 @@ paths: description: Response content: application/json: - schema: *489 + schema: *492 examples: - default: *490 + default: *493 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77460,8 +77988,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -77569,9 +78097,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *263 - - *264 - - &491 + - *266 + - *267 + - &494 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -77629,11 +78157,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *263 - - *264 - - *491 + - *266 + - *267 + - *494 responses: - '204': *137 + '204': *140 '404': *6 x-github: githubCloudOnly: false @@ -77658,8 +78186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -77954,8 +78482,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: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Private vulnerability reporting status @@ -77992,10 +78520,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: - '204': *137 + '204': *140 '422': *14 x-github: githubCloudOnly: false @@ -78014,10 +78542,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: - '204': *137 + '204': *140 '422': *14 x-github: githubCloudOnly: false @@ -78038,8 +78566,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: Indicates the state of the projects to return. in: query @@ -78060,7 +78588,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -78100,7 +78628,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -78123,8 +78651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78150,13 +78678,13 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: - default: *271 + default: *274 '401': *23 '403': *27 '404': *6 - '410': *272 + '410': *275 '422': *7 x-github: githubCloudOnly: false @@ -78179,8 +78707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -78188,7 +78716,7 @@ paths: application/json: schema: type: array - items: *221 + items: *224 examples: default: value: @@ -78219,8 +78747,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78232,7 +78760,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *221 + items: *224 required: - properties examples: @@ -78282,8 +78810,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *263 - - *264 + - *266 + - *267 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78343,9 +78871,9 @@ paths: application/json: schema: type: array - items: *492 + items: *495 examples: - default: *493 + default: *496 headers: Link: *57 '304': *35 @@ -78377,8 +78905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -78445,7 +78973,7 @@ paths: description: Response content: application/json: - schema: &497 + schema: &500 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -78574,7 +79102,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 active_lock_reason: type: - string @@ -78629,7 +79157,7 @@ paths: type: - array - 'null' - items: *198 + items: *201 head: type: object properties: @@ -78667,14 +79195,14 @@ paths: _links: type: object properties: - comments: *396 - commits: *396 - statuses: *396 - html: *396 - issue: *396 - review_comments: *396 - review_comment: *396 - self: *396 + comments: *399 + commits: *399 + statuses: *399 + html: *399 + issue: *399 + review_comments: *399 + review_comment: *399 + self: *399 required: - comments - commits @@ -78685,7 +79213,7 @@ paths: - review_comment - self author_association: *60 - auto_merge: *494 + auto_merge: *497 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -78787,7 +79315,7 @@ paths: - merged_by - review_comments examples: - default: &498 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79314,8 +79842,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *263 - - *264 + - *266 + - *267 - name: sort in: query required: false @@ -79344,9 +79872,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: &500 + default: &503 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79423,17 +79951,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '200': description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: &496 + default: &499 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79508,8 +80036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -79532,9 +80060,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: - default: *496 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79550,8 +80078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 + - *266 + - *267 - *73 responses: '204': @@ -79573,8 +80101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -79601,9 +80129,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -79624,8 +80152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *263 - - *264 + - *266 + - *267 - *73 requestBody: required: true @@ -79658,16 +80186,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -79689,10 +80217,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *263 - - *264 + - *266 + - *267 - *73 - - *259 + - *262 responses: '204': description: Response @@ -79735,9 +80263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *263 - - *264 - - &499 + - *266 + - *267 + - &502 name: pull_number description: The number that identifies the pull request. in: path @@ -79750,9 +80278,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '304': *35 '404': *6 '406': @@ -79760,7 +80288,7 @@ paths: content: application/json: schema: *3 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -79787,9 +80315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -79831,9 +80359,9 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: - default: *498 + default: *501 '422': *15 '403': *27 x-github: @@ -79855,9 +80383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -79918,17 +80446,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -79958,9 +80486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *83 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -79981,9 +80509,9 @@ paths: application/json: schema: type: array - items: *495 + items: *498 examples: - default: *500 + default: *503 headers: Link: *57 x-github: @@ -80016,9 +80544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -80124,7 +80652,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: example-for-a-multi-line-comment: value: @@ -80212,9 +80740,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *73 requestBody: required: true @@ -80237,7 +80765,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *498 examples: default: value: @@ -80323,9 +80851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -80335,9 +80863,9 @@ paths: application/json: schema: type: array - items: *391 + items: *394 examples: - default: *501 + default: *504 headers: Link: *57 x-github: @@ -80367,9 +80895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -80379,7 +80907,7 @@ paths: application/json: schema: type: array - items: *403 + items: *406 examples: default: value: @@ -80397,7 +80925,7 @@ paths: headers: Link: *57 '422': *15 - '500': *140 + '500': *143 '503': *62 x-github: githubCloudOnly: false @@ -80417,9 +80945,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 responses: '204': description: Response if pull request has been merged @@ -80442,9 +80970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -80556,9 +81084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 responses: '200': description: Response @@ -80574,7 +81102,7 @@ paths: items: *4 teams: type: array - items: *180 + items: *146 required: - users - teams @@ -80633,9 +81161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -80672,7 +81200,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -81208,9 +81736,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: true content: @@ -81244,7 +81772,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *495 examples: default: value: @@ -81749,9 +82277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 - *17 - *19 responses: @@ -81761,7 +82289,7 @@ paths: application/json: schema: type: array - items: &502 + items: &505 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -81917,9 +82445,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -82009,9 +82537,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &504 + default: &507 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82074,10 +82602,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - &503 + - *266 + - *267 + - *502 + - &506 name: review_id description: The unique identifier of the review. in: path @@ -82089,9 +82617,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: &505 + default: &508 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82150,10 +82678,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82176,7 +82704,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: default: value: @@ -82238,18 +82766,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 responses: '200': description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *504 + default: *507 '422': *7 '404': *6 x-github: @@ -82276,10 +82804,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 - *17 - *19 responses: @@ -82377,9 +82905,9 @@ paths: _links: type: object properties: - self: *396 - html: *396 - pull_request: *396 + self: *399 + html: *399 + pull_request: *399 required: - self - html @@ -82530,10 +83058,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82562,7 +83090,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: default: value: @@ -82625,10 +83153,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *263 - - *264 - - *499 - - *503 + - *266 + - *267 + - *502 + - *506 requestBody: required: true content: @@ -82663,9 +83191,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *505 examples: - default: *505 + default: *508 '404': *6 '422': *7 '403': *27 @@ -82687,9 +83215,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *263 - - *264 - - *499 + - *266 + - *267 + - *502 requestBody: required: false content: @@ -82753,8 +83281,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *263 - - *264 + - *266 + - *267 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -82767,9 +83295,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: &507 + default: &510 value: type: file encoding: base64 @@ -82811,8 +83339,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *263 - - *264 + - *266 + - *267 - name: dir description: The alternate path to look for a README file in: path @@ -82832,9 +83360,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 + default: *510 '404': *6 '422': *15 x-github: @@ -82856,8 +83384,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -82867,7 +83395,7 @@ paths: application/json: schema: type: array - items: &508 + items: &511 title: Release description: A release. type: object @@ -82939,7 +83467,7 @@ paths: author: *4 assets: type: array - items: &509 + items: &512 title: Release Asset description: Data related to a release. type: object @@ -83119,8 +83647,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -83196,9 +83724,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: &512 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83301,9 +83829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *263 - - *264 - - &510 + - *266 + - *267 + - &513 name: asset_id description: The unique identifier of the asset. in: path @@ -83315,9 +83843,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: &511 + default: &514 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 @@ -83351,7 +83879,7 @@ paths: type: User site_admin: false '404': *6 - '302': *405 + '302': *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83367,9 +83895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *263 - - *264 - - *510 + - *266 + - *267 + - *513 requestBody: required: false content: @@ -83398,9 +83926,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *511 + default: *514 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83416,9 +83944,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *263 - - *264 - - *510 + - *266 + - *267 + - *513 responses: '204': description: Response @@ -83442,8 +83970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -83529,16 +84057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83555,8 +84083,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *263 - - *264 + - *266 + - *267 - name: tag description: tag parameter in: path @@ -83569,9 +84097,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -83593,9 +84121,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *263 - - *264 - - &513 + - *266 + - *267 + - &516 name: release_id description: The unique identifier of the release. in: path @@ -83609,9 +84137,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: *508 + schema: *511 examples: - default: *512 + default: *515 '401': description: Unauthorized x-github: @@ -83629,9 +84157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 requestBody: required: false content: @@ -83695,9 +84223,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *511 examples: - default: *512 + default: *515 '404': description: Not Found if the discussion category name is invalid content: @@ -83718,9 +84246,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 responses: '204': description: Response @@ -83740,9 +84268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - *17 - *19 responses: @@ -83752,7 +84280,7 @@ paths: application/json: schema: type: array - items: *509 + items: *512 examples: default: value: @@ -83832,9 +84360,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: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - name: name in: query required: true @@ -83860,7 +84388,7 @@ paths: description: Response for successful upload content: application/json: - schema: *509 + schema: *512 examples: response-for-successful-upload: value: @@ -83914,9 +84442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 - 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. @@ -83940,9 +84468,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 '404': *6 @@ -83963,9 +84491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *263 - - *264 - - *513 + - *266 + - *267 + - *516 requestBody: required: true content: @@ -83995,16 +84523,16 @@ paths: description: Reaction exists content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '201': description: Reaction created content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 '422': *15 x-github: githubCloudOnly: false @@ -84026,10 +84554,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *263 - - *264 - - *513 - - *259 + - *266 + - *267 + - *516 + - *262 responses: '204': description: Response @@ -84053,9 +84581,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *263 - - *264 - - *331 + - *266 + - *267 + - *334 - *17 - *19 responses: @@ -84071,8 +84599,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *514 - - &516 + - *517 + - &519 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84091,66 +84619,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *515 - - *516 - - allOf: - - *517 - - *516 - allOf: - *518 - - *516 - - allOf: - *519 - - *516 - allOf: - *520 - - *516 + - *519 - allOf: - *521 - - *516 + - *519 - allOf: - *522 - - *516 + - *519 - allOf: - *523 - - *516 + - *519 - allOf: - *524 - - *516 + - *519 - allOf: - *525 - - *516 + - *519 - allOf: - *526 - - *516 + - *519 - allOf: - *527 - - *516 + - *519 - allOf: - *528 - - *516 + - *519 - allOf: - *529 - - *516 + - *519 - allOf: - *530 - - *516 + - *519 - allOf: - *531 - - *516 + - *519 - allOf: - *532 - - *516 + - *519 - allOf: - *533 - - *516 + - *519 - allOf: - *534 - - *516 + - *519 - allOf: - *535 - - *516 + - *519 + - allOf: + - *536 + - *519 + - allOf: + - *537 + - *519 + - allOf: + - *538 + - *519 examples: default: value: @@ -84189,8 +84717,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - name: includes_parents @@ -84201,7 +84729,7 @@ paths: schema: type: boolean default: true - - *536 + - *539 responses: '200': description: Response @@ -84209,7 +84737,7 @@ paths: application/json: schema: type: array - items: *229 + items: *232 examples: default: value: @@ -84240,7 +84768,7 @@ paths: created_at: '2023-08-15T08:43:03Z' updated_at: '2023-09-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 post: summary: Create a repository ruleset description: Create a ruleset for a repository. @@ -84256,8 +84784,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 requestBody: description: Request body required: true @@ -84277,16 +84805,16 @@ paths: - tag - push default: branch - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *223 + items: *229 + conditions: *226 rules: type: array description: An array of rules within the ruleset. - items: *228 + items: *231 required: - name - enforcement @@ -84317,9 +84845,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: &546 + default: &549 value: id: 42 name: super cool ruleset @@ -84352,7 +84880,7 @@ paths: created_at: '2023-07-15T08:43:03Z' updated_at: '2023-08-23T16:29:47Z' '404': *6 - '500': *140 + '500': *143 "/repos/{owner}/{repo}/rulesets/rule-suites": get: summary: List repository rule suites @@ -84366,12 +84894,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *263 - - *264 - - *537 - - *538 - - *539 + - *266 + - *267 - *540 + - *541 + - *542 + - *543 - *17 - *19 responses: @@ -84379,11 +84907,11 @@ paths: description: Response content: application/json: - schema: *541 + schema: *544 examples: - default: *542 + default: *545 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84402,19 +84930,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *263 - - *264 - - *543 + - *266 + - *267 + - *546 responses: '200': description: Response content: application/json: - schema: *544 + schema: *547 examples: - default: *545 + default: *548 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84440,8 +84968,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84461,11 +84989,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *546 + default: *549 '404': *6 - '500': *140 + '500': *143 put: summary: Update a repository ruleset description: Update a ruleset for a repository. @@ -84481,8 +85009,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84507,16 +85035,16 @@ paths: - branch - tag - push - enforcement: *225 + enforcement: *228 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *226 - conditions: *223 + items: *229 + conditions: *226 rules: description: An array of rules within the ruleset. type: array - items: *228 + items: *231 examples: default: value: @@ -84544,11 +85072,11 @@ paths: description: Response content: application/json: - schema: *229 + schema: *232 examples: - default: *546 + default: *549 '404': *6 - '500': *140 + '500': *143 delete: summary: Delete a repository ruleset description: Delete a ruleset for a repository. @@ -84564,8 +85092,8 @@ paths: category: repos subcategory: rules parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84576,7 +85104,7 @@ paths: '204': description: Response '404': *6 - '500': *140 + '500': *143 "/repos/{owner}/{repo}/rulesets/{ruleset_id}/history": get: summary: Get repository ruleset history @@ -84588,8 +85116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 - name: ruleset_id @@ -84605,11 +85133,11 @@ paths: application/json: schema: type: array - items: *231 + items: *234 examples: - default: *547 + default: *550 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84626,8 +85154,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *263 - - *264 + - *266 + - *267 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84645,7 +85173,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -84678,7 +85206,7 @@ paths: operator: contains pattern: github '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84700,20 +85228,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *263 - - *264 - - *232 - - *233 - - *234 + - *266 + - *267 - *235 - - *46 - - *19 - - *17 - - *549 - - *550 - *236 - *237 - *238 + - *46 + - *19 + - *17 + - *552 + - *553 + - *239 + - *240 + - *241 responses: '200': description: Response @@ -84721,7 +85249,7 @@ paths: application/json: schema: type: array - items: &553 + items: &556 type: object properties: number: *52 @@ -84737,8 +85265,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *551 - resolution: *552 + state: *554 + resolution: *555 resolved_at: type: - string @@ -84957,15 +85485,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 responses: '200': description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -85017,9 +85545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 requestBody: required: true content: @@ -85027,8 +85555,8 @@ paths: schema: type: object properties: - state: *551 - resolution: *552 + state: *554 + resolution: *555 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85047,7 +85575,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *556 examples: default: value: @@ -85122,9 +85650,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *263 - - *264 - - *362 + - *266 + - *267 + - *365 - *19 - *17 responses: @@ -85135,7 +85663,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &682 + items: &685 type: object properties: type: @@ -85514,8 +86042,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -85523,14 +86051,14 @@ paths: schema: type: object properties: - reason: &555 + reason: &558 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *554 + placeholder_id: *557 required: - reason - placeholder_id @@ -85547,7 +86075,7 @@ paths: schema: type: object properties: - reason: *555 + reason: *558 expire_at: type: - string @@ -85591,8 +86119,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: - - *263 - - *264 + - *266 + - *267 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -85607,7 +86135,7 @@ paths: properties: incremental_scans: type: array - items: &556 + items: &559 description: Information on a single scan performed by secret scanning on the repository type: object @@ -85635,15 +86163,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *556 + items: *559 backfill_scans: type: array - items: *556 + items: *559 custom_pattern_backfill_scans: type: array items: allOf: - - *556 + - *559 - type: object properties: pattern_name: @@ -85713,8 +86241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *263 - - *264 + - *266 + - *267 - *46 - name: sort description: The property to sort the results by. @@ -85758,9 +86286,9 @@ paths: application/json: schema: type: array - items: *557 + items: *560 examples: - default: *558 + default: *561 '400': *14 '404': *6 x-github: @@ -85783,8 +86311,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -85864,7 +86392,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 required: - login - type @@ -85954,9 +86482,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: &560 + default: &563 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86189,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -86303,7 +86831,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: default: value: @@ -86450,17 +86978,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '200': description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *560 + default: *563 '403': *27 '404': *6 x-github: @@ -86484,9 +87012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 requestBody: required: true content: @@ -86566,7 +87094,7 @@ paths: login: type: string description: The username of the user credited. - type: *241 + type: *244 required: - login - type @@ -86657,10 +87185,10 @@ paths: description: Response content: application/json: - schema: *557 + schema: *560 examples: - default: *560 - add_credit: *560 + default: *563 + add_credit: *563 '403': *27 '404': *6 '422': @@ -86698,9 +87226,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: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '202': *45 '400': *14 @@ -86727,17 +87255,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *263 - - *264 - - *559 + - *266 + - *267 + - *562 responses: '202': description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 '400': *14 '422': *15 '403': *27 @@ -86763,8 +87291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -86860,8 +87388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -86870,7 +87398,7 @@ paths: application/json: schema: type: array - items: &561 + items: &564 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -86883,7 +87411,7 @@ paths: - 1124 - -435 '202': *45 - '204': *137 + '204': *140 '422': description: Repository contains more than 10,000 commits x-github: @@ -86903,8 +87431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -86955,7 +87483,7 @@ paths: total: 89 week: 1336280400 '202': *45 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86982,8 +87510,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -87055,7 +87583,7 @@ paths: d: 77 c: 10 '202': *45 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87077,8 +87605,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87232,8 +87760,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87243,7 +87771,7 @@ paths: application/json: schema: type: array - items: *561 + items: *564 examples: default: value: @@ -87256,7 +87784,7 @@ paths: - - 0 - 2 - 21 - '204': *137 + '204': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87276,8 +87804,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *263 - - *264 + - *266 + - *267 - name: sha in: path required: true @@ -87333,7 +87861,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *565 examples: default: value: @@ -87387,8 +87915,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87400,7 +87928,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -87420,14 +87948,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &563 + schema: &566 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87500,8 +88028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: false content: @@ -87527,7 +88055,7 @@ paths: description: Response content: application/json: - schema: *563 + schema: *566 examples: default: value: @@ -87554,8 +88082,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -87575,8 +88103,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87658,8 +88186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -87667,7 +88195,7 @@ paths: application/json: schema: type: array - items: &564 + items: &567 title: Tag protection description: Tag protection type: object @@ -87724,8 +88252,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: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -87748,7 +88276,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: default: value: @@ -87779,8 +88307,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: - - *263 - - *264 + - *266 + - *267 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87817,8 +88345,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *263 - - *264 + - *266 + - *267 - name: ref in: path required: true @@ -87854,8 +88382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *263 - - *264 + - *266 + - *267 - *17 - *19 responses: @@ -87865,9 +88393,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - default: *199 + default: *202 headers: Link: *57 '404': *6 @@ -87887,8 +88415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *263 - - *264 + - *266 + - *267 - *19 - *17 responses: @@ -87896,7 +88424,7 @@ paths: description: Response content: application/json: - schema: &565 + schema: &568 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -87908,7 +88436,7 @@ paths: required: - names examples: - default: &566 + default: &569 value: names: - octocat @@ -87931,8 +88459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -87963,9 +88491,9 @@ paths: description: Response content: application/json: - schema: *565 + schema: *568 examples: - default: *566 + default: *569 '404': *6 '422': *7 x-github: @@ -87986,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *263 - - *264 - - &567 + - *266 + - *267 + - &570 name: per description: The time frame to display results for. in: query @@ -88019,7 +88547,7 @@ paths: - 128 clones: type: array - items: &568 + items: &571 title: Traffic type: object properties: @@ -88106,8 +88634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -88201,8 +88729,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *263 - - *264 + - *266 + - *267 responses: '200': description: Response @@ -88265,9 +88793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *263 - - *264 - - *567 + - *266 + - *267 + - *570 responses: '200': description: Response @@ -88288,7 +88816,7 @@ paths: - 3782 views: type: array - items: *568 + items: *571 required: - uniques - count @@ -88365,8 +88893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *263 - - *264 + - *266 + - *267 requestBody: required: true content: @@ -88640,8 +89168,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88664,8 +89192,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -88687,8 +89215,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -88714,8 +89242,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *263 - - *264 + - *266 + - *267 - name: ref in: path required: true @@ -88807,9 +89335,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89058,7 +89586,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &569 + text_matches: &572 title: Search Result Text Matches type: array items: @@ -89221,7 +89749,7 @@ paths: enum: - author-date - committer-date - - &570 + - &573 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 @@ -89290,7 +89818,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 comment_count: type: integer message: @@ -89309,7 +89837,7 @@ paths: url: type: string format: uri - verification: *440 + verification: *443 required: - author - committer @@ -89324,7 +89852,7 @@ paths: committer: anyOf: - type: 'null' - - *329 + - *332 parents: type: array items: @@ -89341,7 +89869,7 @@ paths: type: number node_id: type: string - text_matches: *569 + text_matches: *572 required: - sha - node_id @@ -89523,7 +90051,7 @@ paths: - interactions - created - updated - - *570 + - *573 - *17 - *19 - name: advanced_search @@ -89647,7 +90175,7 @@ paths: milestone: anyOf: - type: 'null' - - *395 + - *398 comments: type: integer created_at: @@ -89661,7 +90189,7 @@ paths: - string - 'null' format: date-time - text_matches: *569 + text_matches: *572 pull_request: type: object properties: @@ -89710,7 +90238,7 @@ paths: timeline_url: type: string format: uri - type: *181 + type: *184 performed_via_github_app: anyOf: - type: 'null' @@ -89887,7 +90415,7 @@ paths: enum: - created - updated - - *570 + - *573 - *17 - *19 responses: @@ -89932,7 +90460,7 @@ paths: - 'null' score: type: number - text_matches: *569 + text_matches: *572 required: - id - node_id @@ -90017,7 +90545,7 @@ paths: - forks - help-wanted-issues - updated - - *570 + - *573 - *17 - *19 responses: @@ -90254,7 +90782,7 @@ paths: - admin - pull - push - text_matches: *569 + text_matches: *572 temp_clone_token: type: string allow_merge_commit: @@ -90562,7 +91090,7 @@ paths: - string - 'null' format: uri - text_matches: *569 + text_matches: *572 related: type: - array @@ -90755,7 +91283,7 @@ paths: - followers - repositories - joined - - *570 + - *573 - *17 - *19 responses: @@ -90865,7 +91393,7 @@ paths: type: - boolean - 'null' - text_matches: *569 + text_matches: *572 blog: type: - string @@ -90947,7 +91475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &571 + - &574 name: team_id description: The unique identifier of the team. in: path @@ -90959,9 +91487,9 @@ paths: description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 x-github: githubCloudOnly: false @@ -90988,7 +91516,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *571 + - *574 requestBody: required: true content: @@ -91052,16 +91580,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '201': description: Response content: application/json: - schema: *248 + schema: *251 examples: - default: *249 + default: *252 '404': *6 '422': *15 '403': *27 @@ -91089,7 +91617,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *571 + - *574 responses: '204': description: Response @@ -91120,7 +91648,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *571 + - *574 - *46 - *17 - *19 @@ -91131,9 +91659,9 @@ paths: application/json: schema: type: array - items: *250 + items: *253 examples: - default: *572 + default: *575 headers: Link: *57 x-github: @@ -91162,7 +91690,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *571 + - *574 requestBody: required: true content: @@ -91196,9 +91724,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: triggersNotification: true githubCloudOnly: false @@ -91225,16 +91753,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 responses: '200': description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *251 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91259,8 +91787,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: false content: @@ -91283,9 +91811,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *253 examples: - default: *573 + default: *576 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91310,8 +91838,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 responses: '204': description: Response @@ -91340,8 +91868,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *571 - - *252 + - *574 + - *255 - *46 - *17 - *19 @@ -91352,9 +91880,9 @@ paths: application/json: schema: type: array - items: *253 + items: *256 examples: - default: *574 + default: *577 headers: Link: *57 x-github: @@ -91383,8 +91911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: true content: @@ -91406,9 +91934,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: triggersNotification: true githubCloudOnly: false @@ -91435,17 +91963,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 responses: '200': description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *254 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91470,9 +91998,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 requestBody: required: true content: @@ -91494,9 +92022,9 @@ paths: description: Response content: application/json: - schema: *253 + schema: *256 examples: - default: *575 + default: *578 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91521,9 +92049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 responses: '204': description: Response @@ -91552,9 +92080,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 - 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. @@ -91580,9 +92108,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -91611,9 +92139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *571 - - *252 + - *574 - *255 + - *258 requestBody: required: true content: @@ -91645,9 +92173,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91673,8 +92201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 - 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. @@ -91700,9 +92228,9 @@ paths: application/json: schema: type: array - items: *256 + items: *259 examples: - default: *258 + default: *261 headers: Link: *57 x-github: @@ -91731,8 +92259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *571 - - *252 + - *574 + - *255 requestBody: required: true content: @@ -91764,9 +92292,9 @@ paths: description: Response content: application/json: - schema: *256 + schema: *259 examples: - default: *257 + default: *260 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -91790,7 +92318,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -91800,9 +92328,9 @@ paths: application/json: schema: type: array - items: *177 + items: *181 examples: - default: *178 + default: *182 headers: Link: *57 x-github: @@ -91828,7 +92356,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *571 + - *574 - name: role description: Filters members returned by their role in the team. in: query @@ -91851,7 +92379,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '404': *6 @@ -91879,7 +92407,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91916,7 +92444,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91956,7 +92484,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -91993,16 +92521,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 responses: '200': description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-user-is-a-team-maintainer: *576 + response-if-user-is-a-team-maintainer: *579 '404': *6 x-github: githubCloudOnly: false @@ -92035,7 +92563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 requestBody: required: false @@ -92061,9 +92589,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *263 examples: - response-if-users-membership-with-team-is-now-pending: *577 + response-if-users-membership-with-team-is-now-pending: *580 '403': description: Forbidden if team synchronization is set up '422': @@ -92097,7 +92625,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *571 + - *574 - *128 responses: '204': @@ -92126,7 +92654,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92136,9 +92664,9 @@ paths: application/json: schema: type: array - items: *261 + items: *264 examples: - default: *578 + default: *581 headers: Link: *57 '404': *6 @@ -92164,16 +92692,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *571 - - *262 + - *574 + - *265 responses: '200': description: Response content: application/json: - schema: *261 + schema: *264 examples: - default: *579 + default: *582 '404': description: Not Found if project is not managed by this team x-github: @@ -92197,8 +92725,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *571 - - *262 + - *574 + - *265 requestBody: required: false content: @@ -92265,8 +92793,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *571 - - *262 + - *574 + - *265 responses: '204': description: Response @@ -92293,7 +92821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92305,7 +92833,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '404': *6 @@ -92335,15 +92863,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *580 + schema: *583 examples: alternative-response-with-extra-repository-information: value: @@ -92494,9 +93022,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 requestBody: required: false content: @@ -92546,9 +93074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *571 - - *263 - - *264 + - *574 + - *266 + - *267 responses: '204': description: Response @@ -92573,7 +93101,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *571 + - *574 - *17 - *19 responses: @@ -92583,9 +93111,9 @@ paths: application/json: schema: type: array - items: *180 + items: *146 examples: - response-if-child-teams-exist: *581 + response-if-child-teams-exist: *584 headers: Link: *57 '404': *6 @@ -92618,7 +93146,7 @@ paths: application/json: schema: oneOf: - - &583 + - &586 title: Private User description: Private User type: object @@ -92868,7 +93396,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *582 + - *585 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -93028,7 +93556,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -93107,7 +93635,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 '304': *35 '404': *6 '403': *27 @@ -93231,11 +93759,11 @@ paths: type: integer codespaces: type: array - items: *187 + items: *190 examples: - default: *188 + default: *191 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93372,17 +93900,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -93426,7 +93954,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &587 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -93468,7 +93996,7 @@ paths: - visibility - selected_repositories_url examples: - default: *384 + default: *387 headers: Link: *57 x-github: @@ -93546,7 +94074,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *587 examples: default: value: @@ -93692,11 +94220,11 @@ paths: type: array items: *115 examples: - default: *585 + default: *588 '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93749,7 +94277,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93783,7 +94311,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93816,7 +94344,7 @@ paths: '401': *23 '403': *27 '404': *6 - '500': *140 + '500': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93836,17 +94364,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93870,7 +94398,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 requestBody: required: false content: @@ -93900,9 +94428,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '401': *23 '403': *27 '404': *6 @@ -93924,11 +94452,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '202': *45 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -93953,13 +94481,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '202': description: Response content: application/json: - schema: &586 + schema: &589 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -94012,7 +94540,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &587 + default: &590 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -94020,7 +94548,7 @@ paths: sha: fd95a81ca01e48ede9f39c799ecbcef817b8a3b2 id: latest export_url: https://api.github.com/user/codespaces/:name/exports/latest - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -94044,7 +94572,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *189 + - *192 - name: export_id in: path required: true @@ -94057,9 +94585,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *589 examples: - default: *587 + default: *590 '404': *6 x-github: githubCloudOnly: false @@ -94080,7 +94608,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *189 + - *192 responses: '200': description: Response @@ -94096,11 +94624,11 @@ paths: type: integer machines: type: array - items: *383 + items: *386 examples: - default: *588 + default: *591 '304': *35 - '500': *140 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -94127,7 +94655,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *189 + - *192 requestBody: required: true content: @@ -94183,11 +94711,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *274 + repository: *277 machine: anyOf: - type: 'null' - - *383 + - *386 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -94984,17 +95512,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 + default: *385 '304': *35 - '500': *140 + '500': *143 '400': *14 '401': *23 '402': @@ -95024,16 +95552,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *189 + - *192 responses: '200': description: Response content: application/json: - schema: *187 + schema: *190 examples: - default: *382 - '500': *140 + default: *385 + '500': *143 '401': *23 '403': *27 '404': *6 @@ -95062,9 +95590,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: &601 + default: &604 value: - id: 197 name: hello_docker @@ -95165,7 +95693,7 @@ paths: application/json: schema: type: array - items: &589 + items: &592 title: Email description: Email type: object @@ -95235,9 +95763,9 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: - default: &603 + default: &606 value: - email: octocat@github.com verified: true @@ -95314,7 +95842,7 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: default: value: @@ -95426,7 +95954,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '304': *35 @@ -95459,7 +95987,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 '304': *35 @@ -95572,7 +96100,7 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: GPG Key description: A unique encryption key type: object @@ -95717,7 +96245,7 @@ paths: - subkeys - revoked examples: - default: &614 + default: &617 value: - id: 3 name: Octocat's GPG Key @@ -95802,9 +96330,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &591 + default: &594 value: id: 3 name: Octocat's GPG Key @@ -95861,7 +96389,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &592 + - &595 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -95873,9 +96401,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *591 + default: *594 '404': *6 '304': *35 '403': *27 @@ -95898,7 +96426,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *592 + - *595 responses: '204': description: Response @@ -96089,7 +96617,7 @@ paths: type: array items: *59 examples: - default: *593 + default: *596 headers: Link: *57 '404': *6 @@ -96174,12 +96702,12 @@ paths: application/json: schema: anyOf: - - *175 + - *179 - type: object properties: {} additionalProperties: false examples: - default: *176 + default: *180 '204': description: Response when there are no restrictions x-github: @@ -96203,7 +96731,7 @@ paths: required: true content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -96214,7 +96742,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *179 examples: default: value: @@ -96295,7 +96823,7 @@ paths: - closed - all default: open - - *184 + - *187 - name: sort description: What to sort results by. in: query @@ -96320,7 +96848,7 @@ paths: type: array items: *74 examples: - default: *185 + default: *188 headers: Link: *57 '404': *6 @@ -96353,7 +96881,7 @@ paths: application/json: schema: type: array - items: &594 + items: &597 title: Key description: Key type: object @@ -96451,9 +96979,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: &595 + default: &598 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96486,15 +97014,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *478 + - *481 responses: '200': description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *595 + default: *598 '404': *6 '304': *35 '403': *27 @@ -96517,7 +97045,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *478 + - *481 responses: '204': description: Response @@ -96550,7 +97078,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -96629,7 +97157,7 @@ paths: - account - plan examples: - default: &597 + default: &600 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -96691,9 +97219,9 @@ paths: application/json: schema: type: array - items: *596 + items: *599 examples: - default: *597 + default: *600 headers: Link: *57 '304': *35 @@ -96733,7 +97261,7 @@ paths: application/json: schema: type: array - items: *191 + items: *194 examples: default: value: @@ -96841,7 +97369,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: default: value: @@ -96924,7 +97452,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *194 examples: default: value: @@ -96992,7 +97520,7 @@ paths: application/json: schema: type: array - items: *193 + items: *196 examples: default: value: @@ -97254,7 +97782,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -97434,7 +97962,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *194 + - *197 - name: exclude in: query required: false @@ -97447,7 +97975,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *196 examples: default: value: @@ -97641,7 +98169,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *194 + - *197 responses: '302': description: Response @@ -97667,7 +98195,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *194 + - *197 responses: '204': description: Response @@ -97696,8 +98224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *194 - - *598 + - *197 + - *601 responses: '204': description: Response @@ -97721,7 +98249,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *194 + - *197 - *17 - *19 responses: @@ -97733,7 +98261,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '404': *6 @@ -97768,9 +98296,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *599 + default: *602 headers: Link: *57 '304': *35 @@ -97812,7 +98340,7 @@ paths: - docker - nuget - container - - *600 + - *603 - *19 - *17 responses: @@ -97822,10 +98350,10 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 - '400': *602 + default: *604 + '400': *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97845,16 +98373,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 responses: '200': description: Response content: application/json: - schema: *200 + schema: *203 examples: - default: &615 + default: &618 value: id: 40201 name: octo-name @@ -97967,8 +98495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 responses: '204': description: Response @@ -97998,8 +98526,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *202 - - *203 + - *205 + - *206 - name: token description: package token schema: @@ -98031,8 +98559,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: - - *202 - - *203 + - *205 + - *206 - *19 - *17 - name: state @@ -98052,7 +98580,7 @@ paths: application/json: schema: type: array - items: *204 + items: *207 examples: default: value: @@ -98101,15 +98629,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '200': description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -98145,9 +98673,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '204': description: Response @@ -98177,9 +98705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 responses: '204': description: Response @@ -98237,7 +98765,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *219 examples: default: value: @@ -98309,9 +98837,9 @@ paths: application/json: schema: type: array - items: *589 + items: *592 examples: - default: *603 + default: *606 headers: Link: *57 '304': *35 @@ -98424,7 +98952,7 @@ paths: type: array items: *59 examples: - default: &610 + default: &613 summary: Default response value: - id: 1296269 @@ -98742,9 +99270,9 @@ paths: description: Response content: application/json: - schema: *274 + schema: *277 examples: - default: *276 + default: *279 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -98782,9 +99310,9 @@ paths: application/json: schema: type: array - items: *453 + items: *456 examples: - default: *604 + default: *607 headers: Link: *57 '304': *35 @@ -98807,7 +99335,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *179 + - *183 responses: '204': description: Response @@ -98830,7 +99358,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *179 + - *183 responses: '204': description: Response @@ -98863,7 +99391,7 @@ paths: application/json: schema: type: array - items: &605 + items: &608 title: Social account description: Social media account type: object @@ -98880,7 +99408,7 @@ paths: - provider - url examples: - default: &606 + default: &609 value: - provider: twitter url: https://twitter.com/github @@ -98943,9 +99471,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 '422': *15 '304': *35 '404': *6 @@ -99033,7 +99561,7 @@ paths: application/json: schema: type: array - items: &607 + items: &610 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -99053,7 +99581,7 @@ paths: - title - created_at examples: - default: &622 + default: &625 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99120,9 +99648,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: &608 + default: &611 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99153,7 +99681,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: - - &609 + - &612 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -99165,9 +99693,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *610 examples: - default: *608 + default: *611 '404': *6 '304': *35 '403': *27 @@ -99190,7 +99718,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: - - *609 + - *612 responses: '204': description: Response @@ -99219,7 +99747,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &623 + - &626 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 @@ -99244,11 +99772,11 @@ paths: type: array items: *59 examples: - default-response: *610 + default-response: *613 application/vnd.github.v3.star+json: schema: type: array - items: &624 + items: &627 title: Starred Repository description: Starred Repository type: object @@ -99404,8 +99932,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: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response if this repository is starred by you @@ -99433,8 +99961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -99458,8 +99986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *263 - - *264 + - *266 + - *267 responses: '204': description: Response @@ -99494,7 +100022,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 '304': *35 @@ -99531,7 +100059,7 @@ paths: application/json: schema: type: array - items: *248 + items: *251 examples: default: value: @@ -99617,10 +100145,10 @@ paths: application/json: schema: oneOf: - - *583 - - *582 + - *586 + - *585 examples: - default-response: &612 + default-response: &615 summary: Default response value: login: octocat @@ -99655,7 +100183,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &613 + response-with-git-hub-plan-information: &616 summary: Response with GitHub plan information value: login: octocat @@ -99715,7 +100243,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *611 + - *614 - *17 responses: '200': @@ -99726,7 +100254,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: example: ; rel="next" @@ -99764,11 +100292,11 @@ paths: application/json: schema: oneOf: - - *583 - - *582 + - *586 + - *585 examples: - default-response: *612 - response-with-git-hub-plan-information: *613 + default-response: *615 + response-with-git-hub-plan-information: *616 '404': *6 x-github: githubCloudOnly: false @@ -99844,7 +100372,7 @@ paths: bundle_url: type: string examples: - default: *325 + default: *328 '201': description: Response content: @@ -99883,9 +100411,9 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 + default: *604 '403': *27 '401': *23 x-github: @@ -100168,7 +100696,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -100199,7 +100727,7 @@ paths: type: array items: *4 examples: - default: *186 + default: *189 headers: Link: *57 x-github: @@ -100289,9 +100817,9 @@ paths: application/json: schema: type: array - items: *590 + items: *593 examples: - default: *614 + default: *617 headers: Link: *57 x-github: @@ -100395,7 +100923,7 @@ paths: application/json: schema: *20 examples: - default: *450 + default: *453 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100471,9 +100999,9 @@ paths: application/json: schema: type: array - items: *142 + items: *145 examples: - default: *599 + default: *602 headers: Link: *57 x-github: @@ -100512,7 +101040,7 @@ paths: - docker - nuget - container - - *600 + - *603 - *128 - *19 - *17 @@ -100523,12 +101051,12 @@ paths: application/json: schema: type: array - items: *200 + items: *203 examples: - default: *601 + default: *604 '403': *27 '401': *23 - '400': *602 + '400': *605 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100548,17 +101076,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 responses: '200': description: Response content: application/json: - schema: *200 + schema: *203 examples: - default: *615 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100579,8 +101107,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 responses: '204': @@ -100613,8 +101141,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *202 - - *203 + - *205 + - *206 - *128 - name: token description: package token @@ -100647,8 +101175,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: - - *202 - - *203 + - *205 + - *206 - *128 responses: '200': @@ -100657,7 +101185,7 @@ paths: application/json: schema: type: array - items: *204 + items: *207 examples: default: value: @@ -100715,16 +101243,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *202 - - *203 - *205 + - *206 + - *208 - *128 responses: '200': description: Response content: application/json: - schema: *204 + schema: *207 examples: default: value: @@ -100759,10 +101287,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *202 - - *203 - - *128 - *205 + - *206 + - *128 + - *208 responses: '204': description: Response @@ -100794,10 +101322,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *202 - - *203 - - *128 - *205 + - *206 + - *128 + - *208 responses: '204': description: Response @@ -100844,7 +101372,7 @@ paths: application/json: schema: type: array - items: *216 + items: *219 examples: default: value: @@ -101127,7 +101655,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -101157,9 +101685,9 @@ paths: description: Response content: application/json: - schema: *616 + schema: *619 examples: - default: *617 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101187,9 +101715,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *621 examples: - default: *619 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101217,9 +101745,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *623 examples: - default: *621 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -101247,9 +101775,9 @@ paths: application/json: schema: type: array - items: *605 + items: *608 examples: - default: *606 + default: *609 headers: Link: *57 x-github: @@ -101279,9 +101807,9 @@ paths: application/json: schema: type: array - items: *607 + items: *610 examples: - default: *622 + default: *625 headers: Link: *57 x-github: @@ -101306,7 +101834,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *128 - - *623 + - *626 - *46 - *17 - *19 @@ -101318,11 +101846,11 @@ paths: schema: anyOf: - type: array - items: *624 + items: *627 - type: array items: *59 examples: - default-response: *610 + default-response: *613 headers: Link: *57 x-github: @@ -101353,7 +101881,7 @@ paths: type: array items: *115 examples: - default: *206 + default: *209 headers: Link: *57 x-github: @@ -101482,7 +102010,7 @@ webhooks: type: string enum: - disabled - enterprise: &625 + enterprise: &628 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -101551,7 +102079,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &626 + installation: &629 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -101572,7 +102100,7 @@ webhooks: required: - id - node_id - organization: &627 + organization: &630 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -101645,7 +102173,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &628 + repository: &631 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -102558,10 +103086,10 @@ webhooks: type: string enum: - enabled - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -102637,11 +103165,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: &629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: &632 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) @@ -102864,11 +103392,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: *629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: *632 sender: *4 required: - action @@ -103056,11 +103584,11 @@ webhooks: - everyone required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - rule: *629 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + rule: *632 sender: *4 required: - action @@ -103144,7 +103672,7 @@ webhooks: type: string enum: - completed - check_run: &631 + check_run: &634 title: CheckRun description: A check performed on the code of a given code change type: object @@ -103212,7 +103740,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *342 + items: *345 repository: *115 status: type: string @@ -103257,7 +103785,7 @@ webhooks: - examples: - neutral - deployment: *630 + deployment: *633 details_url: type: string examples: @@ -103317,7 +103845,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *342 + items: *345 started_at: type: string format: date-time @@ -103355,9 +103883,9 @@ webhooks: - output - app - pull_requests - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -103750,10 +104278,10 @@ webhooks: type: string enum: - created - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -104149,10 +104677,10 @@ webhooks: type: string enum: - requested_action - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 requested_action: description: The action requested by the user. type: object @@ -104557,10 +105085,10 @@ webhooks: type: string enum: - rerequested - check_run: *631 - installation: *626 - organization: *627 - repository: *628 + check_run: *634 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - check_run @@ -105552,10 +106080,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -106240,10 +106768,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -106922,10 +107450,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -107091,7 +107619,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107243,20 +107771,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &632 + commit_oid: &635 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: *625 - installation: *626 - organization: *627 - ref: &633 + enterprise: *628 + installation: *629 + organization: *630 + ref: &636 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: *628 + repository: *631 sender: *4 required: - action @@ -107420,7 +107948,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -107661,12 +108189,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -107764,7 +108292,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -107946,12 +108474,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -108117,7 +108645,7 @@ webhooks: required: - login - id - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -108294,12 +108822,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -108399,7 +108927,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108579,9 +109107,9 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -108589,7 +109117,7 @@ webhooks: type: - string - 'null' - repository: *628 + repository: *631 sender: *4 required: - action @@ -108685,7 +109213,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *357 + dismissed_comment: *360 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -108832,12 +109360,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *632 - enterprise: *625 - installation: *626 - organization: *627 - ref: *633 - repository: *628 + commit_oid: *635 + enterprise: *628 + installation: *629 + organization: *630 + ref: *636 + repository: *631 sender: *4 required: - action @@ -109099,10 +109627,10 @@ webhooks: - updated_at - author_association - body - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -109183,18 +109711,18 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *627 - pusher_type: &634 + organization: *630 + pusher_type: &637 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &635 + ref: &638 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -109204,7 +109732,7 @@ webhooks: enum: - tag - branch - repository: *628 + repository: *631 sender: *4 required: - ref @@ -109286,10 +109814,10 @@ webhooks: type: string enum: - created - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109374,9 +109902,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109453,10 +109981,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109533,10 +110061,10 @@ webhooks: type: string enum: - updated - definition: *217 - enterprise: *625 - installation: *626 - organization: *627 + definition: *220 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -109613,19 +110141,19 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - repository: *628 - organization: *627 + enterprise: *628 + installation: *629 + repository: *631 + organization: *630 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *221 + items: *224 old_property_values: type: array description: The old custom property values for the repository. - items: *221 + items: *224 required: - action - repository @@ -109701,18 +110229,18 @@ webhooks: title: delete event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - pusher_type: *634 - ref: *635 + enterprise: *628 + installation: *629 + organization: *630 + pusher_type: *637 + ref: *638 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *628 + repository: *631 sender: *4 required: - ref @@ -109796,11 +110324,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -109884,11 +110412,11 @@ webhooks: type: string enum: - auto_reopened - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -109972,11 +110500,11 @@ webhooks: type: string enum: - created - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110058,11 +110586,11 @@ webhooks: type: string enum: - dismissed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110144,11 +110672,11 @@ webhooks: type: string enum: - fixed - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110231,11 +110759,11 @@ webhooks: type: string enum: - reintroduced - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110317,11 +110845,11 @@ webhooks: type: string enum: - reopened - alert: *409 - installation: *626 - organization: *627 - enterprise: *625 - repository: *628 + alert: *412 + installation: *629 + organization: *630 + enterprise: *628 + repository: *631 sender: *4 required: - action @@ -110398,9 +110926,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - key: &636 + enterprise: *628 + installation: *629 + key: &639 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -110438,8 +110966,8 @@ webhooks: - verified - created_at - read_only - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -110516,11 +111044,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - key: *636 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + key: *639 + organization: *630 + repository: *631 sender: *4 required: - action @@ -111092,12 +111620,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: &640 + workflow: &643 title: Workflow type: - object @@ -111835,13 +112363,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *415 + deployment: *418 pull_requests: type: array - items: *497 - repository: *628 - organization: *627 - installation: *626 + items: *500 + repository: *631 + organization: *630 + installation: *629 sender: *4 responses: '200': @@ -111912,7 +112440,7 @@ webhooks: type: string enum: - approved - approver: &637 + approver: &640 type: object properties: avatar_url: @@ -111955,11 +112483,11 @@ webhooks: type: string comment: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - reviewers: &638 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + reviewers: &641 type: array items: type: object @@ -112040,7 +112568,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &639 + workflow_job_run: &642 type: object properties: conclusion: @@ -112786,18 +113314,18 @@ webhooks: type: string enum: - rejected - approver: *637 + approver: *640 comment: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - reviewers: *638 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + reviewers: *641 sender: *4 since: type: string - workflow_job_run: *639 + workflow_job_run: *642 workflow_job_runs: type: array items: @@ -113514,13 +114042,13 @@ webhooks: type: string enum: - requested - enterprise: *625 + enterprise: *628 environment: type: string - installation: *626 - organization: *627 - repository: *628 - requestor: &645 + installation: *629 + organization: *630 + repository: *631 + requestor: &648 title: User type: - object @@ -115463,12 +115991,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Deployment Workflow Run type: @@ -116159,7 +116687,7 @@ webhooks: type: string enum: - answered - answer: &643 + answer: &646 type: object properties: author_association: @@ -116319,7 +116847,7 @@ webhooks: - created_at - updated_at - body - discussion: &641 + discussion: &644 title: Discussion description: A Discussion in a repository. type: object @@ -116615,7 +117143,7 @@ webhooks: - id labels: type: array - items: *460 + items: *463 required: - repository_url - category @@ -116637,10 +117165,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116767,11 +117295,11 @@ webhooks: - from required: - category - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116854,11 +117382,11 @@ webhooks: type: string enum: - closed - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -116940,7 +117468,7 @@ webhooks: type: string enum: - created - comment: &642 + comment: &645 type: object properties: author_association: @@ -117100,11 +117628,11 @@ webhooks: - updated_at - body - reactions - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117187,12 +117715,12 @@ webhooks: type: string enum: - deleted - comment: *642 - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + comment: *645 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117287,12 +117815,12 @@ webhooks: - from required: - body - comment: *642 - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + comment: *645 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117376,11 +117904,11 @@ webhooks: type: string enum: - created - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117462,11 +117990,11 @@ webhooks: type: string enum: - deleted - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117566,11 +118094,11 @@ webhooks: type: string required: - from - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117652,10 +118180,10 @@ webhooks: type: string enum: - labeled - discussion: *641 - enterprise: *625 - installation: *626 - label: &644 + discussion: *644 + enterprise: *628 + installation: *629 + label: &647 title: Label type: object properties: @@ -117688,8 +118216,8 @@ webhooks: - color - default - description - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117772,11 +118300,11 @@ webhooks: type: string enum: - locked - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117858,11 +118386,11 @@ webhooks: type: string enum: - pinned - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -117944,11 +118472,11 @@ webhooks: type: string enum: - reopened - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118033,16 +118561,16 @@ webhooks: changes: type: object properties: - new_discussion: *641 - new_repository: *628 + new_discussion: *644 + new_repository: *631 required: - new_discussion - new_repository - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118125,10 +118653,10 @@ webhooks: type: string enum: - unanswered - discussion: *641 - old_answer: *643 - organization: *627 - repository: *628 + discussion: *644 + old_answer: *646 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118210,12 +118738,12 @@ webhooks: type: string enum: - unlabeled - discussion: *641 - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118298,11 +118826,11 @@ webhooks: type: string enum: - unlocked - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118384,11 +118912,11 @@ webhooks: type: string enum: - unpinned - discussion: *641 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + discussion: *644 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -118461,7 +118989,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *625 + enterprise: *628 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -119139,9 +119667,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - forkee @@ -119287,9 +119815,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pages: description: The pages that were updated. type: array @@ -119327,7 +119855,7 @@ webhooks: - action - sha - html_url - repository: *628 + repository: *631 sender: *4 required: - pages @@ -119403,10 +119931,10 @@ webhooks: type: string enum: - created - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: &646 + organization: *630 + repositories: &649 description: An array of repository objects that the installation can access. type: array @@ -119432,8 +119960,8 @@ webhooks: - name - full_name - private - repository: *628 - requester: *645 + repository: *631 + requester: *648 sender: *4 required: - action @@ -119508,11 +120036,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -119589,11 +120117,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -119670,10 +120198,10 @@ webhooks: type: string enum: - added - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories_added: &647 + organization: *630 + repositories_added: &650 description: An array of repository objects, which were added to the installation. type: array @@ -119719,15 +120247,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *628 - repository_selection: &648 + repository: *631 + repository_selection: &651 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *645 + requester: *648 sender: *4 required: - action @@ -119806,10 +120334,10 @@ webhooks: type: string enum: - removed - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories_added: *647 + organization: *630 + repositories_added: *650 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -119836,9 +120364,9 @@ webhooks: - name - full_name - private - repository: *628 - repository_selection: *648 - requester: *645 + repository: *631 + repository_selection: *651 + requester: *648 sender: *4 required: - action @@ -119917,11 +120445,11 @@ webhooks: type: string enum: - suspend - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -120103,10 +120631,10 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 target_type: type: string @@ -120185,11 +120713,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *625 + enterprise: *628 installation: *20 - organization: *627 - repositories: *646 - repository: *628 + organization: *630 + repositories: *649 + repository: *631 requester: type: - 'null' @@ -120437,8 +120965,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121285,7 +121813,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -121629,8 +122157,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -121710,7 +122238,7 @@ webhooks: type: string enum: - deleted - comment: &649 + comment: &652 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -121877,8 +122405,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -122721,7 +123249,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -123067,8 +123595,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -123148,7 +123676,7 @@ webhooks: type: string enum: - edited - changes: &674 + changes: &677 description: The changes to the comment. type: object properties: @@ -123160,9 +123688,9 @@ webhooks: type: string required: - from - comment: *649 - enterprise: *625 - installation: *626 + comment: *652 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124008,7 +124536,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -124352,8 +124880,8 @@ webhooks: - state - locked - assignee - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -124435,10 +124963,10 @@ webhooks: type: string enum: - assigned - assignee: *645 - enterprise: *625 - installation: *626 - issue: &652 + assignee: *648 + enterprise: *628 + installation: *629 + issue: &655 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -125280,7 +125808,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -125383,8 +125911,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -125464,8 +125992,8 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -126312,7 +126840,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -126558,8 +127086,8 @@ webhooks: required: - state - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -126638,8 +127166,8 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127475,7 +128003,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -127577,8 +128105,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -127657,8 +128185,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128519,7 +129047,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -128600,7 +129128,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &650 + milestone: &653 title: Milestone description: A collection of related issues and pull requests. type: object @@ -128743,8 +129271,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -128843,8 +129371,8 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129683,7 +130211,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -129789,9 +130317,9 @@ webhooks: - active_lock_reason - body - reactions - label: *644 - organization: *627 - repository: *628 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -129871,8 +130399,8 @@ webhooks: type: string enum: - labeled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130710,7 +131238,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -130816,9 +131344,9 @@ webhooks: - active_lock_reason - body - reactions - label: *644 - organization: *627 - repository: *628 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -130898,8 +131426,8 @@ webhooks: type: string enum: - locked - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131762,7 +132290,7 @@ webhooks: timeline_url: type: string format: uri - type: *181 + type: *184 title: description: Title of the issue type: string @@ -131845,8 +132373,8 @@ webhooks: format: uri user_view_type: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -131925,8 +132453,8 @@ webhooks: type: string enum: - milestoned - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132786,7 +133314,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -132866,9 +133394,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *650 - organization: *627 - repository: *628 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -134368,8 +134896,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135211,7 +135739,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -135313,8 +135841,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -135394,9 +135922,9 @@ webhooks: type: string enum: - pinned - enterprise: *625 - installation: *626 - issue: &651 + enterprise: *628 + installation: *629 + issue: &654 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -136232,7 +136760,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -136334,8 +136862,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -136414,8 +136942,8 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137359,9 +137887,9 @@ webhooks: format: uri user_view_type: type: string - type: *181 - organization: *627 - repository: *628 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -138280,7 +138808,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -138862,11 +139390,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *625 - installation: *626 - issue: *651 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *654 + organization: *630 + repository: *631 sender: *4 required: - action @@ -138946,12 +139474,12 @@ webhooks: type: string enum: - typed - enterprise: *625 - installation: *626 - issue: *652 - type: *181 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139032,7 +139560,7 @@ webhooks: type: string enum: - unassigned - assignee: &677 + assignee: &680 title: User type: - object @@ -139104,11 +139632,11 @@ webhooks: required: - login - id - enterprise: *625 - installation: *626 - issue: *652 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139187,12 +139715,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *625 - installation: *626 - issue: *652 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -139272,8 +139800,8 @@ webhooks: type: string enum: - unlocked - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140137,7 +140665,7 @@ webhooks: title: description: Title of the issue type: string - type: *181 + type: *184 updated_at: type: string format: date-time @@ -140217,8 +140745,8 @@ webhooks: format: uri user_view_type: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140298,11 +140826,11 @@ webhooks: type: string enum: - unpinned - enterprise: *625 - installation: *626 - issue: *651 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *654 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140381,12 +140909,12 @@ webhooks: type: string enum: - untyped - enterprise: *625 - installation: *626 - issue: *652 - type: *181 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + issue: *655 + type: *184 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140466,11 +140994,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140548,11 +141076,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140662,11 +141190,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - label: *644 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + label: *647 + organization: *630 + repository: *631 sender: *4 required: - action @@ -140748,9 +141276,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: &653 + enterprise: *628 + installation: *629 + marketplace_purchase: &656 title: Marketplace Purchase type: object required: @@ -140838,8 +141366,8 @@ webhooks: type: integer unit_count: type: integer - organization: *627 - previous_marketplace_purchase: &654 + organization: *630 + previous_marketplace_purchase: &657 title: Marketplace Purchase type: object properties: @@ -140923,7 +141451,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141003,10 +141531,10 @@ webhooks: - changed effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141094,7 +141622,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141176,10 +141704,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -141265,7 +141793,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *628 + repository: *631 sender: *4 required: - action @@ -141346,8 +141874,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 marketplace_purchase: title: Marketplace Purchase type: object @@ -141433,9 +141961,9 @@ webhooks: type: integer unit_count: type: integer - organization: *627 - previous_marketplace_purchase: *654 - repository: *628 + organization: *630 + previous_marketplace_purchase: *657 + repository: *631 sender: *4 required: - action @@ -141515,12 +142043,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *625 - installation: *626 - marketplace_purchase: *653 - organization: *627 - previous_marketplace_purchase: *654 - repository: *628 + enterprise: *628 + installation: *629 + marketplace_purchase: *656 + organization: *630 + previous_marketplace_purchase: *657 + repository: *631 sender: *4 required: - action @@ -141622,11 +142150,11 @@ webhooks: type: string required: - to - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141728,11 +142256,11 @@ webhooks: type: - string - 'null' - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141811,11 +142339,11 @@ webhooks: type: string enum: - removed - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 sender: *4 required: - action @@ -141893,11 +142421,11 @@ webhooks: type: string enum: - added - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 scope: description: The scope of the membership. Currently, can only be `team`. @@ -141975,7 +142503,7 @@ webhooks: required: - login - id - team: &655 + team: &658 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -142168,11 +142696,11 @@ webhooks: type: string enum: - removed - enterprise: *625 - installation: *626 - member: *645 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + member: *648 + organization: *630 + repository: *631 scope: description: The scope of the membership. Currently, can only be `team`. @@ -142251,7 +142779,7 @@ webhooks: required: - login - id - team: *655 + team: *658 required: - action - scope @@ -142333,8 +142861,8 @@ webhooks: type: string enum: - checks_requested - installation: *626 - merge_group: &656 + installation: *629 + merge_group: &659 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -142353,15 +142881,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *346 + head_commit: *349 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142447,10 +142975,10 @@ webhooks: - merged - invalidated - dequeued - installation: *626 - merge_group: *656 - organization: *627 - repository: *628 + installation: *629 + merge_group: *659 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142523,7 +143051,7 @@ webhooks: type: string enum: - deleted - enterprise: *625 + enterprise: *628 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -142631,12 +143159,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *626 - organization: *627 + installation: *629 + organization: *630 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -142716,11 +143244,11 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -142799,9 +143327,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - milestone: &657 + enterprise: *628 + installation: *629 + milestone: &660 title: Milestone description: A collection of related issues and pull requests. type: object @@ -142943,8 +143471,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143023,11 +143551,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143137,11 +143665,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - milestone: *650 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *653 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143221,11 +143749,11 @@ webhooks: type: string enum: - opened - enterprise: *625 - installation: *626 - milestone: *657 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + milestone: *660 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143304,11 +143832,11 @@ webhooks: type: string enum: - blocked - blocked_user: *645 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + blocked_user: *648 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143387,11 +143915,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *645 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + blocked_user: *648 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143470,9 +143998,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - membership: &658 + enterprise: *628 + installation: *629 + membership: &661 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -143566,8 +144094,8 @@ webhooks: - role - organization_url - user - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143645,11 +144173,11 @@ webhooks: type: string enum: - member_added - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -143728,8 +144256,8 @@ webhooks: type: string enum: - member_invited - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -143851,10 +144379,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 - user: *645 + user: *648 required: - action - invitation @@ -143932,11 +144460,11 @@ webhooks: type: string enum: - member_removed - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -144023,11 +144551,11 @@ webhooks: properties: from: type: string - enterprise: *625 - installation: *626 - membership: *658 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + membership: *661 + organization: *630 + repository: *631 sender: *4 required: - action @@ -144103,9 +144631,9 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 package: description: Information about the package. type: object @@ -144628,7 +145156,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &659 + items: &662 title: Ruby Gems metadata type: object properties: @@ -144725,7 +145253,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -144801,9 +145329,9 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 package: description: Information about the package. type: object @@ -145165,7 +145693,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *659 + items: *662 source_url: type: string format: uri @@ -145236,7 +145764,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -145417,12 +145945,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *625 + enterprise: *628 id: type: integer - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - id @@ -145499,7 +146027,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &660 + personal_access_token_request: &663 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -145649,10 +146177,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *625 - organization: *627 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145729,11 +146257,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *660 - enterprise: *625 - organization: *627 + personal_access_token_request: *663 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145809,11 +146337,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *660 - enterprise: *625 - organization: *627 + personal_access_token_request: *663 + enterprise: *628 + organization: *630 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145888,11 +146416,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *660 - organization: *627 - enterprise: *625 + personal_access_token_request: *663 + organization: *630 + enterprise: *628 sender: *4 - installation: *626 + installation: *629 required: - action - personal_access_token_request @@ -145997,7 +146525,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *661 + last_response: *664 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -146029,8 +146557,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 zen: description: Random string of GitHub zen. @@ -146275,10 +146803,10 @@ webhooks: - from required: - note - enterprise: *625 - installation: *626 - organization: *627 - project_card: &662 + enterprise: *628 + installation: *629 + organization: *630 + project_card: &665 title: Project Card type: object properties: @@ -146401,7 +146929,7 @@ webhooks: - creator - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -146482,11 +147010,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project_card: *662 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_card: *665 + repository: *631 sender: *4 required: - action @@ -146566,9 +147094,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 project_card: title: Project Card type: object @@ -146698,7 +147226,7 @@ webhooks: repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -146792,11 +147320,11 @@ webhooks: - from required: - note - enterprise: *625 - installation: *626 - organization: *627 - project_card: *662 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_card: *665 + repository: *631 sender: *4 required: - action @@ -146890,9 +147418,9 @@ webhooks: - from required: - column_id - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 project_card: allOf: - title: Project Card @@ -147089,7 +147617,7 @@ webhooks: type: string required: - after_id - repository: *628 + repository: *631 sender: *4 required: - action @@ -147169,10 +147697,10 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - organization: *627 - project: &664 + enterprise: *628 + installation: *629 + organization: *630 + project: &667 title: Project type: object properties: @@ -147299,7 +147827,7 @@ webhooks: - creator - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -147379,10 +147907,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project_column: &663 + enterprise: *628 + installation: *629 + organization: *630 + project_column: &666 title: Project Column type: object properties: @@ -147422,7 +147950,7 @@ webhooks: - name - created_at - updated_at - repository: *628 + repository: *631 sender: *4 required: - action @@ -147501,14 +148029,14 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -147597,11 +148125,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 + repository: *631 sender: *4 required: - action @@ -147681,11 +148209,11 @@ webhooks: type: string enum: - moved - enterprise: *625 - installation: *626 - organization: *627 - project_column: *663 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project_column: *666 + repository: *631 sender: *4 required: - action @@ -147765,11 +148293,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -147849,14 +148377,14 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - project: *664 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 repository: anyOf: - type: 'null' - - *628 + - *631 sender: *4 required: - action @@ -147957,11 +148485,11 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -148040,11 +148568,11 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 - organization: *627 - project: *664 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + project: *667 + repository: *631 sender: *4 required: - action @@ -148125,9 +148653,9 @@ webhooks: type: string enum: - closed - installation: *626 - organization: *627 - projects_v2: &665 + installation: *629 + organization: *630 + projects_v2: &668 title: Projects v2 Project description: A projects v2 project type: object @@ -148275,9 +148803,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148358,9 +148886,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148481,9 +149009,9 @@ webhooks: type: string to: type: string - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -148566,7 +149094,7 @@ webhooks: type: string enum: - archived - changes: &669 + changes: &672 type: object properties: archived_at: @@ -148582,9 +149110,9 @@ webhooks: - string - 'null' format: date-time - installation: *626 - organization: *627 - projects_v2_item: &666 + installation: *629 + organization: *630 + projects_v2_item: &669 title: Projects v2 Item description: An item belonging to a project type: object @@ -148723,9 +149251,9 @@ webhooks: - 'null' to: type: string - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148807,9 +149335,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148890,9 +149418,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -148997,7 +149525,7 @@ webhooks: oneOf: - type: string - type: integer - - &667 + - &670 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -149017,7 +149545,7 @@ webhooks: required: - id - name - - &668 + - &671 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -149046,8 +149574,8 @@ webhooks: oneOf: - type: string - type: integer - - *667 - - *668 + - *670 + - *671 type: - 'null' - string @@ -149070,9 +149598,9 @@ webhooks: - 'null' required: - body - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149169,9 +149697,9 @@ webhooks: type: - string - 'null' - installation: *626 - organization: *627 - projects_v2_item: *666 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149254,10 +149782,10 @@ webhooks: type: string enum: - restored - changes: *669 - installation: *626 - organization: *627 - projects_v2_item: *666 + changes: *672 + installation: *629 + organization: *630 + projects_v2_item: *669 sender: *4 required: - action @@ -149339,9 +149867,9 @@ webhooks: type: string enum: - reopened - installation: *626 - organization: *627 - projects_v2: *665 + installation: *629 + organization: *630 + projects_v2: *668 sender: *4 required: - action @@ -149422,9 +149950,9 @@ webhooks: type: string enum: - created - installation: *626 - organization: *627 - projects_v2_status_update: &670 + installation: *629 + organization: *630 + projects_v2_status_update: &673 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -149559,9 +150087,9 @@ webhooks: type: string enum: - deleted - installation: *626 - organization: *627 - projects_v2_status_update: *670 + installation: *629 + organization: *630 + projects_v2_status_update: *673 sender: *4 required: - action @@ -149707,9 +150235,9 @@ webhooks: - string - 'null' format: date - installation: *626 - organization: *627 - projects_v2_status_update: *670 + installation: *629 + organization: *630 + projects_v2_status_update: *673 sender: *4 required: - action @@ -149780,10 +150308,10 @@ webhooks: title: public event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - repository @@ -149860,13 +150388,13 @@ webhooks: type: string enum: - assigned - assignee: *645 - enterprise: *625 - installation: *626 - number: &671 + assignee: *648 + enterprise: *628 + installation: *629 + number: &674 description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -152215,7 +152743,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -152297,11 +152825,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -154643,7 +155171,7 @@ webhooks: - draft reason: type: string - repository: *628 + repository: *631 sender: *4 required: - action @@ -154725,11 +155253,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -157071,7 +157599,7 @@ webhooks: - draft reason: type: string - repository: *628 + repository: *631 sender: *4 required: - action @@ -157153,13 +157681,13 @@ webhooks: type: string enum: - closed - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: &672 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: &675 allOf: - - *497 + - *500 - type: object properties: allow_auto_merge: @@ -157221,7 +157749,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *628 + repository: *631 sender: *4 required: - action @@ -157302,12 +157830,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -157387,11 +157915,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *625 - milestone: *395 - number: *671 - organization: *627 - pull_request: &673 + enterprise: *628 + milestone: *398 + number: *674 + organization: *630 + pull_request: &676 title: Pull Request type: object properties: @@ -159718,7 +160246,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -159797,11 +160325,11 @@ webhooks: type: string enum: - dequeued - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -162147,7 +162675,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *628 + repository: *631 sender: *4 required: - action @@ -162271,12 +162799,12 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -162356,11 +162884,11 @@ webhooks: type: string enum: - enqueued - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -164691,7 +165219,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -164771,11 +165299,11 @@ webhooks: type: string enum: - labeled - enterprise: *625 - installation: *626 - label: *644 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + label: *647 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -167123,7 +167651,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -167204,10 +167732,10 @@ webhooks: type: string enum: - locked - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -169553,7 +170081,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -169633,12 +170161,12 @@ webhooks: type: string enum: - milestoned - enterprise: *625 - milestone: *395 - number: *671 - organization: *627 - pull_request: *673 - repository: *628 + enterprise: *628 + milestone: *398 + number: *674 + organization: *630 + pull_request: *676 + repository: *631 sender: *4 required: - action @@ -169717,12 +170245,12 @@ webhooks: type: string enum: - opened - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -169803,12 +170331,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -169888,12 +170416,12 @@ webhooks: type: string enum: - reopened - enterprise: *625 - installation: *626 - number: *671 - organization: *627 - pull_request: *672 - repository: *628 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 + pull_request: *675 + repository: *631 sender: *4 required: - action @@ -170268,9 +170796,9 @@ webhooks: - start_side - side - reactions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -172500,7 +173028,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -172580,7 +173108,7 @@ webhooks: type: string enum: - deleted - comment: &675 + comment: &678 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -172873,9 +173401,9 @@ webhooks: - start_side - side - reactions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -175093,7 +175621,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -175173,11 +175701,11 @@ webhooks: type: string enum: - edited - changes: *674 - comment: *675 - enterprise: *625 - installation: *626 - organization: *627 + changes: *677 + comment: *678 + enterprise: *628 + installation: *629 + organization: *630 pull_request: type: object properties: @@ -177398,7 +177926,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *628 + repository: *631 sender: *4 required: - action @@ -177479,9 +178007,9 @@ webhooks: type: string enum: - dismissed - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -179714,7 +180242,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 review: description: The review that was affected. type: object @@ -179960,9 +180488,9 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -182076,8 +182604,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 - review: &676 + repository: *631 + review: &679 description: The review that was affected. type: object properties: @@ -182310,12 +182838,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -184662,7 +185190,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_reviewer: title: User type: @@ -184748,12 +185276,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -187107,7 +187635,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187302,12 +187830,12 @@ webhooks: type: string enum: - review_requested - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -189656,7 +190184,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_reviewer: title: User type: @@ -189743,12 +190271,12 @@ webhooks: type: string enum: - review_requested - enterprise: *625 - installation: *626 + enterprise: *628 + installation: *629 number: description: The pull request number. type: integer - organization: *627 + organization: *630 pull_request: title: Pull Request type: object @@ -192088,7 +192616,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192272,9 +192800,9 @@ webhooks: type: string enum: - submitted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -194510,8 +195038,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 - review: *676 + repository: *631 + review: *679 sender: *4 required: - action @@ -194591,9 +195119,9 @@ webhooks: type: string enum: - resolved - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -196724,7 +197252,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 sender: *4 thread: type: object @@ -197116,9 +197644,9 @@ webhooks: type: string enum: - unresolved - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 pull_request: title: Simple Pull Request type: object @@ -199232,7 +199760,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *628 + repository: *631 sender: *4 thread: type: object @@ -199626,10 +200154,10 @@ webhooks: type: string before: type: string - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -201964,7 +202492,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -202046,11 +202574,11 @@ webhooks: type: string enum: - unassigned - assignee: *677 - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + assignee: *680 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -204400,7 +204928,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -204479,11 +205007,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *625 - installation: *626 - label: *644 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + label: *647 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -206822,7 +207350,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -206903,10 +207431,10 @@ webhooks: type: string enum: - unlocked - enterprise: *625 - installation: *626 - number: *671 - organization: *627 + enterprise: *628 + installation: *629 + number: *674 + organization: *630 pull_request: title: Pull Request type: object @@ -209235,7 +209763,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *628 + repository: *631 sender: *4 required: - action @@ -209438,7 +209966,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *625 + enterprise: *628 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209533,8 +210061,8 @@ webhooks: - url - author - committer - installation: *626 - organization: *627 + installation: *629 + organization: *630 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210122,9 +210650,9 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 registry_package: type: object properties: @@ -210601,7 +211129,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *659 + items: *662 summary: type: string tag_name: @@ -210657,7 +211185,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -210735,9 +211263,9 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 registry_package: type: object properties: @@ -211049,7 +211577,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *659 + items: *662 summary: type: string tag_name: @@ -211099,7 +211627,7 @@ webhooks: - owner - package_version - registry - repository: *628 + repository: *631 sender: *4 required: - action @@ -211176,10 +211704,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - release: &678 + enterprise: *628 + installation: *629 + organization: *630 + release: &681 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -211495,7 +212023,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *628 + repository: *631 sender: *4 required: - action @@ -211572,11 +212100,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -211693,11 +212221,11 @@ webhooks: type: boolean required: - to - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -211775,9 +212303,9 @@ webhooks: type: string enum: - prereleased - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212098,7 +212626,7 @@ webhooks: - string - 'null' format: uri - repository: *628 + repository: *631 sender: *4 required: - action @@ -212174,10 +212702,10 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - release: &679 + enterprise: *628 + installation: *629 + organization: *630 + release: &682 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212495,7 +213023,7 @@ webhooks: - string - 'null' format: uri - repository: *628 + repository: *631 sender: *4 required: - action @@ -212571,11 +213099,11 @@ webhooks: type: string enum: - released - enterprise: *625 - installation: *626 - organization: *627 - release: *678 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *681 + repository: *631 sender: *4 required: - action @@ -212651,11 +213179,11 @@ webhooks: type: string enum: - unpublished - enterprise: *625 - installation: *626 - organization: *627 - release: *679 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + release: *682 + repository: *631 sender: *4 required: - action @@ -212731,11 +213259,11 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_advisory: *557 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_advisory: *560 sender: *4 required: - action @@ -212811,11 +213339,11 @@ webhooks: type: string enum: - reported - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_advisory: *557 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_advisory: *560 sender: *4 required: - action @@ -212891,10 +213419,10 @@ webhooks: type: string enum: - archived - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -212971,10 +213499,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213052,10 +213580,10 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213140,10 +213668,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213258,10 +213786,10 @@ webhooks: - 'null' items: type: string - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213333,10 +213861,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 status: type: string @@ -213417,10 +213945,10 @@ webhooks: type: string enum: - privatized - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213497,10 +214025,10 @@ webhooks: type: string enum: - publicized - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213594,10 +214122,10 @@ webhooks: - name required: - repository - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -213677,11 +214205,11 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 sender: *4 required: - action @@ -213759,11 +214287,11 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 sender: *4 required: - action @@ -213841,11 +214369,11 @@ webhooks: type: string enum: - edited - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - repository_ruleset: *229 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + repository_ruleset: *232 changes: type: object properties: @@ -213864,16 +214392,16 @@ webhooks: properties: added: type: array - items: *223 + items: *226 deleted: type: array - items: *223 + items: *226 updated: type: array items: type: object properties: - condition: *223 + condition: *226 changes: type: object properties: @@ -213906,16 +214434,16 @@ webhooks: properties: added: type: array - items: *228 + items: *231 deleted: type: array - items: *228 + items: *231 updated: type: array items: type: object properties: - rule: *228 + rule: *231 changes: type: object properties: @@ -214152,10 +214680,10 @@ webhooks: - from required: - owner - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214233,10 +214761,10 @@ webhooks: type: string enum: - unarchived - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214314,7 +214842,7 @@ webhooks: type: string enum: - create - alert: &680 + alert: &683 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214438,10 +214966,10 @@ webhooks: type: string enum: - open - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214651,10 +215179,10 @@ webhooks: type: string enum: - dismissed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214732,11 +215260,11 @@ webhooks: type: string enum: - reopen - alert: *680 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -214938,10 +215466,10 @@ webhooks: enum: - fixed - open - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215019,7 +215547,7 @@ webhooks: type: string enum: - created - alert: &681 + alert: &684 type: object properties: number: *52 @@ -215129,10 +215657,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215213,11 +215741,11 @@ webhooks: type: string enum: - created - alert: *681 - installation: *626 - location: *682 - organization: *627 - repository: *628 + alert: *684 + installation: *629 + location: *685 + organization: *630 + repository: *631 sender: *4 required: - location @@ -215455,11 +215983,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215537,11 +216065,11 @@ webhooks: type: string enum: - reopened - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215619,11 +216147,11 @@ webhooks: type: string enum: - resolved - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215701,11 +216229,11 @@ webhooks: type: string enum: - validated - alert: *681 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + alert: *684 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -215835,10 +216363,10 @@ webhooks: - organization - enterprise - - repository: *628 - enterprise: *625 - installation: *626 - organization: *627 + repository: *631 + enterprise: *628 + installation: *629 + organization: *630 sender: *4 required: - action @@ -215916,11 +216444,11 @@ webhooks: type: string enum: - published - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - security_advisory: &683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + security_advisory: &686 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216106,11 +216634,11 @@ webhooks: type: string enum: - updated - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 - security_advisory: *683 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 + security_advisory: *686 sender: *4 required: - action @@ -216183,10 +216711,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216372,11 +216900,11 @@ webhooks: from: type: object properties: - security_and_analysis: *222 - enterprise: *625 - installation: *626 - organization: *627 - repository: *274 + security_and_analysis: *225 + enterprise: *628 + installation: *629 + organization: *630 + repository: *277 sender: *4 required: - changes @@ -216454,12 +216982,12 @@ webhooks: type: string enum: - cancelled - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: &684 + sponsorship: &687 type: object properties: created_at: @@ -216764,12 +217292,12 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - sponsorship @@ -216857,12 +217385,12 @@ webhooks: type: string required: - from - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -216939,17 +217467,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &685 + effective_date: &688 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: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - sponsorship @@ -217023,7 +217551,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &686 + changes: &689 type: object properties: tier: @@ -217067,13 +217595,13 @@ webhooks: - from required: - tier - effective_date: *685 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + effective_date: *688 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -217150,13 +217678,13 @@ webhooks: type: string enum: - tier_changed - changes: *686 - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + changes: *689 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - sponsorship: *684 + sponsorship: *687 required: - action - changes @@ -217230,10 +217758,10 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217317,10 +217845,10 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -217754,15 +218282,15 @@ webhooks: type: - string - 'null' - enterprise: *625 + enterprise: *628 id: description: The unique identifier of the status. type: integer - installation: *626 + installation: *629 name: type: string - organization: *627 - repository: *628 + organization: *630 + repository: *631 sender: *4 sha: description: The Commit SHA. @@ -217878,9 +218406,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -217970,9 +218498,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218062,9 +218590,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218154,9 +218682,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *74 - installation: *626 - organization: *627 - repository: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -218233,12 +218761,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - team: &687 + team: &690 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218431,9 +218959,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -218903,7 +219431,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -218979,9 +219507,9 @@ webhooks: type: string enum: - created - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -219451,7 +219979,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -219528,9 +220056,9 @@ webhooks: type: string enum: - deleted - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -220000,7 +220528,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -220144,9 +220672,9 @@ webhooks: - from required: - permissions - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -220616,7 +221144,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - changes @@ -220694,9 +221222,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *625 - installation: *626 - organization: *627 + enterprise: *628 + installation: *629 + organization: *630 repository: title: Repository description: A git repository @@ -221166,7 +221694,7 @@ webhooks: - topics - visibility sender: *4 - team: *687 + team: *690 required: - action - team @@ -221242,10 +221770,10 @@ webhooks: type: string enum: - started - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 required: - action @@ -221318,17 +221846,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *625 + enterprise: *628 inputs: type: - object - 'null' additionalProperties: true - installation: *626 - organization: *627 + installation: *629 + organization: *630 ref: type: string - repository: *628 + repository: *631 sender: *4 workflow: type: string @@ -221410,10 +221938,10 @@ webhooks: type: string enum: - completed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: allOf: @@ -221669,7 +222197,7 @@ webhooks: type: string required: - conclusion - deployment: *415 + deployment: *418 required: - action - repository @@ -221748,10 +222276,10 @@ webhooks: type: string enum: - in_progress - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: allOf: @@ -222033,7 +222561,7 @@ webhooks: required: - status - steps - deployment: *415 + deployment: *418 required: - action - repository @@ -222112,10 +222640,10 @@ webhooks: type: string enum: - queued - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: type: object @@ -222261,7 +222789,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *418 required: - action - repository @@ -222340,10 +222868,10 @@ webhooks: type: string enum: - waiting - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 workflow_job: type: object @@ -222490,7 +223018,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *415 + deployment: *418 required: - action - repository @@ -222570,12 +223098,12 @@ webhooks: type: string enum: - completed - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object @@ -223594,12 +224122,12 @@ webhooks: type: string enum: - in_progress - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object @@ -224603,12 +225131,12 @@ webhooks: type: string enum: - requested - enterprise: *625 - installation: *626 - organization: *627 - repository: *628 + enterprise: *628 + installation: *629 + organization: *630 + repository: *631 sender: *4 - workflow: *640 + workflow: *643 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 5d53cbbeaf..5df6c124e0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/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": [ @@ -42144,7 +42148,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", @@ -43426,7 +43430,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", @@ -44814,7 +44818,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", @@ -46333,7 +46337,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", @@ -47611,7 +47615,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", @@ -103334,25 +103338,3366 @@ } } }, - "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the bypass request." + }, + "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", + "null" + ], + "description": "The responses to the bypass request.", + "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", + "examples": [ + "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", + "examples": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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" } } @@ -103360,26 +106705,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": [ { @@ -103392,385 +106735,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": { - "type": [ - "array", - "null" - ], - "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.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment the requester provided when creating the bypass request." - }, - "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", - "null" - ], - "description": "The responses to the bypass request.", - "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", - "examples": [ - "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", - "examples": [ - "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", @@ -103798,25 +106774,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" } } @@ -103824,6 +106795,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -177372,7 +180349,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", @@ -178657,7 +181634,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", @@ -179954,7 +182931,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", @@ -181909,7 +184886,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", @@ -183219,7 +186196,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", @@ -184512,7 +187489,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", @@ -364115,6 +367092,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -364161,42 +367144,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" ] @@ -364469,6 +367423,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -364515,42 +367475,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" ] @@ -518962,7 +521893,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", @@ -520684,7 +523615,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", @@ -521759,7 +524690,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", @@ -523046,7 +525977,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", @@ -525020,7 +527951,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", @@ -526110,7 +529041,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", @@ -527393,7 +530324,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", @@ -1331356,7 +1334287,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", @@ -1334581,7 +1337512,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", @@ -1337806,7 +1340737,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", @@ -1338806,7 +1341737,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", @@ -1339634,7 +1342565,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", @@ -1340465,7 +1343396,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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 8dddef21ff..ae88872320 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/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: @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &328 + type: &331 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1073,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: - - &644 + - &647 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1669,7 @@ paths: schema: type: integer default: 30 - - &253 + - &257 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 @@ -1683,7 +1685,7 @@ paths: application/json: schema: type: array - items: &254 + items: &258 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1779,7 +1781,7 @@ paths: - installation_id - repository_id examples: - default: &255 + default: &259 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1811,7 +1813,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &654 + schema: &657 title: Scim Error description: Scim Error type: object @@ -1914,7 +1916,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &260 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2049,7 +2051,7 @@ paths: - request - response examples: - default: &257 + default: &261 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11562,7 +11564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &220 + - &224 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`, @@ -11572,7 +11574,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &221 + - &225 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 @@ -11596,7 +11598,7 @@ paths: be returned. in: query required: false - schema: &222 + schema: &226 type: string description: State of a code scanning alert. enum: @@ -11621,7 +11623,7 @@ paths: application/json: schema: type: array - items: &223 + items: &227 type: object properties: number: &96 @@ -11650,7 +11652,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &443 + instances_url: &446 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11686,7 +11688,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &444 + dismissed_reason: &447 type: - string - 'null' @@ -11697,14 +11699,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &445 + dismissed_comment: &448 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &446 + rule: &449 type: object properties: id: @@ -11765,7 +11767,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &447 + tool: &450 type: object properties: name: *85 @@ -11776,15 +11778,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &448 + most_recent_instance: &451 type: object properties: - ref: &441 + ref: &444 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &458 + analysis_key: &461 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11795,7 +11797,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &459 + category: &462 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12183,7 +12185,7 @@ paths: - most_recent_instance - repository examples: - default: &224 + default: &228 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12996,7 +12998,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &230 type: array description: A list of default code security configurations items: @@ -13012,7 +13014,7 @@ paths: default configuration: *88 examples: - default: &227 + default: &231 value: - default_for_new_repos: public configuration: @@ -13443,7 +13445,7 @@ paths: default: value: default_for_new_repos: all - configuration: &225 + configuration: &229 value: id: 1325 target_type: organization @@ -13526,7 +13528,7 @@ paths: application/json: schema: type: array - items: &228 + items: &232 type: object description: Repositories associated with a code security configuration and attachment status @@ -13550,7 +13552,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &229 + repository: &233 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14033,7 +14035,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &231 + items: &235 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14048,7 +14050,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &275 + - &220 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14107,7 +14109,7 @@ paths: parent: anyOf: - type: 'null' - - &291 + - &294 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14311,7 +14313,7 @@ paths: - created_at additionalProperties: false examples: - default: &232 + default: &236 value: total_seats: 2 seats: @@ -14889,7 +14891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &238 + - &242 name: state in: query description: |- @@ -14898,7 +14900,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &239 + - &243 name: severity in: query description: |- @@ -14907,7 +14909,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &240 + - &244 name: ecosystem in: query description: |- @@ -14916,14 +14918,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &241 + - &245 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 - - &242 + - &246 name: epss_percentage in: query description: |- @@ -14935,7 +14937,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 - - &243 + - &247 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14945,7 +14947,7 @@ paths: enum: - development - runtime - - &244 + - &248 name: sort in: query description: |- @@ -14963,7 +14965,7 @@ paths: - *84 - *82 - *83 - - &245 + - &249 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14976,7 +14978,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &246 + - &250 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14996,7 +14998,7 @@ paths: application/json: schema: type: array - items: &247 + items: &251 type: object description: A Dependabot alert. properties: @@ -15063,7 +15065,7 @@ paths: - direct - transitive - - security_advisory: &495 + security_advisory: &498 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15299,7 +15301,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &496 + auto_dismissed_at: &499 type: - string - 'null' @@ -15326,7 +15328,7 @@ paths: - repository additionalProperties: false examples: - default: &248 + default: &252 value: - number: 2 state: dismissed @@ -15797,7 +15799,7 @@ paths: - name - created_on examples: - default: &338 + default: &341 value: total_count: 2 network_configurations: @@ -16020,7 +16022,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: - *38 - - &339 + - &342 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16032,7 +16034,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &343 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16071,7 +16073,7 @@ paths: - subnet_id - region examples: - default: &341 + default: &344 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16383,7 +16385,7 @@ paths: required: true content: application/json: - schema: &310 + schema: &313 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16759,7 +16761,7 @@ paths: type: object description: A repository rule. oneOf: - - &602 + - &605 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16771,7 +16773,7 @@ paths: type: string enum: - creation - - &603 + - &606 title: update description: Only allow users with bypass permission to update matching refs. @@ -16792,7 +16794,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &605 + - &608 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16804,7 +16806,7 @@ paths: type: string enum: - deletion - - &606 + - &609 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16816,7 +16818,7 @@ paths: type: string enum: - required_linear_history - - &607 + - &610 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16892,7 +16894,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &608 + - &611 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16916,7 +16918,7 @@ paths: type: string required: - required_deployment_environments - - &609 + - &612 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16928,7 +16930,7 @@ paths: type: string enum: - required_signatures - - &610 + - &613 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. @@ -16956,11 +16958,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 @@ -16990,7 +16990,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &611 + - &614 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17037,7 +17037,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &612 + - &615 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17049,7 +17049,7 @@ paths: type: string enum: - non_fast_forward - - &613 + - &616 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17085,7 +17085,7 @@ paths: required: - operator - pattern - - &614 + - &617 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17121,7 +17121,7 @@ paths: required: - operator - pattern - - &615 + - &618 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17157,7 +17157,7 @@ paths: required: - operator - pattern - - &616 + - &619 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17193,7 +17193,7 @@ paths: required: - operator - pattern - - &617 + - &620 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17229,7 +17229,7 @@ paths: required: - operator - pattern - - &618 + - &621 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17253,7 +17253,7 @@ paths: type: string required: - restricted_file_paths - - &619 + - &622 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17277,7 +17277,7 @@ paths: maximum: 256 required: - max_file_path_length - - &620 + - &623 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17300,7 +17300,7 @@ paths: type: string required: - restricted_file_extensions - - &621 + - &624 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17324,7 +17324,7 @@ paths: maximum: 100 required: - max_file_size - - &622 + - &625 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17373,7 +17373,7 @@ paths: - repository_id required: - workflows - - &623 + - &626 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17530,7 +17530,7 @@ paths: conditions: anyOf: - *117 - - &315 + - &318 title: Organization ruleset conditions type: object description: |- @@ -17814,7 +17814,7 @@ paths: type: string format: date-time examples: - default: &317 + default: &320 value: - version_id: 3 actor: @@ -17867,7 +17867,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &321 allOf: - *127 - type: object @@ -17922,7 +17922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &319 + - &322 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17933,7 +17933,7 @@ paths: enum: - open - resolved - - &320 + - &323 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17943,7 +17943,7 @@ paths: required: false schema: type: string - - &321 + - &324 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17952,7 +17952,7 @@ paths: required: false schema: type: string - - &322 + - &325 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. @@ -17968,7 +17968,7 @@ paths: - *17 - *82 - *83 - - &323 + - &326 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17977,7 +17977,7 @@ paths: required: false schema: type: string - - &324 + - &327 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17986,7 +17986,7 @@ paths: schema: type: boolean default: false - - &325 + - &328 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18002,7 +18002,7 @@ paths: application/json: schema: type: array - items: &326 + items: &329 type: object properties: number: *96 @@ -18018,14 +18018,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &636 + state: &639 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: &637 + resolution: &640 type: - string - 'null' @@ -18130,7 +18130,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &327 + default: &330 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18393,7 +18393,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 type: object properties: total_minutes_used: @@ -18463,7 +18463,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &330 + default: &333 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18494,7 +18494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *38 - - &331 + - &334 name: advanced_security_product in: query description: The security feature to get GitHub Advanced Security active committers @@ -18512,7 +18512,7 @@ paths: description: Success content: application/json: - schema: &332 + schema: &335 type: object properties: total_advanced_security_committers: @@ -18575,7 +18575,7 @@ paths: required: - repositories examples: - default: &333 + default: &336 value: total_advanced_security_committers: 2 total_count: 2 @@ -18814,7 +18814,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &337 type: object properties: total_gigabytes_bandwidth_used: @@ -18832,7 +18832,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &335 + default: &338 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18864,7 +18864,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &339 type: object properties: days_left_in_billing_cycle: @@ -18882,7 +18882,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &337 + default: &340 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19369,7 +19369,7 @@ paths: milestone: anyOf: - type: 'null' - - &483 + - &486 title: Milestone description: A collection of related issues and pull requests. @@ -19541,7 +19541,7 @@ paths: timeline_url: type: string format: uri - type: &276 + type: &279 title: Issue Type description: The type of issue. type: @@ -19686,7 +19686,7 @@ paths: - author_association - created_at - updated_at - comment: &542 + comment: &545 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20261,7 +20261,7 @@ paths: url: type: string format: uri - user: &693 + user: &696 title: Public User description: Public User type: object @@ -22156,7 +22156,7 @@ paths: - closed - all default: open - - &279 + - &282 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22207,7 +22207,7 @@ paths: type: array items: *147 examples: - default: &280 + default: &283 value: - id: 1 node_id: MDU6SXNzdWUx @@ -23618,14 +23618,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: - - &361 + - &364 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &362 + - &365 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23696,7 +23696,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &375 + '301': &378 description: Moved permanently content: application/json: @@ -23718,7 +23718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &571 + - &574 name: all description: If `true`, show notifications marked as read. in: query @@ -23726,7 +23726,7 @@ paths: schema: type: boolean default: false - - &572 + - &575 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23736,7 +23736,7 @@ paths: type: boolean default: false - *137 - - &573 + - &576 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: @@ -24107,7 +24107,7 @@ paths: type: boolean examples: - false - security_and_analysis: &312 + security_and_analysis: &315 type: - object - 'null' @@ -24270,7 +24270,7 @@ paths: - url - subscription_url examples: - default: &574 + default: &577 value: - id: '1' repository: @@ -24823,7 +24823,7 @@ paths: type: array items: *56 examples: - default: &710 + default: &713 value: - login: github id: 1 @@ -24888,7 +24888,7 @@ paths: - 3 custom_roles: type: array - items: &233 + items: &237 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24937,7 +24937,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &238 value: id: 8030 name: Security Engineer @@ -25826,7 +25826,7 @@ paths: type: integer repository_cache_usages: type: array - items: &380 + items: &383 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26499,7 +26499,7 @@ paths: type: array items: *61 examples: - default: &704 + default: &707 value: total_count: 1 repositories: @@ -27322,7 +27322,7 @@ paths: type: array items: *189 examples: - default: &696 + default: &699 value: total_count: 1 repositories: @@ -28365,7 +28365,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28400,7 +28400,7 @@ paths: - key_id - key examples: - default: &401 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28813,7 +28813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *163 - - &385 + - &388 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)." @@ -29431,7 +29431,7 @@ paths: bundle_url: type: string examples: - default: &414 + default: &417 value: attestations: - bundle: @@ -29600,7 +29600,7 @@ paths: type: array items: *4 examples: - default: &281 + default: &284 value: - login: octocat id: 1 @@ -29778,7 +29778,7 @@ paths: application/json: schema: type: array - items: &431 + items: &434 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29909,7 +29909,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &432 + default: &435 value: - id: 21 number: 42 @@ -29977,6 +29977,550 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *95 + "/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: + - *163 + - *19 + - *17 + - *84 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &221 + 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: &222 + 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: *220 + 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 + - 'null' + format: date-time + state: *221 + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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: *37 + '404': *6 + '503': *128 + 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: + - *163 + 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 + - 'null' + format: uri + 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: *222 + examples: + default: &223 + 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': *128 + 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: + - *163 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *222 + examples: + default: *223 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *128 + 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: + - *163 + - 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 + - 'null' + format: uri + state: *221 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *222 + examples: + default: *223 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *128 + 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: + - *163 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *128 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29994,8 +30538,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *163 - - *220 - - *221 + - *224 + - *225 - *82 - *83 - *19 @@ -30006,7 +30550,7 @@ paths: be returned. in: query required: false - schema: *222 + schema: *226 - name: sort description: The property by which to sort the results. in: query @@ -30022,7 +30566,7 @@ paths: be returned. in: query required: false - schema: &442 + schema: &445 type: string description: Severity of a code scanning alert. enum: @@ -30040,9 +30584,9 @@ paths: application/json: schema: type: array - items: *223 + items: *227 examples: - default: *224 + default: *228 headers: Link: *37 '404': *6 @@ -30379,7 +30923,7 @@ paths: application/json: schema: *88 examples: - default: *225 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30407,9 +30951,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 '304': *35 '403': *27 '404': *6 @@ -30493,7 +31037,7 @@ paths: application/json: schema: *88 examples: - default: *225 + default: *229 '304': *35 '403': *27 '404': *6 @@ -30893,7 +31437,7 @@ paths: default: value: default_for_new_repos: all - configuration: *225 + configuration: *229 '403': *27 '404': *6 x-github: @@ -30946,13 +31490,13 @@ paths: application/json: schema: type: array - items: *228 + items: *232 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *229 + repository: *233 '403': *27 '404': *6 x-github: @@ -30992,7 +31536,7 @@ paths: type: integer codespaces: type: array - items: &282 + items: &285 type: object title: Codespace description: A codespace. @@ -31027,7 +31571,7 @@ paths: machine: anyOf: - type: 'null' - - &471 + - &474 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -31314,7 +31858,7 @@ paths: - pulls_url - recent_folders examples: - default: &283 + default: &286 value: total_count: 3 codespaces: @@ -31938,7 +32482,7 @@ paths: type: integer secrets: type: array - items: &230 + items: &234 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31979,7 +32523,7 @@ paths: - updated_at - visibility examples: - default: &472 + default: &475 value: total_count: 2 secrets: @@ -32017,7 +32561,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &476 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32052,7 +32596,7 @@ paths: - key_id - key examples: - default: &474 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32082,9 +32626,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *234 examples: - default: &476 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32551,9 +33095,9 @@ paths: currently being billed. seats: type: array - items: *231 + items: *235 examples: - default: *232 + default: *236 headers: Link: *37 '500': *95 @@ -33171,7 +33715,7 @@ paths: - 3 custom_roles: type: array - items: *233 + items: *237 examples: default: value: @@ -33263,7 +33807,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &240 type: object properties: name: @@ -33305,9 +33849,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33332,7 +33876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *163 - - &235 + - &239 name: role_id description: The unique identifier of the role. in: path @@ -33344,9 +33888,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '404': *6 x-github: githubCloudOnly: true @@ -33369,12 +33913,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: application/json: - schema: &237 + schema: &241 type: object properties: name: @@ -33413,9 +33957,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33440,7 +33984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -33473,7 +34017,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *240 examples: default: value: @@ -33487,9 +34031,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33520,15 +34064,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *163 - - *235 + - *239 responses: '200': description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '404': *6 x-github: githubCloudOnly: true @@ -33557,12 +34101,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -33577,9 +34121,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33610,7 +34154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -33639,18 +34183,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *163 - - *238 - - *239 - - *240 - - *241 - *242 - *243 - *244 + - *245 + - *246 + - *247 + - *248 - *84 - *82 - *83 - - *245 - - *246 + - *249 + - *250 - *17 responses: '200': @@ -33659,9 +34203,9 @@ paths: application/json: schema: type: array - items: *247 + items: *251 examples: - default: *248 + default: *252 '304': *35 '400': *14 '403': *27 @@ -33705,7 +34249,7 @@ paths: type: integer secrets: type: array - items: &249 + items: &253 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33784,7 +34328,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &502 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33803,7 +34347,7 @@ paths: - key_id - key examples: - default: &500 + default: &503 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33833,7 +34377,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -34130,7 +34674,7 @@ paths: application/json: schema: type: array - items: &293 + items: &296 title: Package description: A software package type: object @@ -34201,7 +34745,7 @@ paths: - created_at - updated_at examples: - default: &294 + default: &297 value: - id: 197 name: hello_docker @@ -34385,7 +34929,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34475,7 +35019,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &357 + default: &360 value: group_id: '123' group_name: Octocat admins @@ -34530,7 +35074,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &357 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34570,7 +35114,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &355 + default: &358 value: groups: - group_id: '123' @@ -34614,7 +35158,7 @@ paths: application/json: schema: type: array - items: &272 + items: &276 title: Organization Invitation description: Organization Invitation type: object @@ -34668,7 +35212,7 @@ paths: - invitation_teams_url - node_id examples: - default: &273 + default: &277 value: - id: 1 login: monalisa @@ -34735,7 +35279,7 @@ paths: application/json: schema: type: array - items: &313 + items: &316 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34749,7 +35293,7 @@ paths: - name - description examples: - default: &314 + default: &317 value: - name: add_assignee description: Assign or remove a user @@ -34790,7 +35334,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Org Hook description: Org Hook type: object @@ -34973,9 +35517,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: &251 + default: &255 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35020,7 +35564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *163 - - &252 + - &256 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. @@ -35033,9 +35577,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: *251 + default: *255 '404': *6 x-github: githubCloudOnly: false @@ -35057,7 +35601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *163 - - *252 + - *256 requestBody: required: false content: @@ -35103,7 +35647,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: default: value: @@ -35143,7 +35687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *163 - - *252 + - *256 responses: '204': description: Response @@ -35169,7 +35713,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *163 - - *252 + - *256 responses: '200': description: Response @@ -35198,7 +35742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *163 - - *252 + - *256 requestBody: required: false content: @@ -35247,9 +35791,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *17 - - *253 + - *257 responses: '200': description: Response @@ -35257,9 +35801,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '400': *14 '422': *15 x-github: @@ -35283,16 +35827,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *16 responses: '200': description: Response content: application/json: - schema: *256 + schema: *260 examples: - default: *257 + default: *261 '400': *14 '422': *15 x-github: @@ -35316,7 +35860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *16 responses: '202': *93 @@ -35343,7 +35887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *163 - - *252 + - *256 responses: '204': description: Response @@ -35366,7 +35910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *163 - - &262 + - &266 name: actor_type in: path description: The type of the actor @@ -35379,14 +35923,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &263 + - &267 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &258 + - &262 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`.' @@ -35394,7 +35938,7 @@ paths: required: true schema: type: string - - &259 + - &263 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) @@ -35489,12 +36033,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *163 - - *258 - - *259 + - *262 + - *263 - *19 - *17 - *84 - - &268 + - &272 name: sort description: The property to sort the results by. in: query @@ -35574,14 +36118,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *163 - - *258 - - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &260 + schema: &264 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35597,7 +36141,7 @@ paths: type: integer format: int64 examples: - default: &261 + default: &265 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35618,23 +36162,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *163 - - &264 + - &268 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *258 - - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *260 + schema: *264 examples: - default: *261 + default: *265 x-github: enabledForGitHubApps: true category: orgs @@ -35653,18 +36197,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *163 - - *258 - - *259 - *262 - *263 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *260 + schema: *264 examples: - default: *261 + default: *265 x-github: enabledForGitHubApps: true category: orgs @@ -35682,9 +36226,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *163 - - *258 - - *259 - - &265 + - *262 + - *263 + - &269 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35697,7 +36241,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &270 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35713,7 +36257,7 @@ paths: type: integer format: int64 examples: - default: &267 + default: &271 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35750,18 +36294,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *163 - - *264 - - *258 - - *259 - - *265 + - *268 + - *262 + - *263 + - *269 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *267 + default: *271 x-github: enabledForGitHubApps: true category: orgs @@ -35779,19 +36323,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *163 + - *266 + - *267 - *262 - *263 - - *258 - - *259 - - *265 + - *269 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *267 + default: *271 x-github: enabledForGitHubApps: true category: orgs @@ -35809,13 +36353,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *163 - - *264 - - *258 - - *259 + - *268 + - *262 + - *263 - *19 - *17 - *84 - - *268 + - *272 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35899,7 +36443,7 @@ paths: application/json: schema: *20 examples: - default: &538 + default: &541 value: id: 1 account: @@ -36065,12 +36609,12 @@ paths: application/json: schema: anyOf: - - &270 + - &274 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &269 + limit: &273 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36098,7 +36642,7 @@ paths: properties: {} additionalProperties: false examples: - default: &271 + default: &275 value: limit: collaborators_only origin: organization @@ -36127,13 +36671,13 @@ paths: required: true content: application/json: - schema: &539 + schema: &542 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *269 + limit: *273 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36158,9 +36702,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: - default: *271 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -36238,9 +36782,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 '404': *6 @@ -36318,7 +36862,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *276 examples: default: value: @@ -36375,7 +36919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *163 - - &274 + - &278 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36409,7 +36953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *163 - - *274 + - *278 - *17 - *19 responses: @@ -36419,9 +36963,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: &292 + default: &295 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36464,7 +37008,7 @@ paths: application/json: schema: type: array - items: *276 + items: *279 examples: default: value: @@ -36552,9 +37096,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: &277 + default: &280 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36587,7 +37131,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *163 - - &278 + - &281 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36643,9 +37187,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *277 + default: *280 '404': *6 '422': *7 x-github: @@ -36670,7 +37214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *163 - - *278 + - *281 responses: '204': description: Response @@ -36733,7 +37277,7 @@ paths: - closed - all default: open - - *279 + - *282 - name: type description: Can be the name of an issue type. in: query @@ -36764,7 +37308,7 @@ paths: type: array items: *147 examples: - default: *280 + default: *283 headers: Link: *37 '404': *6 @@ -36822,7 +37366,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '422': *15 @@ -36918,9 +37462,9 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: - default: *283 + default: *286 '304': *35 '500': *95 '401': *23 @@ -36947,7 +37491,7 @@ paths: parameters: - *163 - *211 - - &284 + - &287 name: codespace_name in: path required: true @@ -36982,15 +37526,15 @@ paths: parameters: - *163 - *211 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: &470 + default: &473 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37170,7 +37714,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *231 + schema: *235 examples: default: value: @@ -37245,7 +37789,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &288 title: Org Membership description: Org Membership type: object @@ -37298,7 +37842,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &286 + response-if-user-has-an-active-admin-membership-with-organization: &289 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37395,9 +37939,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - response-if-user-already-had-membership-with-organization: *286 + response-if-user-already-had-membership-with-organization: *289 '422': *15 '403': *27 x-github: @@ -37466,7 +38010,7 @@ paths: application/json: schema: type: array - items: &287 + items: &290 title: Migration description: A migration. type: object @@ -37804,7 +38348,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -37983,7 +38527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *163 - - &288 + - &291 name: migration_id description: The unique identifier of the migration. in: path @@ -38011,7 +38555,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -38181,7 +38725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *163 - - *288 + - *291 responses: '302': description: Response @@ -38203,7 +38747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *163 - - *288 + - *291 responses: '204': description: Response @@ -38227,8 +38771,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *163 - - *288 - - &709 + - *291 + - &712 name: repo_name description: repo_name parameter in: path @@ -38256,7 +38800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *163 - - *288 + - *291 - *17 - *19 responses: @@ -38268,7 +38812,7 @@ paths: type: array items: *189 examples: - default: &299 + default: &302 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38477,7 +39021,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &289 + items: &292 title: Organization Role description: Organization roles type: object @@ -38686,7 +39230,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -38738,7 +39282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *163 - - &290 + - &293 name: team_slug description: The slug of the team name. in: path @@ -38770,8 +39314,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *163 - - *290 - - *235 + - *293 + - *239 responses: '204': description: Response @@ -38801,8 +39345,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *163 - - *290 - - *235 + - *293 + - *239 responses: '204': description: Response @@ -38855,7 +39399,7 @@ paths: parameters: - *163 - *211 - - *235 + - *239 responses: '204': description: Response @@ -38887,7 +39431,7 @@ paths: parameters: - *163 - *211 - - *235 + - *239 responses: '204': description: Response @@ -38916,13 +39460,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *163 - - *235 + - *239 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -38980,7 +39524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: @@ -39019,7 +39563,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -39073,7 +39617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -39099,7 +39643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *163 - - *235 + - *239 - *17 - *19 responses: @@ -39178,7 +39722,7 @@ paths: parent: anyOf: - type: 'null' - - *291 + - *294 required: - id - node_id @@ -39192,7 +39736,7 @@ paths: - slug - parent examples: - default: *292 + default: *295 headers: Link: *37 '404': @@ -39222,7 +39766,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *163 - - *235 + - *239 - *17 - *19 responses: @@ -39251,7 +39795,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *291 + items: *294 name: type: - string @@ -39368,7 +39912,7 @@ paths: - type - url examples: - default: *281 + default: *284 headers: Link: *37 '404': @@ -39416,7 +39960,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -39558,7 +40102,7 @@ paths: - nuget - container - *163 - - &711 + - &714 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39594,12 +40138,12 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 '403': *27 '401': *23 - '400': &713 + '400': &716 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39621,7 +40165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &295 + - &298 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 @@ -39639,7 +40183,7 @@ paths: - docker - nuget - container - - &296 + - &299 name: package_name description: The name of the package. in: path @@ -39652,7 +40196,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: default: value: @@ -39704,8 +40248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *295 - - *296 + - *298 + - *299 - *163 responses: '204': @@ -39738,8 +40282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *295 - - *296 + - *298 + - *299 - *163 - name: token description: package token @@ -39772,8 +40316,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: - - *295 - - *296 + - *298 + - *299 - *163 - *19 - *17 @@ -39794,7 +40338,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 title: Package Version description: A version of a software package type: object @@ -39929,10 +40473,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: - - *295 - - *296 + - *298 + - *299 - *163 - - &298 + - &301 name: package_version_id description: Unique identifier of the package version. in: path @@ -39944,7 +40488,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -39980,10 +40524,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *295 - - *296 - - *163 - *298 + - *299 + - *163 + - *301 responses: '204': description: Response @@ -40015,10 +40559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *295 - - *296 - - *163 - *298 + - *299 + - *163 + - *301 responses: '204': description: Response @@ -40048,7 +40592,7 @@ paths: - *163 - *17 - *19 - - &300 + - &303 name: sort description: The property by which to sort the results. in: query @@ -40059,7 +40603,7 @@ paths: - created_at default: created_at - *84 - - &301 + - &304 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40071,7 +40615,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &302 + - &305 name: repository description: The name of the repository to use to filter the results. in: query @@ -40080,7 +40624,7 @@ paths: type: string examples: - Hello-World - - &303 + - &306 name: permission description: The permission to use to filter the results. in: query @@ -40089,7 +40633,7 @@ paths: type: string examples: - issues_read - - &304 + - &307 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) @@ -40099,7 +40643,7 @@ paths: schema: type: string format: date-time - - &305 + - &308 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) @@ -40109,7 +40653,7 @@ paths: schema: type: string format: date-time - - &306 + - &309 name: token_id description: The ID of the token in: query @@ -40428,7 +40972,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -40454,14 +40998,14 @@ paths: - *163 - *17 - *19 - - *300 - - *84 - - *301 - - *302 - *303 + - *84 - *304 - *305 - *306 + - *307 + - *308 + - *309 responses: '500': *95 '422': *15 @@ -40745,7 +41289,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -40789,7 +41333,7 @@ paths: type: integer configurations: type: array - items: &307 + items: &310 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41001,7 +41545,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &308 + org-private-registry-with-selected-visibility: &311 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41103,9 +41647,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *307 + schema: *310 examples: - default: *308 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -41256,7 +41800,7 @@ paths: application/json: schema: type: array - items: &309 + items: &312 title: Project description: Projects are a way to organize columns and cards of work. @@ -41438,7 +41982,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: default: value: @@ -41476,7 +42020,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &372 + '410': &375 description: Gone content: application/json: @@ -41642,7 +42186,7 @@ paths: required: true content: application/json: - schema: *310 + schema: *313 examples: default: value: @@ -41748,7 +42292,7 @@ paths: - octocat/Hello-World properties: type: array - items: &311 + items: &314 title: Custom Property Value description: Custom property name and associated value type: object @@ -41838,7 +42382,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *311 + items: *314 required: - repository_names - properties @@ -41891,7 +42435,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -42031,7 +42575,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -42235,7 +42779,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &377 title: Full Repository description: Full Repository type: object @@ -42700,7 +43244,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &489 + code_of_conduct: &492 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42730,7 +43274,7 @@ paths: - key - name - html_url - security_and_analysis: *312 + security_and_analysis: *315 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42814,7 +43358,7 @@ paths: - network_count - subscribers_count examples: - default: &376 + default: &379 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43340,9 +43884,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43367,7 +43911,7 @@ paths: - *163 - *17 - *19 - - &624 + - &627 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43459,7 +44003,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *315 + conditions: *318 rules: type: array description: An array of rules within the ruleset. @@ -43503,7 +44047,7 @@ paths: application/json: schema: *124 examples: - default: &316 + default: &319 value: id: 21 name: super cool ruleset @@ -43558,7 +44102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *163 - - &625 + - &628 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 @@ -43570,14 +44114,14 @@ paths: x-multi-segment: true - *218 - *214 - - &626 + - &629 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 - - &627 + - &630 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43597,7 +44141,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &631 title: Rule Suites description: Response type: array @@ -43653,7 +44197,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &629 + default: &632 value: - id: 21 actor_id: 12 @@ -43697,7 +44241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *163 - - &630 + - &633 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43713,7 +44257,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &634 title: Rule Suite description: Response type: object @@ -43820,7 +44364,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &632 + default: &635 value: id: 21 actor_id: 12 @@ -43895,7 +44439,7 @@ paths: application/json: schema: *124 examples: - default: *316 + default: *319 '404': *6 '500': *95 put: @@ -43944,7 +44488,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *315 + conditions: *318 rules: description: An array of rules within the ruleset. type: array @@ -43985,7 +44529,7 @@ paths: application/json: schema: *124 examples: - default: *316 + default: *319 '404': *6 '500': *95 delete: @@ -44044,7 +44588,7 @@ paths: type: array items: *127 examples: - default: *317 + default: *320 '404': *6 '500': *95 x-github: @@ -44081,7 +44625,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *321 examples: default: value: @@ -44144,14 +44688,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *163 - - *319 - - *320 - - *321 - *322 + - *323 + - *324 + - *325 - *84 - *19 - *17 - - &634 + - &637 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 @@ -44161,7 +44705,7 @@ paths: required: false schema: type: string - - &635 + - &638 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 @@ -44171,9 +44715,9 @@ paths: required: false schema: type: string - - *323 - - *324 - - *325 + - *326 + - *327 + - *328 responses: '200': description: Response @@ -44181,9 +44725,9 @@ paths: application/json: schema: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *37 '404': *6 @@ -44253,7 +44797,7 @@ paths: application/json: schema: type: array - items: &642 + items: &645 description: A repository security advisory. type: object properties: @@ -44497,7 +45041,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 credits_detailed: type: - array @@ -44508,7 +45052,7 @@ paths: type: object properties: user: *4 - type: *328 + type: *331 state: type: string description: The state of the user's acceptance of the @@ -44534,7 +45078,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *275 + items: *220 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -44572,7 +45116,7 @@ paths: - private_fork additionalProperties: false examples: - default: &643 + default: &646 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44959,9 +45503,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44985,7 +45529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -45011,7 +45555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -45046,9 +45590,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45073,7 +45617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *163 - - *331 + - *334 - *17 - *19 responses: @@ -45081,9 +45625,9 @@ paths: description: Success content: application/json: - schema: *332 + schema: *335 examples: - default: *333 + default: *336 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45111,9 +45655,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *337 examples: - default: *335 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45141,9 +45685,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45183,7 +45727,7 @@ paths: type: array items: *107 examples: - default: *338 + default: *341 headers: Link: *37 x-github: @@ -45384,15 +45928,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: - *163 - - *339 + - *342 responses: '200': description: Response content: application/json: - schema: *340 + schema: *343 examples: - default: *341 + default: *344 headers: Link: *37 x-github: @@ -45430,7 +45974,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &366 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45482,7 +46026,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &364 + default: &367 value: groups: - group_id: '123' @@ -45528,7 +46072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *163 - - *290 + - *293 - 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`). @@ -45594,9 +46138,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 headers: Link: *37 '403': *27 @@ -45690,7 +46234,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45764,7 +46308,7 @@ paths: parent: anyOf: - type: 'null' - - *291 + - *294 members_count: type: integer examples: @@ -46070,7 +46614,7 @@ paths: - repos_count - organization examples: - default: &343 + default: &346 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46141,15 +46685,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -46171,7 +46715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *163 - - *290 + - *293 requestBody: required: false content: @@ -46234,16 +46778,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '201': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 '422': *15 '403': *27 @@ -46269,7 +46813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -46296,7 +46840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *163 - - *290 + - *293 - *84 - *17 - *19 @@ -46313,7 +46857,7 @@ paths: application/json: schema: type: array - items: &344 + items: &347 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46424,7 +46968,7 @@ paths: - updated_at - url examples: - default: &683 + default: &686 value: - author: login: octocat @@ -46499,7 +47043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *163 - - *290 + - *293 requestBody: required: true content: @@ -46533,9 +47077,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: &345 + default: &348 value: author: login: octocat @@ -46608,8 +47152,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *163 - - *290 - - &346 + - *293 + - &349 name: discussion_number description: The number that identifies the discussion. in: path @@ -46621,9 +47165,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46646,8 +47190,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: false content: @@ -46670,9 +47214,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: &684 + default: &687 value: author: login: octocat @@ -46743,8 +47287,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 responses: '204': description: Response @@ -46771,8 +47315,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *163 - - *290 - - *346 + - *293 + - *349 - *84 - *17 - *19 @@ -46783,7 +47327,7 @@ paths: application/json: schema: type: array - items: &347 + items: &350 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46863,7 +47407,7 @@ paths: - updated_at - url examples: - default: &685 + default: &688 value: - author: login: octocat @@ -46932,8 +47476,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: true content: @@ -46955,9 +47499,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: &348 + default: &351 value: author: login: octocat @@ -47024,9 +47568,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *163 - - *290 - - *346 - - &349 + - *293 + - *349 + - &352 name: comment_number description: The number that identifies the comment. in: path @@ -47038,9 +47582,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47063,9 +47607,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 requestBody: required: true content: @@ -47087,9 +47631,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: &686 + default: &689 value: author: login: octocat @@ -47154,9 +47698,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 responses: '204': description: Response @@ -47183,9 +47727,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 - 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. @@ -47211,7 +47755,7 @@ paths: application/json: schema: type: array - items: &350 + items: &353 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47255,7 +47799,7 @@ paths: - content - created_at examples: - default: &352 + default: &355 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47306,9 +47850,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 requestBody: required: true content: @@ -47341,9 +47885,9 @@ paths: team discussion comment content: application/json: - schema: *350 + schema: *353 examples: - default: &351 + default: &354 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47372,9 +47916,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47398,10 +47942,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *163 - - *290 - - *346 + - *293 - *349 - - &353 + - *352 + - &356 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47434,8 +47978,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 - 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. @@ -47461,9 +48005,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -47490,8 +48034,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: true content: @@ -47523,16 +48067,16 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47556,9 +48100,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *163 - - *290 - - *346 - - *353 + - *293 + - *349 + - *356 responses: '204': description: Response @@ -47582,15 +48126,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: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *354 + schema: *357 examples: - default: *355 + default: *358 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47610,7 +48154,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: - *163 - - *290 + - *293 requestBody: required: true content: @@ -47634,9 +48178,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *357 + default: *360 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47656,7 +48200,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: - *163 - - *290 + - *293 responses: '204': description: Response @@ -47681,7 +48225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -47691,9 +48235,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 x-github: @@ -47716,7 +48260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *163 - - *290 + - *293 - name: role description: Filters members returned by their role in the team. in: query @@ -47739,7 +48283,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -47770,14 +48314,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 responses: '200': description: Response content: application/json: - schema: &358 + schema: &361 title: Team Membership description: Team Membership type: object @@ -47805,7 +48349,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &687 + response-if-user-is-a-team-maintainer: &690 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47842,7 +48386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 requestBody: required: false @@ -47868,9 +48412,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: &688 + response-if-users-membership-with-team-is-now-pending: &691 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47906,7 +48450,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 responses: '204': @@ -47933,7 +48477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -47943,7 +48487,7 @@ paths: application/json: schema: type: array - items: &359 + items: &362 title: Team Project description: A team's access to a project. type: object @@ -48012,7 +48556,7 @@ paths: - updated_at - permissions examples: - default: &689 + default: &692 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48076,8 +48620,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *163 - - *290 - - &360 + - *293 + - &363 name: project_id description: The unique identifier of the project. in: path @@ -48089,9 +48633,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: &690 + default: &693 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48154,8 +48698,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *163 - - *290 - - *360 + - *293 + - *363 requestBody: required: false content: @@ -48223,8 +48767,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *163 - - *290 - - *360 + - *293 + - *363 responses: '204': description: Response @@ -48252,7 +48796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -48264,7 +48808,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -48294,15 +48838,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &691 + schema: &694 title: Team Repository description: A team's access to a repository. type: object @@ -48944,9 +49488,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 requestBody: required: false content: @@ -48992,9 +49536,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 responses: '204': description: Response @@ -49021,15 +49565,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49052,7 +49596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *163 - - *290 + - *293 requestBody: required: true content: @@ -49095,7 +49639,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -49128,7 +49672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -49138,9 +49682,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - response-if-child-teams-exist: &692 + response-if-child-teams-exist: &695 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49267,7 +49811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &365 + - &368 name: card_id description: The unique identifier of the card. in: path @@ -49279,7 +49823,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &369 title: Project Card description: Project cards represent a scope of work. type: object @@ -49354,7 +49898,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &370 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49410,7 +49954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *365 + - *368 requestBody: required: false content: @@ -49440,9 +49984,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '304': *35 '403': *27 '401': *23 @@ -49469,7 +50013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *365 + - *368 responses: '204': description: Response @@ -49513,7 +50057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *365 + - *368 requestBody: required: true content: @@ -49626,7 +50170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &368 + - &371 name: column_id description: The unique identifier of the column. in: path @@ -49638,7 +50182,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: Project Column description: Project columns contain cards of work. type: object @@ -49692,7 +50236,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &373 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49727,7 +50271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *368 + - *371 requestBody: required: true content: @@ -49752,9 +50296,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - default: *370 + default: *373 '304': *35 '403': *27 '401': *23 @@ -49779,7 +50323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *368 + - *371 responses: '204': description: Response @@ -49808,7 +50352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *368 + - *371 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49829,7 +50373,7 @@ paths: application/json: schema: type: array - items: *366 + items: *369 examples: default: value: @@ -49888,7 +50432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *368 + - *371 requestBody: required: true content: @@ -49932,9 +50476,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '304': *35 '403': *27 '401': *23 @@ -49990,7 +50534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *368 + - *371 requestBody: required: true content: @@ -50051,15 +50595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *360 + - *363 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: &371 + default: &374 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50116,7 +50660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *360 + - *363 requestBody: required: false content: @@ -50165,9 +50709,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *371 + default: *374 '404': description: Not Found if the authenticated user does not have access to the project @@ -50188,7 +50732,7 @@ paths: items: type: string '401': *23 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -50211,7 +50755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *360 + - *363 responses: '204': description: Delete Success @@ -50232,7 +50776,7 @@ paths: items: type: string '401': *23 - '410': *372 + '410': *375 '404': *6 x-github: githubCloudOnly: false @@ -50256,7 +50800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *360 + - *363 - 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 @@ -50283,7 +50827,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -50313,7 +50857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *360 + - *363 - *211 requestBody: required: false @@ -50368,7 +50912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *360 + - *363 - *211 responses: '204': @@ -50400,7 +50944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *360 + - *363 - *211 responses: '200': @@ -50471,7 +51015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *360 + - *363 - *17 - *19 responses: @@ -50481,7 +51025,7 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: default: value: @@ -50519,7 +51063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *360 + - *363 requestBody: required: true content: @@ -50543,7 +51087,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -50607,7 +51151,7 @@ paths: resources: type: object properties: - core: &373 + core: &376 title: Rate Limit type: object properties: @@ -50624,20 +51168,20 @@ paths: - remaining - reset - used - graphql: *373 - search: *373 - code_search: *373 - source_import: *373 - integration_manifest: *373 - code_scanning_upload: *373 - actions_runner_registration: *373 - scim: *373 - dependency_snapshots: *373 - code_scanning_autofix: *373 + graphql: *376 + search: *376 + code_search: *376 + source_import: *376 + integration_manifest: *376 + code_scanning_upload: *376 + actions_runner_registration: *376 + scim: *376 + dependency_snapshots: *376 + code_scanning_autofix: *376 required: - core - search - rate: *373 + rate: *376 required: - rate - resources @@ -50741,14 +51285,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *374 + schema: *377 examples: default-response: summary: Default response @@ -51253,7 +51797,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *375 + '301': *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51271,8 +51815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -51527,10 +52071,10 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 - '307': &377 + default: *379 + '307': &380 description: Temporary Redirect content: application/json: @@ -51559,8 +52103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -51582,7 +52126,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': *377 + '307': *380 '404': *6 x-github: githubCloudOnly: false @@ -51605,11 +52149,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - - &392 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51632,7 +52176,7 @@ paths: type: integer artifacts: type: array - items: &378 + items: &381 title: Artifact description: An artifact type: object @@ -51727,7 +52271,7 @@ paths: - expires_at - updated_at examples: - default: &393 + default: &396 value: total_count: 2 artifacts: @@ -51788,9 +52332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *361 - - *362 - - &379 + - *364 + - *365 + - &382 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51802,7 +52346,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *381 examples: default: value: @@ -51840,9 +52384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *361 - - *362 - - *379 + - *364 + - *365 + - *382 responses: '204': description: Response @@ -51866,9 +52410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *361 - - *362 - - *379 + - *364 + - *365 + - *382 - name: archive_format in: path required: true @@ -51882,7 +52426,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': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51905,14 +52449,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: default: value: @@ -51938,11 +52482,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: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - - &381 + - &384 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 @@ -51976,7 +52520,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &385 title: Repository actions caches description: Repository actions caches type: object @@ -52026,7 +52570,7 @@ paths: - total_count - actions_caches examples: - default: &383 + default: &386 value: total_count: 1 actions_caches: @@ -52058,23 +52602,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: - - *361 - - *362 + - *364 + - *365 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *381 + - *384 responses: '200': description: Response content: application/json: - schema: *382 + schema: *385 examples: - default: *383 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52094,8 +52638,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: - - *361 - - *362 + - *364 + - *365 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52126,9 +52670,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: - - *361 - - *362 - - &384 + - *364 + - *365 + - &387 name: job_id description: The unique identifier of the job. in: path @@ -52140,7 +52684,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -52487,9 +53031,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: - - *361 - - *362 - - *384 + - *364 + - *365 + - *387 responses: '302': description: Response @@ -52517,9 +53061,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: - - *361 - - *362 - - *384 + - *364 + - *365 + - *387 requestBody: required: false content: @@ -52565,8 +53109,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Status response @@ -52616,8 +53160,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -52680,8 +53224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -52699,7 +53243,7 @@ paths: type: integer secrets: type: array - items: &398 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52720,7 +53264,7 @@ paths: - created_at - updated_at examples: - default: &399 + default: &402 value: total_count: 2 secrets: @@ -52753,9 +53297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *361 - - *362 - - *385 + - *364 + - *365 + - *388 - *19 responses: '200': @@ -52772,7 +53316,7 @@ paths: type: integer variables: type: array - items: &402 + items: &405 title: Actions Variable type: object properties: @@ -52806,7 +53350,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &406 value: total_count: 2 variables: @@ -52839,8 +53383,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -52849,7 +53393,7 @@ paths: schema: type: object properties: - enabled: &386 + enabled: &389 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 @@ -52882,8 +53426,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -52894,7 +53438,7 @@ paths: schema: type: object properties: - enabled: *386 + enabled: *389 allowed_actions: *46 required: - enabled @@ -52925,14 +53469,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &387 + schema: &390 type: object properties: access_level: @@ -52950,7 +53494,7 @@ paths: required: - access_level examples: - default: &388 + default: &391 value: access_level: organization x-github: @@ -52975,15 +53519,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: application/json: - schema: *387 + schema: *390 examples: - default: *388 + default: *391 responses: '204': description: Response @@ -53007,8 +53551,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53039,8 +53583,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -53072,8 +53616,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53102,8 +53646,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Success response @@ -53143,8 +53687,8 @@ paths: in: query schema: type: string - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -53188,8 +53732,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53221,8 +53765,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -53296,8 +53840,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: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -53333,8 +53877,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: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -53364,8 +53908,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': @@ -53395,8 +53939,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '204': @@ -53422,8 +53966,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': *64 @@ -53448,8 +53992,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: - - *361 - - *362 + - *364 + - *365 - *58 requestBody: required: true @@ -53498,8 +54042,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: - - *361 - - *362 + - *364 + - *365 - *58 requestBody: required: true @@ -53549,8 +54093,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': *196 @@ -53580,8 +54124,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: - - *361 - - *362 + - *364 + - *365 - *58 - *197 responses: @@ -53611,9 +54155,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: - - *361 - - *362 - - &406 + - *364 + - *365 + - &409 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. @@ -53621,7 +54165,7 @@ paths: required: false schema: type: string - - &407 + - &410 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53629,7 +54173,7 @@ paths: required: false schema: type: string - - &408 + - &411 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53638,7 +54182,7 @@ paths: required: false schema: type: string - - &409 + - &412 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 @@ -53665,7 +54209,7 @@ paths: - pending - *17 - *19 - - &410 + - &413 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)." @@ -53674,7 +54218,7 @@ paths: schema: type: string format: date-time - - &389 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53683,13 +54227,13 @@ paths: schema: type: boolean default: false - - &411 + - &414 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &412 + - &415 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53712,7 +54256,7 @@ paths: type: integer workflow_runs: type: array - items: &390 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -53829,7 +54373,7 @@ paths: type: - array - 'null' - items: &433 + items: &436 title: Pull Request Minimal type: object properties: @@ -53956,7 +54500,7 @@ paths: head_commit: anyOf: - type: 'null' - - &437 + - &440 title: Simple Commit description: A commit. type: object @@ -54071,7 +54615,7 @@ paths: - workflow_url - pull_requests examples: - default: &413 + default: &416 value: total_count: 1 workflow_runs: @@ -54307,24 +54851,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *361 - - *362 - - &391 + - *364 + - *365 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *389 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: &394 + default: &397 value: id: 30433642 name: Build @@ -54565,9 +55109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '204': description: Response @@ -54590,9 +55134,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -54720,9 +55264,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '201': description: Response @@ -54755,12 +55299,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 - *17 - *19 - - *392 + - *395 responses: '200': description: Response @@ -54776,9 +55320,9 @@ paths: type: integer artifacts: type: array - items: *378 + items: *381 examples: - default: *393 + default: *396 headers: Link: *37 x-github: @@ -54802,25 +55346,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *361 - - *362 - - *391 - - &395 + - *364 + - *365 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *389 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *394 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54843,10 +55387,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: - - *361 - - *362 - - *391 - - *395 + - *364 + - *365 + - *394 + - *398 - *17 - *19 responses: @@ -54864,9 +55408,9 @@ paths: type: integer jobs: type: array - items: *396 + items: *399 examples: - default: &397 + default: &400 value: total_count: 1 jobs: @@ -54979,10 +55523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *361 - - *362 - - *391 - - *395 + - *364 + - *365 + - *394 + - *398 responses: '302': description: Response @@ -55010,9 +55554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '202': description: Response @@ -55045,9 +55589,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: true content: @@ -55114,9 +55658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '202': description: Response @@ -55149,9 +55693,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 - 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 @@ -55181,9 +55725,9 @@ paths: type: integer jobs: type: array - items: *396 + items: *399 examples: - default: *397 + default: *400 headers: Link: *37 x-github: @@ -55208,9 +55752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '302': description: Response @@ -55237,9 +55781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '204': description: Response @@ -55266,9 +55810,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -55337,7 +55881,7 @@ paths: items: type: object properties: - type: &508 + type: &511 type: string description: The type of reviewer. enum: @@ -55348,7 +55892,7 @@ paths: reviewer: anyOf: - *4 - - *275 + - *220 required: - environment - wait_timer @@ -55423,9 +55967,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: true content: @@ -55475,7 +56019,7 @@ paths: application/json: schema: type: array - items: &503 + items: &506 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55587,7 +56131,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &507 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55643,9 +56187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: false content: @@ -55690,9 +56234,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: false content: @@ -55747,9 +56291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -55886,8 +56430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -55905,9 +56449,9 @@ paths: type: integer secrets: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *37 x-github: @@ -55932,16 +56476,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55963,17 +56507,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *398 + schema: *401 examples: - default: &521 + default: &524 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55999,8 +56543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -56058,8 +56602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -56085,9 +56629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *361 - - *362 - - *385 + - *364 + - *365 + - *388 - *19 responses: '200': @@ -56104,9 +56648,9 @@ paths: type: integer variables: type: array - items: *402 + items: *405 examples: - default: *403 + default: *406 headers: Link: *37 x-github: @@ -56129,8 +56673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -56182,17 +56726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: &522 + default: &525 value: name: USERNAME value: octocat @@ -56218,8 +56762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 requestBody: required: true @@ -56262,8 +56806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 responses: '204': @@ -56289,8 +56833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -56308,7 +56852,7 @@ paths: type: integer workflows: type: array - items: &404 + items: &407 title: Workflow description: A GitHub Actions workflow type: object @@ -56426,9 +56970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *361 - - *362 - - &405 + - *364 + - *365 + - &408 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56443,7 +56987,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: default: value: @@ -56476,9 +57020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56503,9 +57047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56556,9 +57100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56585,19 +57129,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: - - *361 - - *362 - - *405 - - *406 - - *407 + - *364 + - *365 - *408 - *409 - - *17 - - *19 - *410 - - *389 - *411 - *412 + - *17 + - *19 + - *413 + - *392 + - *414 + - *415 responses: '200': description: Response @@ -56613,9 +57157,9 @@ paths: type: integer workflow_runs: type: array - items: *390 + items: *393 examples: - default: *413 + default: *416 headers: Link: *37 x-github: @@ -56648,9 +57192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '200': description: Response @@ -56711,8 +57255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *361 - - *362 + - *364 + - *365 - *84 - *17 - *82 @@ -56880,8 +57424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -56893,7 +57437,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -56918,8 +57462,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: - - *361 - - *362 + - *364 + - *365 - name: assignee in: path required: true @@ -56955,8 +57499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -57068,8 +57612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *82 - *83 @@ -57123,7 +57667,7 @@ paths: bundle_url: type: string examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57143,8 +57687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -57152,7 +57696,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Autolink reference description: An autolink reference. type: object @@ -57206,8 +57750,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -57246,9 +57790,9 @@ paths: description: response content: application/json: - schema: *415 + schema: *418 examples: - default: &416 + default: &419 value: id: 1 key_prefix: TICKET- @@ -57279,9 +57823,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: - - *361 - - *362 - - &417 + - *364 + - *365 + - &420 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57293,9 +57837,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -57315,9 +57859,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: - - *361 - - *362 - - *417 + - *364 + - *365 + - *420 responses: '204': description: Response @@ -57341,8 +57885,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response if Dependabot is enabled @@ -57392,8 +57936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -57414,8 +57958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -57435,8 +57979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *361 - - *362 + - *364 + - *365 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57474,7 +58018,7 @@ paths: - url protected: type: boolean - protection: &419 + protection: &422 title: Branch Protection description: Branch Protection type: object @@ -57517,7 +58061,7 @@ paths: required: - contexts - checks - enforce_admins: &422 + enforce_admins: &425 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57534,7 +58078,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &424 + required_pull_request_reviews: &427 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57556,7 +58100,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *275 + items: *220 apps: description: The list of apps with review dismissal access. @@ -57588,7 +58132,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *275 + items: *220 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57618,7 +58162,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &421 + restrictions: &424 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57943,9 +58487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *361 - - *362 - - &420 + - *364 + - *365 + - &423 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). @@ -57959,14 +58503,14 @@ paths: description: Response content: application/json: - schema: &430 + schema: &433 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &479 + commit: &482 title: Commit description: Commit type: object @@ -58005,7 +58549,7 @@ paths: author: anyOf: - type: 'null' - - &418 + - &421 title: Git User description: Metaproperties for Git author/committer information. @@ -58026,7 +58570,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 message: type: string examples: @@ -58050,7 +58594,7 @@ paths: required: - sha - url - verification: &528 + verification: &531 title: Verification type: object properties: @@ -58130,7 +58674,7 @@ paths: type: integer files: type: array - items: &491 + items: &494 title: Diff Entry description: Diff Entry type: object @@ -58224,7 +58768,7 @@ paths: - self protected: type: boolean - protection: *419 + protection: *422 protection_url: type: string format: uri @@ -58333,7 +58877,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *375 + '301': *378 '404': *6 x-github: githubCloudOnly: false @@ -58355,15 +58899,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: default: value: @@ -58557,9 +59101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -58819,7 +59363,7 @@ paths: url: type: string format: uri - required_status_checks: &427 + required_status_checks: &430 title: Status Check Policy description: Status Check Policy type: object @@ -58900,7 +59444,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 apps: type: array items: *5 @@ -58918,7 +59462,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 apps: type: array items: *5 @@ -58978,7 +59522,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *421 + restrictions: *424 required_conversation_resolution: type: object properties: @@ -59090,9 +59634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59117,17 +59661,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: &423 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59149,17 +59693,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: *423 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59178,9 +59722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59205,17 +59749,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *427 examples: - default: &425 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59311,9 +59855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59411,9 +59955,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *427 examples: - default: *425 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -59434,9 +59978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59463,17 +60007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: &426 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59496,17 +60040,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: *426 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -59526,9 +60070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59553,17 +60097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: &428 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59589,9 +60133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59643,9 +60187,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: *428 + default: *431 '404': *6 '422': *15 x-github: @@ -59667,9 +60211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59693,9 +60237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -59729,9 +60273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59798,9 +60342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59864,9 +60408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: content: application/json: @@ -59932,15 +60476,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *421 + schema: *424 examples: default: value: @@ -60031,9 +60575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -60056,9 +60600,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60068,7 +60612,7 @@ paths: type: array items: *5 examples: - default: &429 + default: &432 value: - id: 1 slug: octoapp @@ -60125,9 +60669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60161,7 +60705,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60182,9 +60726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60218,7 +60762,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60239,9 +60783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60275,7 +60819,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60297,9 +60841,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60307,9 +60851,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -60329,9 +60873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -60367,9 +60911,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60390,9 +60934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -60428,9 +60972,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60451,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: content: application/json: @@ -60488,9 +61032,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60512,9 +61056,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60524,7 +61068,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '404': *6 x-github: githubCloudOnly: false @@ -60548,9 +61092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60583,7 +61127,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60608,9 +61152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60643,7 +61187,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60668,9 +61212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60703,7 +61247,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60730,9 +61274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60754,7 +61298,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *433 examples: default: value: @@ -60868,8 +61412,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *361 - - *362 + - *364 + - *365 - *212 - *213 - *214 @@ -60905,8 +61449,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -60979,8 +61523,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - *212 - *213 - *214 @@ -60994,9 +61538,9 @@ paths: application/json: schema: type: array - items: *431 + items: *434 examples: - default: *432 + default: *435 '404': *6 '403': *27 '500': *95 @@ -61020,8 +61564,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -61033,7 +61577,7 @@ paths: description: A single bypass request. content: application/json: - schema: *431 + schema: *434 examples: default: value: @@ -61091,8 +61635,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -61163,8 +61707,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_response_id in: path required: true @@ -61197,8 +61741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -61477,7 +62021,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &437 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61612,8 +62156,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *433 - deployment: &742 + items: *436 + deployment: &745 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61900,9 +62444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *361 - - *362 - - &435 + - *364 + - *365 + - &438 name: check_run_id description: The unique identifier of the check run. in: path @@ -61914,9 +62458,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: &436 + default: &439 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62016,9 +62560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 requestBody: required: true content: @@ -62258,9 +62802,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *436 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62280,9 +62824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 - *17 - *19 responses: @@ -62394,9 +62938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 responses: '201': description: Response @@ -62440,8 +62984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -62463,7 +63007,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &438 + schema: &441 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62545,7 +63089,7 @@ paths: type: - array - 'null' - items: *433 + items: *436 app: anyOf: - type: 'null' @@ -62561,7 +63105,7 @@ paths: - string - 'null' format: date-time - head_commit: *437 + head_commit: *440 latest_check_runs_count: type: integer check_runs_url: @@ -62589,7 +63133,7 @@ paths: - check_runs_url - pull_requests examples: - default: &439 + default: &442 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62880,9 +63424,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62901,8 +63445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -63211,9 +63755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *361 - - *362 - - &440 + - *364 + - *365 + - &443 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63225,9 +63769,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63250,17 +63794,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: - - *361 - - *362 - - *440 - - &486 + - *364 + - *365 + - *443 + - &489 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &487 + - &490 name: status description: Returns check runs with the specified `status`. in: query @@ -63299,9 +63843,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *437 examples: - default: &488 + default: &491 value: total_count: 1 check_runs: @@ -63403,9 +63947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *361 - - *362 - - *440 + - *364 + - *365 + - *443 responses: '201': description: Response @@ -63438,21 +63982,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: - - *361 - - *362 - - *220 - - *221 + - *364 + - *365 + - *224 + - *225 - *19 - *17 - - &456 + - &459 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: *441 - - &457 + schema: *444 + - &460 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63477,13 +64021,13 @@ paths: be returned. in: query required: false - schema: *222 + schema: *226 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *442 + schema: *445 responses: '200': description: Response @@ -63499,7 +64043,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *443 + instances_url: *446 state: *87 fixed_at: *106 dismissed_by: @@ -63507,11 +64051,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *444 - dismissed_comment: *445 - rule: *446 - tool: *447 - most_recent_instance: *448 + dismissed_reason: *447 + dismissed_comment: *448 + rule: *449 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: anyOf: - type: 'null' @@ -63631,7 +64175,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &449 + '403': &452 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63658,9 +64202,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: - - *361 - - *362 - - &450 + - *364 + - *365 + - &453 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63674,7 +64218,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &454 type: object properties: number: *96 @@ -63682,7 +64226,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *443 + instances_url: *446 state: *87 fixed_at: *106 dismissed_by: @@ -63690,8 +64234,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *444 - dismissed_comment: *445 + dismissed_reason: *447 + dismissed_comment: *448 rule: type: object properties: @@ -63753,8 +64297,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *447 - most_recent_instance: *448 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: anyOf: - type: 'null' @@ -63847,7 +64391,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -63867,9 +64411,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: true content: @@ -63884,8 +64428,8 @@ paths: enum: - open - dismissed - dismissed_reason: *444 - dismissed_comment: *445 + dismissed_reason: *447 + dismissed_comment: *448 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63904,7 +64448,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -63980,7 +64524,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &455 + '403': &458 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64007,15 +64551,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: Response content: application/json: - schema: &452 + schema: &455 type: object properties: status: @@ -64042,13 +64586,13 @@ paths: - description - started_at examples: - default: &453 + default: &456 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &454 + '400': &457 description: Bad Request content: application/json: @@ -64059,7 +64603,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': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64084,29 +64628,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: OK content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 '202': description: Accepted content: application/json: - schema: *452 + schema: *455 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *454 + '400': *457 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64138,9 +64682,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: false content: @@ -64186,8 +64730,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *454 - '403': *455 + '400': *457 + '403': *458 '404': *6 '422': description: Unprocessable Entity @@ -64211,13 +64755,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 - *19 - *17 - - *456 - - *457 + - *459 + - *460 responses: '200': description: Response @@ -64225,7 +64769,7 @@ paths: application/json: schema: type: array - items: *448 + items: *451 examples: default: value: @@ -64264,7 +64808,7 @@ paths: end_column: 50 classifications: - source - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64298,25 +64842,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: - - *361 - - *362 - - *220 - - *221 + - *364 + - *365 + - *224 + - *225 - *19 - *17 - - *457 + - *460 - 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: *441 + schema: *444 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &460 + schema: &463 type: string description: An identifier for the upload. examples: @@ -64338,23 +64882,23 @@ paths: application/json: schema: type: array - items: &461 + items: &464 type: object properties: - ref: *441 - commit_sha: &469 + ref: *444 + commit_sha: &472 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: *458 + analysis_key: *461 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *459 + category: *462 error: type: string examples: @@ -64379,8 +64923,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *460 - tool: *447 + sarif_id: *463 + tool: *450 deletable: type: boolean warning: @@ -64442,7 +64986,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64478,8 +65022,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: - - *361 - - *362 + - *364 + - *365 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64492,7 +65036,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: response: summary: application/json response @@ -64546,7 +65090,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64628,8 +65172,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: - - *361 - - *362 + - *364 + - *365 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64685,7 +65229,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': *455 + '403': *458 '404': *6 '503': *128 x-github: @@ -64707,8 +65251,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -64716,7 +65260,7 @@ paths: application/json: schema: type: array - items: &462 + items: &465 title: CodeQL Database description: A CodeQL database. type: object @@ -64828,7 +65372,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': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64857,8 +65401,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: - - *361 - - *362 + - *364 + - *365 - name: language in: path description: The language of the CodeQL database. @@ -64870,7 +65414,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *465 examples: default: value: @@ -64902,9 +65446,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': &493 + '302': &496 description: Found - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64926,8 +65470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *361 - - *362 + - *364 + - *365 - name: language in: path description: The language of the CodeQL database. @@ -64937,7 +65481,7 @@ paths: responses: '204': description: Response - '403': *455 + '403': *458 '404': *6 '503': *128 x-github: @@ -64965,8 +65509,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -64975,7 +65519,7 @@ paths: type: object additionalProperties: false properties: - language: &463 + language: &466 type: string description: The language targeted by the CodeQL query enum: @@ -65054,7 +65598,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &467 + schema: &470 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65064,7 +65608,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *463 + query_language: *466 query_pack_url: type: string description: The download url for the query pack. @@ -65112,7 +65656,7 @@ paths: items: type: object properties: - repository: &464 + repository: &467 title: Repository Identifier description: Repository Identifier type: object @@ -65154,7 +65698,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &468 + analysis_status: &471 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65186,7 +65730,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &465 + access_mismatch_repos: &468 type: object properties: repository_count: @@ -65201,7 +65745,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: *464 + items: *467 required: - repository_count - repositories @@ -65224,8 +65768,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *465 - over_limit_repos: *465 + no_codeql_db_repos: *468 + over_limit_repos: *468 required: - access_mismatch_repos - not_found_repos @@ -65241,7 +65785,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &466 + value: &469 summary: Default response value: id: 1 @@ -65393,10 +65937,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *466 + value: *469 repository_lists: summary: Response for a successful variant analysis submission - value: *466 + value: *469 '404': *6 '422': description: Unable to process variant analysis submission @@ -65424,8 +65968,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: - - *361 - - *362 + - *364 + - *365 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65437,9 +65981,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *466 + default: *469 '404': *6 '503': *128 x-github: @@ -65462,7 +66006,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: - - *361 + - *364 - name: repo in: path description: The name of the controller repository. @@ -65497,7 +66041,7 @@ paths: type: object properties: repository: *94 - analysis_status: *468 + analysis_status: *471 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65622,8 +66166,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -65705,7 +66249,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -65726,8 +66270,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -65811,7 +66355,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *455 + '403': *458 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65876,8 +66420,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -65885,7 +66429,7 @@ paths: schema: type: object properties: - commit_sha: *469 + commit_sha: *472 ref: type: string description: |- @@ -65945,7 +66489,7 @@ paths: schema: type: object properties: - id: *460 + id: *463 url: type: string description: The REST API URL for checking the status of the upload. @@ -65959,7 +66503,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': *455 + '403': *458 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65982,8 +66526,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: - - *361 - - *362 + - *364 + - *365 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66031,7 +66575,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': *449 + '403': *452 '404': description: Not Found if the sarif id does not match any upload '503': *128 @@ -66056,8 +66600,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66138,8 +66682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *361 - - *362 + - *364 + - *365 - 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 @@ -66267,8 +66811,8 @@ paths: parameters: - *17 - *19 - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66284,7 +66828,7 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: default: value: @@ -66582,8 +67126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -66647,17 +67191,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '400': *14 '401': *23 '403': *27 @@ -66686,8 +67230,8 @@ paths: parameters: - *17 - *19 - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66751,8 +67295,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: - - *361 - - *362 + - *364 + - *365 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66789,9 +67333,9 @@ paths: type: integer machines: type: array - items: *471 + items: *474 examples: - default: &699 + default: &702 value: total_count: 2 machines: @@ -66831,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *361 - - *362 + - *364 + - *365 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66919,8 +67463,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: - - *361 - - *362 + - *364 + - *365 - 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 @@ -66989,8 +67533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -67008,7 +67552,7 @@ paths: type: integer secrets: type: array - items: &475 + items: &478 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67029,7 +67573,7 @@ paths: - created_at - updated_at examples: - default: *472 + default: *475 headers: Link: *37 x-github: @@ -67052,16 +67596,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67081,17 +67625,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *475 + schema: *478 examples: - default: *476 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67111,8 +67655,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: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -67165,8 +67709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -67195,8 +67739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *361 - - *362 + - *364 + - *365 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67234,7 +67778,7 @@ paths: application/json: schema: type: array - items: &477 + items: &480 title: Collaborator description: Collaborator type: object @@ -67427,8 +67971,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: - - *361 - - *362 + - *364 + - *365 - *211 responses: '204': @@ -67471,8 +68015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *361 - - *362 + - *364 + - *365 - *211 requestBody: required: false @@ -67499,7 +68043,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &541 + schema: &544 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67720,8 +68264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *361 - - *362 + - *364 + - *365 - *211 responses: '204': @@ -67751,8 +68295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *361 - - *362 + - *364 + - *365 - *211 responses: '200': @@ -67773,7 +68317,7 @@ paths: user: anyOf: - type: 'null' - - *477 + - *480 required: - permission - role_name @@ -67827,8 +68371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -67838,7 +68382,7 @@ paths: application/json: schema: type: array - items: &478 + items: &481 title: Commit Comment description: Commit Comment type: object @@ -67896,7 +68440,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &484 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67955,17 +68499,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: &482 + default: &485 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68022,8 +68566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -68046,7 +68590,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *481 examples: default: value: @@ -68097,8 +68641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -68120,8 +68664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -68148,9 +68692,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -68171,8 +68715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -68205,16 +68749,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -68236,10 +68780,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -68288,8 +68832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *361 - - *362 + - *364 + - *365 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68345,9 +68889,9 @@ paths: application/json: schema: type: array - items: *479 + items: *482 examples: - default: &589 + default: &592 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68441,9 +68985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *361 - - *362 - - &480 + - *364 + - *365 + - &483 name: commit_sha description: The SHA of the commit. in: path @@ -68515,9 +69059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 - *17 - *19 responses: @@ -68527,9 +69071,9 @@ paths: application/json: schema: type: array - items: *478 + items: *481 examples: - default: *481 + default: *484 headers: Link: *37 x-github: @@ -68557,9 +69101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 requestBody: required: true content: @@ -68594,9 +69138,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: *482 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68624,9 +69168,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: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 - *17 - *19 responses: @@ -68636,7 +69180,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Pull Request Simple description: Pull Request Simple type: object @@ -68756,7 +69300,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 active_lock_reason: type: - string @@ -68811,7 +69355,7 @@ paths: type: - array - 'null' - items: *275 + items: *220 head: type: object properties: @@ -68855,7 +69399,7 @@ paths: _links: type: object properties: - comments: &484 + comments: &487 title: Link description: Hypermedia Link type: object @@ -68864,13 +69408,13 @@ paths: type: string required: - href - commits: *484 - statuses: *484 - html: *484 - issue: *484 - review_comments: *484 - review_comment: *484 - self: *484 + commits: *487 + statuses: *487 + html: *487 + issue: *487 + review_comments: *487 + review_comment: *487 + self: *487 required: - comments - commits @@ -68881,7 +69425,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: &582 + auto_merge: &585 title: Auto merge description: The status of auto merging a pull request. type: @@ -68946,7 +69490,7 @@ paths: - author_association - auto_merge examples: - default: &581 + default: &584 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69483,11 +70027,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 - - &485 + - &488 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)" @@ -69502,9 +70046,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *482 examples: - default: &568 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69617,11 +70161,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: - - *361 - - *362 - - *485 - - *486 - - *487 + - *364 + - *365 + - *488 + - *489 + - *490 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69655,9 +70199,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *437 examples: - default: *488 + default: *491 headers: Link: *37 x-github: @@ -69682,9 +70226,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: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69692,7 +70236,7 @@ paths: schema: type: integer example: 1 - - *486 + - *489 - *17 - *19 responses: @@ -69710,7 +70254,7 @@ paths: type: integer check_suites: type: array - items: *438 + items: *441 examples: default: value: @@ -69910,9 +70454,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: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - *17 - *19 responses: @@ -70114,9 +70658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - *17 - *19 responses: @@ -70126,7 +70670,7 @@ paths: application/json: schema: type: array - items: &647 + items: &650 title: Status description: The status of a commit. type: object @@ -70207,7 +70751,7 @@ paths: site_admin: false headers: Link: *37 - '301': *375 + '301': *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70235,8 +70779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -70269,11 +70813,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *489 + - *492 code_of_conduct_file: anyOf: - type: 'null' - - &490 + - &493 title: Community Health File type: object properties: @@ -70293,19 +70837,19 @@ paths: contributing: anyOf: - type: 'null' - - *490 + - *493 readme: anyOf: - type: 'null' - - *490 + - *493 issue_template: anyOf: - type: 'null' - - *490 + - *493 pull_request_template: anyOf: - type: 'null' - - *490 + - *493 required: - code_of_conduct - code_of_conduct_file @@ -70434,8 +70978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 - name: basehead @@ -70483,8 +71027,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *479 - merge_base_commit: *479 + base_commit: *482 + merge_base_commit: *482 status: type: string enum: @@ -70508,10 +71052,10 @@ paths: - 6 commits: type: array - items: *479 + items: *482 files: type: array - items: *491 + items: *494 required: - url - html_url @@ -70797,8 +71341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -70951,7 +71495,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &492 + response-if-content-is-a-file: &495 summary: Response if content is a file value: type: file @@ -71088,7 +71632,7 @@ paths: - size - type - url - - &594 + - &597 title: Content File description: Content File type: object @@ -71306,7 +71850,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *492 + response-if-content-is-a-file: *495 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71375,7 +71919,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *493 + '302': *496 '304': *35 x-github: githubCloudOnly: false @@ -71398,8 +71942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -71494,7 +72038,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &497 title: File Commit description: File Commit type: object @@ -71650,7 +72194,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: example-for-creating-a-file: value: @@ -71704,7 +72248,7 @@ paths: schema: oneOf: - *3 - - &523 + - &526 description: Repository rule violation was detected type: object properties: @@ -71725,7 +72269,7 @@ paths: items: type: object properties: - placeholder_id: &639 + placeholder_id: &642 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71757,8 +72301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -71819,7 +72363,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: default: value: @@ -71874,8 +72418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *361 - - *362 + - *364 + - *365 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71999,21 +72543,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *361 - - *362 - - *238 - - *239 - - *240 - - *241 + - *364 + - *365 + - *242 + - *243 + - *244 + - *245 - 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 - - *242 - - *243 - - *244 + - *246 + - *247 + - *248 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72033,8 +72577,8 @@ paths: default: 30 - *82 - *83 - - *245 - - *246 + - *249 + - *250 responses: '200': description: Response @@ -72042,7 +72586,7 @@ paths: application/json: schema: type: array - items: &497 + items: &500 type: object description: A Dependabot alert. properties: @@ -72092,7 +72636,7 @@ paths: - direct - transitive - - security_advisory: *495 + security_advisory: *498 security_vulnerability: *100 url: *101 html_url: *102 @@ -72123,7 +72667,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *496 + auto_dismissed_at: *499 required: - number - state @@ -72353,9 +72897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *361 - - *362 - - &498 + - *364 + - *365 + - &501 name: alert_number in: path description: |- @@ -72370,7 +72914,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72483,9 +73027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *361 - - *362 - - *498 + - *364 + - *365 + - *501 requestBody: required: true content: @@ -72530,7 +73074,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72659,8 +73203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -72678,7 +73222,7 @@ paths: type: integer secrets: type: array - items: &501 + items: &504 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72732,16 +73276,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *499 + schema: *502 examples: - default: *500 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72761,15 +73305,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *501 + schema: *504 examples: default: value: @@ -72795,8 +73339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -72849,8 +73393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -72873,8 +73417,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: - - *361 - - *362 + - *364 + - *365 - 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 @@ -73048,8 +73592,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -73309,8 +73853,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -73393,7 +73937,7 @@ paths: - version - url additionalProperties: false - metadata: &502 + metadata: &505 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73432,7 +73976,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *502 + metadata: *505 resolved: type: object description: A collection of resolved package dependencies. @@ -73446,7 +73990,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *502 + metadata: *505 relationship: type: string description: A notation of whether a dependency is requested @@ -73579,8 +74123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *361 - - *362 + - *364 + - *365 - name: sha description: The SHA recorded at creation time. in: query @@ -73621,9 +74165,9 @@ paths: application/json: schema: type: array - items: *503 + items: *506 examples: - default: *504 + default: *507 headers: Link: *37 x-github: @@ -73689,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -73772,7 +74316,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: simple-example: summary: Simple example @@ -73845,9 +74389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *361 - - *362 - - &505 + - *364 + - *365 + - &508 name: deployment_id description: deployment_id parameter in: path @@ -73859,7 +74403,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: default: value: @@ -73924,9 +74468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 responses: '204': description: Response @@ -73948,9 +74492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 - *17 - *19 responses: @@ -73960,7 +74504,7 @@ paths: application/json: schema: type: array - items: &506 + items: &509 title: Deployment Status description: The status of a deployment. type: object @@ -74124,9 +74668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 requestBody: required: true content: @@ -74201,9 +74745,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: &507 + default: &510 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74259,9 +74803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 - name: status_id in: path required: true @@ -74272,9 +74816,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -74299,8 +74843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -74357,8 +74901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -74376,7 +74920,7 @@ paths: - 5 environments: type: array - items: &509 + items: &512 title: Environment description: Details of a deployment environment type: object @@ -74438,7 +74982,7 @@ paths: type: string examples: - wait_timer - wait_timer: &511 + wait_timer: &514 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74480,11 +75024,11 @@ paths: items: type: object properties: - type: *508 + type: *511 reviewer: anyOf: - *4 - - *275 + - *220 required: - id - node_id @@ -74507,7 +75051,7 @@ paths: - id - node_id - type - deployment_branch_policy: &512 + deployment_branch_policy: &515 type: - object - 'null' @@ -74624,9 +75168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *361 - - *362 - - &510 + - *364 + - *365 + - &513 name: environment_name in: path required: true @@ -74639,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: &513 + default: &516 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74725,9 +75269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: false content: @@ -74737,7 +75281,7 @@ paths: - object - 'null' properties: - wait_timer: *511 + wait_timer: *514 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74756,14 +75300,14 @@ paths: items: type: object properties: - type: *508 + type: *511 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *512 + deployment_branch_policy: *515 additionalProperties: false examples: default: @@ -74783,9 +75327,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *513 + default: *516 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74809,9 +75353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 responses: '204': description: Default response @@ -74836,9 +75380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *17 - *19 responses: @@ -74857,7 +75401,7 @@ paths: - 2 branch_policies: type: array - items: &514 + items: &517 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74918,9 +75462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: true content: @@ -74968,9 +75512,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - example-wildcard: &515 + example-wildcard: &518 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75012,10 +75556,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - &516 + - *364 + - *365 + - *513 + - &519 name: branch_policy_id in: path required: true @@ -75027,9 +75571,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *515 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75048,10 +75592,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - *516 + - *364 + - *365 + - *513 + - *519 requestBody: required: true content: @@ -75080,9 +75624,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *515 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75101,10 +75645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - *516 + - *364 + - *365 + - *513 + - *519 responses: '204': description: Response @@ -75129,9 +75673,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 responses: '200': description: List of deployment protection rules @@ -75148,7 +75692,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &517 + items: &520 title: Deployment protection rule description: Deployment protection rule type: object @@ -75170,7 +75714,7 @@ paths: for the environment. examples: - true - app: &518 + app: &521 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75273,9 +75817,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 requestBody: content: application/json: @@ -75296,9 +75840,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *517 + schema: *520 examples: - default: &519 + default: &522 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75333,9 +75877,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 - *19 - *17 responses: @@ -75355,7 +75899,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *518 + items: *521 examples: default: value: @@ -75390,10 +75934,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: - - *361 - - *362 - - *510 - - &520 + - *364 + - *365 + - *513 + - &523 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75405,9 +75949,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *519 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75428,10 +75972,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: - - *510 - - *362 - - *361 - - *520 + - *513 + - *365 + - *364 + - *523 responses: '204': description: Response @@ -75457,9 +76001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *17 - *19 responses: @@ -75477,9 +76021,9 @@ paths: type: integer secrets: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *37 x-github: @@ -75504,17 +76048,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75536,18 +76080,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 responses: '200': description: Response content: application/json: - schema: *398 + schema: *401 examples: - default: *521 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75569,9 +76113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 requestBody: required: true @@ -75629,9 +76173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 responses: '204': @@ -75657,10 +76201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *361 - - *362 - - *510 - - *385 + - *364 + - *365 + - *513 + - *388 - *19 responses: '200': @@ -75677,9 +76221,9 @@ paths: type: integer variables: type: array - items: *402 + items: *405 examples: - default: *403 + default: *406 headers: Link: *37 x-github: @@ -75702,9 +76246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: true content: @@ -75756,18 +76300,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *202 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: *522 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75788,10 +76332,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 - - *510 + - *513 requestBody: required: true content: @@ -75833,10 +76377,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 - - *510 + - *513 responses: '204': description: Response @@ -75858,8 +76402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -75936,8 +76480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *361 - - *362 + - *364 + - *365 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76096,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -76130,9 +76674,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 '400': *14 '422': *15 '403': *27 @@ -76153,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76214,7 +76758,7 @@ paths: schema: oneOf: - *172 - - *523 + - *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76239,8 +76783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *361 - - *362 + - *364 + - *365 - name: file_sha in: path required: true @@ -76340,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76450,7 +76994,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76677,15 +77221,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -76741,9 +77285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *361 - - *362 - - &525 + - *364 + - *365 + - &528 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. @@ -76760,7 +77304,7 @@ paths: application/json: schema: type: array - items: &526 + items: &529 title: Git Reference description: Git references within a repository type: object @@ -76836,17 +77380,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 responses: '200': description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: &527 + default: &530 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76875,8 +77419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76905,9 +77449,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *527 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76933,9 +77477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 requestBody: required: true content: @@ -76964,9 +77508,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *527 + default: *530 '422': *15 '409': *92 x-github: @@ -76984,9 +77528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 responses: '204': description: Response @@ -77039,8 +77583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -77107,7 +77651,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &532 title: Git Tag description: Metadata for a Git tag type: object @@ -77163,7 +77707,7 @@ paths: - sha - type - url - verification: *528 + verification: *531 required: - sha - url @@ -77173,7 +77717,7 @@ paths: - tag - message examples: - default: &530 + default: &533 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77246,8 +77790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *361 - - *362 + - *364 + - *365 - name: tag_sha in: path required: true @@ -77258,9 +77802,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 '404': *6 '409': *92 x-github: @@ -77284,8 +77828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -77359,7 +77903,7 @@ paths: description: Response content: application/json: - schema: &531 + schema: &534 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77376,6 +77920,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -77408,29 +77957,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: @@ -77477,8 +78005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *361 - - *362 + - *364 + - *365 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77501,7 +78029,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: default-response: summary: Default response @@ -77560,8 +78088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -77571,7 +78099,7 @@ paths: application/json: schema: type: array - items: &532 + items: &535 title: Webhook description: Webhooks for repositories. type: object @@ -77634,7 +78162,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &773 + last_response: &776 title: Hook Response type: object properties: @@ -77711,8 +78239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -77765,9 +78293,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: &533 + default: &536 value: type: Repository id: 12345678 @@ -77815,17 +78343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '200': description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -77845,9 +78373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 requestBody: required: true content: @@ -77892,9 +78420,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '422': *15 '404': *6 x-github: @@ -77915,9 +78443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -77941,9 +78469,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '200': description: Response @@ -77970,9 +78498,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 requestBody: required: false content: @@ -78016,11 +78544,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *17 - - *253 + - *257 responses: '200': description: Response @@ -78028,9 +78556,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '400': *14 '422': *15 x-github: @@ -78049,18 +78577,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *16 responses: '200': description: Response content: application/json: - schema: *256 + schema: *260 examples: - default: *257 + default: *261 '400': *14 '422': *15 x-github: @@ -78079,9 +78607,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *16 responses: '202': *93 @@ -78104,9 +78632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -78131,9 +78659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -78191,14 +78719,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &534 + schema: &537 title: Import description: A repository import from an external source. type: object @@ -78305,7 +78833,7 @@ paths: - html_url - authors_url examples: - default: &537 + default: &540 value: vcs: subversion use_lfs: true @@ -78321,7 +78849,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': &535 + '503': &538 description: Unavailable due to service under maintenance. content: application/json: @@ -78350,8 +78878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -78399,7 +78927,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: default: value: @@ -78424,7 +78952,7 @@ paths: type: string '422': *15 '404': *6 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78452,8 +78980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -78505,7 +79033,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: example-1: summary: Example 1 @@ -78553,7 +79081,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': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78576,12 +79104,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78607,9 +79135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *361 - - *362 - - &722 + - *364 + - *365 + - &725 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78623,7 +79151,7 @@ paths: application/json: schema: type: array - items: &536 + items: &539 title: Porter Author description: Porter Author type: object @@ -78677,7 +79205,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': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78702,8 +79230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *361 - - *362 + - *364 + - *365 - name: author_id in: path required: true @@ -78733,7 +79261,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: default: value: @@ -78746,7 +79274,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78770,8 +79298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78812,7 +79340,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78840,8 +79368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -78868,11 +79396,11 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: - default: *537 + default: *540 '422': *15 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78895,8 +79423,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78904,8 +79432,8 @@ paths: application/json: schema: *20 examples: - default: *538 - '301': *375 + default: *541 + '301': *378 '404': *6 x-github: githubCloudOnly: false @@ -78925,8 +79453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78934,12 +79462,12 @@ paths: application/json: schema: anyOf: - - *270 + - *274 - type: object properties: {} additionalProperties: false examples: - default: &540 + default: &543 value: limit: collaborators_only origin: repository @@ -78964,13 +79492,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: application/json: - schema: *539 + schema: *542 examples: default: summary: Example request body @@ -78982,9 +79510,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: - default: *540 + default: *543 '409': description: Response x-github: @@ -79006,8 +79534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -79030,8 +79558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -79041,9 +79569,9 @@ paths: application/json: schema: type: array - items: *541 + items: *544 examples: - default: &715 + default: &718 value: - id: 1 repository: @@ -79174,9 +79702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *361 - - *362 - - *274 + - *364 + - *365 + - *278 requestBody: required: false content: @@ -79205,7 +79733,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *544 examples: default: value: @@ -79336,9 +79864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *361 - - *362 - - *274 + - *364 + - *365 + - *278 responses: '204': description: Response @@ -79369,8 +79897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *361 - - *362 + - *364 + - *365 - 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 @@ -79418,7 +79946,7 @@ paths: required: false schema: type: string - - *279 + - *282 - name: sort description: What to sort results by. in: query @@ -79443,7 +79971,7 @@ paths: type: array items: *147 examples: - default: &550 + default: &553 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79591,7 +80119,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *375 + '301': *378 '422': *15 '404': *6 x-github: @@ -79620,8 +80148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -79713,7 +80241,7 @@ paths: application/json: schema: *147 examples: - default: &545 + default: &548 value: id: 1 node_id: MDU6SXNzdWUx @@ -79869,7 +80397,7 @@ paths: '422': *15 '503': *128 '404': *6 - '410': *372 + '410': *375 x-github: triggersNotification: true githubCloudOnly: false @@ -79897,8 +80425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *156 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79919,9 +80447,9 @@ paths: application/json: schema: type: array - items: *542 + items: *545 examples: - default: &547 + default: &550 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79979,17 +80507,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: &543 + default: &546 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80043,8 +80571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -80067,9 +80595,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: *543 + default: *546 '422': *15 x-github: githubCloudOnly: false @@ -80087,8 +80615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -80109,8 +80637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80137,9 +80665,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -80160,8 +80688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -80194,16 +80722,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -80225,10 +80753,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -80248,8 +80776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -80259,7 +80787,7 @@ paths: application/json: schema: type: array - items: &544 + items: &547 title: Issue Event description: Issue Event type: object @@ -80339,7 +80867,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *275 + requested_team: *220 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80598,8 +81126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *361 - - *362 + - *364 + - *365 - name: event_id in: path required: true @@ -80610,7 +81138,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -80803,7 +81331,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *372 + '410': *375 '403': *27 x-github: githubCloudOnly: false @@ -80837,9 +81365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *361 - - *362 - - &546 + - *364 + - *365 + - &549 name: issue_number description: The number that identifies the issue. in: path @@ -80853,10 +81381,10 @@ paths: application/json: schema: *147 examples: - default: *545 - '301': *375 + default: *548 + '301': *378 '404': *6 - '410': *372 + '410': *375 '304': *35 x-github: githubCloudOnly: false @@ -80881,9 +81409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -81003,13 +81531,13 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 '422': *15 '503': *128 '403': *27 - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81027,9 +81555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -81057,7 +81585,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81073,9 +81601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: content: application/json: @@ -81102,7 +81630,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,9 +81652,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: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - name: assignee in: path required: true @@ -81166,9 +81694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *137 - *17 - *19 @@ -81179,13 +81707,13 @@ paths: application/json: schema: type: array - items: *542 + items: *545 examples: - default: *547 + default: *550 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81214,9 +81742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -81238,16 +81766,16 @@ paths: description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: *543 + default: *546 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *372 + '410': *375 '422': *15 '404': *6 x-github: @@ -81267,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -81283,7 +81811,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &551 + - &554 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81332,7 +81860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &555 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81460,7 +81988,7 @@ paths: - performed_via_github_app - assignee - assigner - - &553 + - &556 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81506,7 +82034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &557 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81552,7 +82080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81601,7 +82129,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &559 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81630,7 +82158,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *275 + requested_team: *220 requested_reviewer: *4 required: - review_requester @@ -81643,7 +82171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81672,7 +82200,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *275 + requested_team: *220 requested_reviewer: *4 required: - review_requester @@ -81685,7 +82213,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81741,7 +82269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &562 title: Locked Issue Event description: Locked Issue Event type: object @@ -81786,7 +82314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &563 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81847,7 +82375,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &564 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81908,7 +82436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &565 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81969,7 +82497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &566 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82062,7 +82590,7 @@ paths: color: red headers: Link: *37 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82079,9 +82607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82091,7 +82619,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82146,7 +82674,7 @@ paths: - color - default examples: - default: &549 + default: &552 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82164,9 +82692,9 @@ paths: default: false headers: Link: *37 - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82183,9 +82711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82244,12 +82772,12 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 - '301': *375 + default: *552 + '301': *378 '404': *6 - '410': *372 + '410': *375 '422': *15 x-github: githubCloudOnly: false @@ -82266,9 +82794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82328,12 +82856,12 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 - '301': *375 + default: *552 + '301': *378 '404': *6 - '410': *372 + '410': *375 '422': *15 x-github: githubCloudOnly: false @@ -82350,15 +82878,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 responses: '204': description: Response - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82377,9 +82905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - name: name in: path required: true @@ -82392,7 +82920,7 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: default: value: @@ -82403,9 +82931,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82425,9 +82953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82456,7 +82984,7 @@ paths: '204': description: Response '403': *27 - '410': *372 + '410': *375 '404': *6 '422': *15 x-github: @@ -82474,9 +83002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 responses: '204': description: Response @@ -82498,9 +83026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - 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. @@ -82526,13 +83054,13 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82550,9 +83078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82584,16 +83112,16 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -82615,10 +83143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *361 - - *362 - - *546 - - *353 + - *364 + - *365 + - *549 + - *356 responses: '204': description: Response @@ -82647,9 +83175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82673,7 +83201,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82706,9 +83234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82720,11 +83248,11 @@ paths: type: array items: *147 examples: - default: *550 + default: *553 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82752,9 +83280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82783,14 +83311,14 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *372 + '410': *375 '422': *15 '404': *6 x-github: @@ -82810,9 +83338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82845,7 +83373,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 '403': *27 '404': *6 '422': *7 @@ -82867,9 +83395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82884,9 +83412,6 @@ paths: description: Timeline Event type: object anyOf: - - *551 - - *552 - - *553 - *554 - *555 - *556 @@ -82897,6 +83422,9 @@ paths: - *561 - *562 - *563 + - *564 + - *565 + - *566 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83220,7 +83748,7 @@ paths: type: string comments: type: array - items: &583 + items: &586 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83458,7 +83986,7 @@ paths: type: string comments: type: array - items: *478 + items: *481 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83733,7 +84261,7 @@ paths: headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83750,8 +84278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -83761,7 +84289,7 @@ paths: application/json: schema: type: array - items: &564 + items: &567 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83828,8 +84356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -83865,9 +84393,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: &565 + default: &568 value: id: 1 key: ssh-rsa AAA... @@ -83901,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *361 - - *362 - - &566 + - *364 + - *365 + - &569 name: key_id description: The unique identifier of the key. in: path @@ -83915,9 +84443,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -83935,9 +84463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *361 - - *362 - - *566 + - *364 + - *365 + - *569 responses: '204': description: Response @@ -83957,8 +84485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -83968,9 +84496,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 headers: Link: *37 '404': *6 @@ -83991,8 +84519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84028,9 +84556,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &567 + default: &570 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84062,8 +84590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84074,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *567 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -84093,8 +84621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84133,7 +84661,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -84159,8 +84687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84186,8 +84714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -84223,8 +84751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '202': *93 '403': @@ -84252,8 +84780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -84279,9 +84807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *361 - - *362 - - *456 + - *364 + - *365 + - *459 responses: '200': description: Response @@ -84428,8 +84956,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84494,8 +85022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84529,9 +85057,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *479 + schema: *482 examples: - default: *568 + default: *571 '204': description: Response when already merged '404': @@ -84556,8 +85084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84598,7 +85126,7 @@ paths: application/json: schema: type: array - items: *483 + items: *486 examples: default: value: @@ -84654,8 +85182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84695,9 +85223,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: &569 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84756,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *361 - - *362 - - &570 + - *364 + - *365 + - &573 name: milestone_number description: The number that identifies the milestone. in: path @@ -84770,9 +85298,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: *569 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -84789,9 +85317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 requestBody: required: false content: @@ -84829,9 +85357,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84847,9 +85375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 responses: '204': description: Response @@ -84870,9 +85398,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: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 - *17 - *19 responses: @@ -84882,9 +85410,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 headers: Link: *37 x-github: @@ -84903,12 +85431,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: - - *361 - - *362 - - *571 - - *572 + - *364 + - *365 + - *574 + - *575 - *137 - - *573 + - *576 - *17 - *19 responses: @@ -84920,7 +85448,7 @@ paths: type: array items: *159 examples: - default: *574 + default: *577 headers: Link: *37 x-github: @@ -84944,8 +85472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -85003,14 +85531,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &575 + schema: &578 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85154,7 +85682,7 @@ paths: - custom_404 - public examples: - default: &576 + default: &579 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85195,8 +85723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85251,9 +85779,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: - default: *576 + default: *579 '422': *15 '409': *92 x-github: @@ -85276,8 +85804,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85385,8 +85913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -85412,8 +85940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -85423,7 +85951,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Page Build description: Page Build type: object @@ -85515,8 +86043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -85563,16 +86091,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: &578 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85620,8 +86148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *361 - - *362 + - *364 + - *365 - name: build_id in: path required: true @@ -85632,9 +86160,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85654,8 +86182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85763,9 +86291,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: - - *361 - - *362 - - &579 + - *364 + - *365 + - &582 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85823,9 +86351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *361 - - *362 - - *579 + - *364 + - *365 + - *582 responses: '204': *114 '404': *6 @@ -85852,8 +86380,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -86148,8 +86676,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Private vulnerability reporting status @@ -86186,8 +86714,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: - - *361 - - *362 + - *364 + - *365 responses: '204': *114 '422': *14 @@ -86208,8 +86736,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: - - *361 - - *362 + - *364 + - *365 responses: '204': *114 '422': *14 @@ -86232,8 +86760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: Indicates the state of the projects to return. in: query @@ -86254,7 +86782,7 @@ paths: application/json: schema: type: array - items: *309 + items: *312 examples: default: value: @@ -86294,7 +86822,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -86317,8 +86845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86344,13 +86872,13 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *371 + default: *374 '401': *23 '403': *27 '404': *6 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -86373,8 +86901,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -86382,7 +86910,7 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: default: value: @@ -86413,8 +86941,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86426,7 +86954,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *311 + items: *314 required: - properties examples: @@ -86476,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86537,9 +87065,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: *581 + default: *584 headers: Link: *37 '304': *35 @@ -86571,8 +87099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86639,7 +87167,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &588 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86768,7 +87296,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 active_lock_reason: type: - string @@ -86823,7 +87351,7 @@ paths: type: - array - 'null' - items: *291 + items: *294 head: type: object properties: @@ -86861,14 +87389,14 @@ paths: _links: type: object properties: - comments: *484 - commits: *484 - statuses: *484 - html: *484 - issue: *484 - review_comments: *484 - review_comment: *484 - self: *484 + comments: *487 + commits: *487 + statuses: *487 + html: *487 + issue: *487 + review_comments: *487 + review_comment: *487 + self: *487 required: - comments - commits @@ -86879,7 +87407,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: *582 + auto_merge: *585 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86981,7 +87509,7 @@ paths: - merged_by - review_comments examples: - default: &586 + default: &589 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87508,8 +88036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - name: sort in: query required: false @@ -87538,9 +88066,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: &588 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87617,17 +88145,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: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *583 + schema: *586 examples: - default: &584 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87702,8 +88230,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: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -87726,9 +88254,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: - default: *584 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87744,8 +88272,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: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -87767,8 +88295,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: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -87795,9 +88323,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -87818,8 +88346,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: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -87852,16 +88380,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -87883,10 +88411,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -87929,9 +88457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *361 - - *362 - - &587 + - *364 + - *365 + - &590 name: pull_number description: The number that identifies the pull request. in: path @@ -87944,9 +88472,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '304': *35 '404': *6 '406': @@ -87981,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88025,9 +88553,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '422': *15 '403': *27 x-github: @@ -88049,9 +88577,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -88112,17 +88640,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -88152,9 +88680,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88175,9 +88703,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *588 + default: *591 headers: Link: *37 x-github: @@ -88210,9 +88738,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -88318,7 +88846,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: example-for-a-multi-line-comment: value: @@ -88406,9 +88934,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *146 requestBody: required: true @@ -88431,7 +88959,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -88517,9 +89045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -88529,9 +89057,9 @@ paths: application/json: schema: type: array - items: *479 + items: *482 examples: - default: *589 + default: *592 headers: Link: *37 x-github: @@ -88561,9 +89089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -88573,7 +89101,7 @@ paths: application/json: schema: type: array - items: *491 + items: *494 examples: default: value: @@ -88611,9 +89139,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 responses: '204': description: Response if pull request has been merged @@ -88636,9 +89164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88750,9 +89278,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 responses: '200': description: Response @@ -88768,7 +89296,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 required: - users - teams @@ -88827,9 +89355,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88866,7 +89394,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -89402,9 +89930,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -89438,7 +89966,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -89943,9 +90471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -89955,7 +90483,7 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90111,9 +90639,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -90203,9 +90731,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &592 + default: &595 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90268,10 +90796,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: - - *361 - - *362 - - *587 - - &591 + - *364 + - *365 + - *590 + - &594 name: review_id description: The unique identifier of the review. in: path @@ -90283,9 +90811,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &593 + default: &596 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90344,10 +90872,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90370,7 +90898,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -90432,18 +90960,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 responses: '200': description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *592 + default: *595 '422': *7 '404': *6 x-github: @@ -90470,10 +90998,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 - *17 - *19 responses: @@ -90571,9 +91099,9 @@ paths: _links: type: object properties: - self: *484 - html: *484 - pull_request: *484 + self: *487 + html: *487 + pull_request: *487 required: - self - html @@ -90724,10 +91252,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90756,7 +91284,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -90819,10 +91347,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90857,9 +91385,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *593 + default: *596 '404': *6 '422': *7 '403': *27 @@ -90881,9 +91409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -90947,8 +91475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *361 - - *362 + - *364 + - *365 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90961,9 +91489,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: &595 + default: &598 value: type: file encoding: base64 @@ -91005,8 +91533,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: - - *361 - - *362 + - *364 + - *365 - name: dir description: The alternate path to look for a README file in: path @@ -91026,9 +91554,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *595 + default: *598 '404': *6 '422': *15 x-github: @@ -91050,8 +91578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -91061,7 +91589,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: Release description: A release. type: object @@ -91133,7 +91661,7 @@ paths: author: *4 assets: type: array - items: &597 + items: &600 title: Release Asset description: Data related to a release. type: object @@ -91313,8 +91841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -91390,9 +91918,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: &600 + default: &603 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91495,9 +92023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *361 - - *362 - - &598 + - *364 + - *365 + - &601 name: asset_id description: The unique identifier of the asset. in: path @@ -91509,9 +92037,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: &599 + default: &602 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 @@ -91545,7 +92073,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91561,9 +92089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *361 - - *362 - - *598 + - *364 + - *365 + - *601 requestBody: required: false content: @@ -91592,9 +92120,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *599 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91610,9 +92138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *361 - - *362 - - *598 + - *364 + - *365 + - *601 responses: '204': description: Response @@ -91636,8 +92164,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -91723,16 +92251,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91749,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *361 - - *362 + - *364 + - *365 - name: tag description: tag parameter in: path @@ -91763,9 +92291,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -91787,9 +92315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *361 - - *362 - - &601 + - *364 + - *365 + - &604 name: release_id description: The unique identifier of the release. in: path @@ -91803,9 +92331,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: *596 + schema: *599 examples: - default: *600 + default: *603 '401': description: Unauthorized x-github: @@ -91823,9 +92351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 requestBody: required: false content: @@ -91889,9 +92417,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 '404': description: Not Found if the discussion category name is invalid content: @@ -91912,9 +92440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 responses: '204': description: Response @@ -91934,9 +92462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - *17 - *19 responses: @@ -91946,7 +92474,7 @@ paths: application/json: schema: type: array - items: *597 + items: *600 examples: default: value: @@ -92027,9 +92555,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: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - name: name in: query required: true @@ -92055,7 +92583,7 @@ paths: description: Response for successful upload content: application/json: - schema: *597 + schema: *600 examples: response-for-successful-upload: value: @@ -92109,9 +92637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - 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. @@ -92135,9 +92663,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -92158,9 +92686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 requestBody: required: true content: @@ -92190,16 +92718,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -92221,10 +92749,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *361 - - *362 - - *601 - - *353 + - *364 + - *365 + - *604 + - *356 responses: '204': description: Response @@ -92248,9 +92776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 - *17 - *19 responses: @@ -92266,8 +92794,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *602 - - &604 + - *605 + - &607 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92286,66 +92814,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *603 - - *604 - - allOf: - - *605 - - *604 - allOf: - *606 - - *604 - - allOf: - *607 - - *604 - allOf: - *608 - - *604 + - *607 - allOf: - *609 - - *604 + - *607 - allOf: - *610 - - *604 + - *607 - allOf: - *611 - - *604 + - *607 - allOf: - *612 - - *604 + - *607 - allOf: - *613 - - *604 + - *607 - allOf: - *614 - - *604 + - *607 - allOf: - *615 - - *604 + - *607 - allOf: - *616 - - *604 + - *607 - allOf: - *617 - - *604 + - *607 - allOf: - *618 - - *604 + - *607 - allOf: - *619 - - *604 + - *607 - allOf: - *620 - - *604 + - *607 - allOf: - *621 - - *604 + - *607 - allOf: - *622 - - *604 + - *607 - allOf: - *623 - - *604 + - *607 + - allOf: + - *624 + - *607 + - allOf: + - *625 + - *607 + - allOf: + - *626 + - *607 examples: default: value: @@ -92384,8 +92912,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - name: includes_parents @@ -92396,7 +92924,7 @@ paths: schema: type: boolean default: true - - *624 + - *627 responses: '200': description: Response @@ -92451,8 +92979,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 requestBody: description: Request body required: true @@ -92514,7 +93042,7 @@ paths: application/json: schema: *124 examples: - default: &633 + default: &636 value: id: 42 name: super cool ruleset @@ -92561,12 +93089,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *361 - - *362 - - *625 + - *364 + - *365 + - *628 - *214 - - *626 - - *627 + - *629 + - *630 - *17 - *19 responses: @@ -92574,9 +93102,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '404': *6 '500': *95 x-github: @@ -92597,17 +93125,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *361 - - *362 - - *630 + - *364 + - *365 + - *633 responses: '200': description: Response content: application/json: - schema: *631 + schema: *634 examples: - default: *632 + default: *635 '404': *6 '500': *95 x-github: @@ -92635,8 +93163,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92658,7 +93186,7 @@ paths: application/json: schema: *124 examples: - default: *633 + default: *636 '404': *6 '500': *95 put: @@ -92676,8 +93204,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92741,7 +93269,7 @@ paths: application/json: schema: *124 examples: - default: *633 + default: *636 '404': *6 '500': *95 delete: @@ -92759,8 +93287,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92783,8 +93311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - name: ruleset_id @@ -92802,7 +93330,7 @@ paths: type: array items: *127 examples: - default: *317 + default: *320 '404': *6 '500': *95 x-github: @@ -92821,8 +93349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92840,7 +93368,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *321 examples: default: value: @@ -92895,20 +93423,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: - - *361 - - *362 - - *319 - - *320 - - *321 + - *364 + - *365 - *322 - - *84 - - *19 - - *17 - - *634 - - *635 - *323 - *324 - *325 + - *84 + - *19 + - *17 + - *637 + - *638 + - *326 + - *327 + - *328 responses: '200': description: Response @@ -92916,7 +93444,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 type: object properties: number: *96 @@ -92932,8 +93460,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *636 - resolution: *637 + state: *639 + resolution: *640 resolved_at: type: - string @@ -93152,15 +93680,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: Response content: application/json: - schema: *638 + schema: *641 examples: default: value: @@ -93212,9 +93740,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: true content: @@ -93222,8 +93750,8 @@ paths: schema: type: object properties: - state: *636 - resolution: *637 + state: *639 + resolution: *640 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93242,7 +93770,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: default: value: @@ -93317,9 +93845,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 - *19 - *17 responses: @@ -93330,7 +93858,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &794 + items: &797 type: object properties: type: @@ -93709,8 +94237,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -93718,14 +94246,14 @@ paths: schema: type: object properties: - reason: &640 + reason: &643 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *639 + placeholder_id: *642 required: - reason - placeholder_id @@ -93742,7 +94270,7 @@ paths: schema: type: object properties: - reason: *640 + reason: *643 expire_at: type: - string @@ -93786,8 +94314,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: - - *361 - - *362 + - *364 + - *365 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93802,7 +94330,7 @@ paths: properties: incremental_scans: type: array - items: &641 + items: &644 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93830,15 +94358,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *641 + items: *644 backfill_scans: type: array - items: *641 + items: *644 custom_pattern_backfill_scans: type: array items: allOf: - - *641 + - *644 - type: object properties: pattern_name: @@ -93908,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *361 - - *362 + - *364 + - *365 - *84 - name: sort description: The property to sort the results by. @@ -93953,9 +94481,9 @@ paths: application/json: schema: type: array - items: *642 + items: *645 examples: - default: *643 + default: *646 '400': *14 '404': *6 x-github: @@ -93978,8 +94506,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -94059,7 +94587,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 required: - login - type @@ -94149,9 +94677,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: &645 + default: &648 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94384,8 +94912,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -94498,7 +95026,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: default: value: @@ -94645,17 +95173,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '200': description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *645 + default: *648 '403': *27 '404': *6 x-github: @@ -94679,9 +95207,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 requestBody: required: true content: @@ -94761,7 +95289,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 required: - login - type @@ -94852,10 +95380,10 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *645 - add_credit: *645 + default: *648 + add_credit: *648 '403': *27 '404': *6 '422': @@ -94893,9 +95421,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '202': *93 '400': *14 @@ -94922,17 +95450,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '202': description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 '400': *14 '422': *15 '403': *27 @@ -94958,8 +95486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95055,8 +95583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95065,7 +95593,7 @@ paths: application/json: schema: type: array - items: &646 + items: &649 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95098,8 +95626,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95177,8 +95705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95272,8 +95800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95427,8 +95955,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95438,7 +95966,7 @@ paths: application/json: schema: type: array - items: *646 + items: *649 examples: default: value: @@ -95471,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *361 - - *362 + - *364 + - *365 - name: sha in: path required: true @@ -95528,7 +96056,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -95582,8 +96110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95595,7 +96123,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -95615,14 +96143,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &648 + schema: &651 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95695,8 +96223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -95722,7 +96250,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -95749,8 +96277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -95770,8 +96298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95853,8 +96381,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95862,7 +96390,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Tag protection description: Tag protection type: object @@ -95919,8 +96447,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -95943,7 +96471,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: default: value: @@ -95974,8 +96502,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: - - *361 - - *362 + - *364 + - *365 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96012,8 +96540,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *361 - - *362 + - *364 + - *365 - name: ref in: path required: true @@ -96049,8 +96577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -96060,9 +96588,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 headers: Link: *37 '404': *6 @@ -96082,8 +96610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 responses: @@ -96091,7 +96619,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &653 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96103,7 +96631,7 @@ paths: required: - names examples: - default: &651 + default: &654 value: names: - octocat @@ -96126,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -96158,9 +96686,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 '404': *6 '422': *7 x-github: @@ -96181,9 +96709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *361 - - *362 - - &652 + - *364 + - *365 + - &655 name: per description: The time frame to display results for. in: query @@ -96214,7 +96742,7 @@ paths: - 128 clones: type: array - items: &653 + items: &656 title: Traffic type: object properties: @@ -96301,8 +96829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -96396,8 +96924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -96460,9 +96988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *361 - - *362 - - *652 + - *364 + - *365 + - *655 responses: '200': description: Response @@ -96483,7 +97011,7 @@ paths: - 3782 views: type: array - items: *653 + items: *656 required: - uniques - count @@ -96560,8 +97088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -96835,8 +97363,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96859,8 +97387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -96882,8 +97410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -96909,8 +97437,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *361 - - *362 + - *364 + - *365 - name: ref in: path required: true @@ -97002,9 +97530,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97155,7 +97683,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &661 + - &664 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97165,7 +97693,7 @@ paths: type: string examples: - members - - &666 + - &669 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97177,7 +97705,7 @@ paths: format: int32 examples: - 1 - - &667 + - &670 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97221,7 +97749,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &655 + items: &658 allOf: - type: object required: @@ -97303,7 +97831,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: &668 + meta: &671 type: object description: The metadata associated with the creation/updates to the user. @@ -97368,31 +97896,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &656 + '400': &659 description: Bad request content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '401': &657 + schema: *657 + '401': &660 description: Authorization failure - '403': &658 + '403': &661 description: Permission denied - '429': &659 + '429': &662 description: Too many requests content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '500': &660 + schema: *657 + '500': &663 description: Internal server error content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 + schema: *657 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97416,7 +97944,7 @@ paths: required: true content: application/json: - schema: &664 + schema: &667 type: object required: - schemas @@ -97476,9 +98004,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *655 + schema: *658 examples: - group: &662 + group: &665 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97497,13 +98025,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': *656 - '401': *657 - '403': *658 - '409': &665 + '400': *659 + '401': *660 + '403': *661 + '409': &668 description: Duplicate record detected - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97520,7 +98048,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: - - &663 + - &666 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97529,22 +98057,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *661 + - *664 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *655 + schema: *658 examples: - default: *662 - '400': *656 - '401': *657 - '403': *658 + default: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97563,13 +98091,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: - - *663 + - *666 - *38 requestBody: required: true content: application/json: - schema: *664 + schema: *667 examples: group: summary: Group @@ -97595,17 +98123,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *655 + schema: *658 examples: - group: *662 - groupWithMembers: *662 - '400': *656 - '401': *657 - '403': *658 + group: *665 + groupWithMembers: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97629,13 +98157,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: - - *663 + - *666 - *38 requestBody: required: true content: application/json: - schema: &675 + schema: &678 type: object required: - Operations @@ -97695,17 +98223,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *655 + schema: *658 examples: - updateGroup: *662 - addMembers: *662 - '400': *656 - '401': *657 - '403': *658 + updateGroup: *665 + addMembers: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97721,17 +98249,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: - - *663 + - *666 - *38 responses: '204': description: Group was deleted, no content - '400': *656 - '401': *657 - '403': *658 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97765,8 +98293,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *666 - - *667 + - *669 + - *670 - *38 responses: '200': @@ -97800,7 +98328,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &670 + items: &673 allOf: - type: object required: @@ -97892,7 +98420,7 @@ paths: address. examples: - true - roles: &669 + roles: &672 type: array description: The roles assigned to the user. items: @@ -97951,7 +98479,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *668 + meta: *671 startIndex: type: integer description: A starting index for the returned page @@ -97990,11 +98518,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *656 - '401': *657 - '403': *658 - '429': *659 - '500': *660 + '400': *659 + '401': *660 + '403': *661 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98018,7 +98546,7 @@ paths: required: true content: application/json: - schema: &673 + schema: &676 type: object required: - schemas @@ -98111,9 +98639,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *669 + roles: *672 examples: - user: &674 + user: &677 summary: User value: schemas: @@ -98160,9 +98688,9 @@ paths: description: User has been created content: application/scim+json: - schema: *670 + schema: *673 examples: - user: &671 + user: &674 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98188,13 +98716,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: *671 - '400': *656 - '401': *657 - '403': *658 - '409': *665 - '429': *659 - '500': *660 + enterpriseOwner: *674 + '400': *659 + '401': *660 + '403': *661 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98211,7 +98739,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: - - &672 + - &675 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98224,15 +98752,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *670 + schema: *673 examples: - default: *671 - '400': *656 - '401': *657 - '403': *658 + default: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98254,30 +98782,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: - - *672 + - *675 - *38 requestBody: required: true content: application/json: - schema: *673 + schema: *676 examples: - user: *674 + user: *677 responses: '200': description: User was updated content: application/scim+json: - schema: *670 + schema: *673 examples: - user: *671 - '400': *656 - '401': *657 - '403': *658 + user: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98312,13 +98840,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: - - *672 + - *675 - *38 requestBody: required: true content: application/json: - schema: *675 + schema: *678 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98358,18 +98886,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *670 - examples: - userMultiValuedProperties: *671 - userSingleValuedProperties: *671 - disableUser: *671 - '400': *656 - '401': *657 - '403': *658 + schema: *673 + examples: + userMultiValuedProperties: *674 + userSingleValuedProperties: *674 + disableUser: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98389,17 +98917,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: - - *672 + - *675 - *38 responses: '204': description: User was deleted, no content - '400': *656 - '401': *657 - '403': *658 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98490,7 +99018,7 @@ paths: - 1 Resources: type: array - items: &676 + items: &679 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98737,22 +99265,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': *35 - '404': &677 + '404': &680 description: Resource not found content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '403': &678 + schema: *657 + '403': &681 description: Forbidden content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '400': *656 - '429': *659 + schema: *657 + '400': *659 + '429': *662 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98778,9 +99306,9 @@ paths: description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: &679 + default: &682 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98803,17 +99331,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': *35 - '404': *677 - '403': *678 - '500': *660 + '404': *680 + '403': *681 + '500': *663 '409': description: Conflict content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '400': *656 + schema: *657 + '400': *659 requestBody: required: true content: @@ -98913,17 +99441,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 - '404': *677 - '403': *678 + default: *682 + '404': *680 + '403': *681 '304': *35 x-github: githubCloudOnly: true @@ -98947,18 +99475,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 + default: *682 '304': *35 - '404': *677 - '403': *678 + '404': *680 + '403': *681 requestBody: required: true content: @@ -99073,19 +99601,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 + default: *682 '304': *35 - '404': *677 - '403': *678 - '400': *656 + '404': *680 + '403': *681 + '400': *659 '429': description: Response content: @@ -99181,12 +99709,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *163 - - *672 + - *675 responses: '204': description: Response - '404': *677 - '403': *678 + '404': *680 + '403': *681 '304': *35 x-github: githubCloudOnly: true @@ -99320,7 +99848,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &680 + text_matches: &683 title: Search Result Text Matches type: array items: @@ -99484,7 +100012,7 @@ paths: enum: - author-date - committer-date - - &681 + - &684 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 @@ -99553,7 +100081,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 comment_count: type: integer message: @@ -99572,7 +100100,7 @@ paths: url: type: string format: uri - verification: *528 + verification: *531 required: - author - committer @@ -99587,7 +100115,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 parents: type: array items: @@ -99604,7 +100132,7 @@ paths: type: number node_id: type: string - text_matches: *680 + text_matches: *683 required: - sha - node_id @@ -99787,7 +100315,7 @@ paths: - interactions - created - updated - - *681 + - *684 - *17 - *19 - name: advanced_search @@ -99911,7 +100439,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 comments: type: integer created_at: @@ -99925,7 +100453,7 @@ paths: - string - 'null' format: date-time - text_matches: *680 + text_matches: *683 pull_request: type: object properties: @@ -99974,7 +100502,7 @@ paths: timeline_url: type: string format: uri - type: *276 + type: *279 performed_via_github_app: anyOf: - type: 'null' @@ -100151,7 +100679,7 @@ paths: enum: - created - updated - - *681 + - *684 - *17 - *19 responses: @@ -100196,7 +100724,7 @@ paths: - 'null' score: type: number - text_matches: *680 + text_matches: *683 required: - id - node_id @@ -100282,7 +100810,7 @@ paths: - forks - help-wanted-issues - updated - - *681 + - *684 - *17 - *19 responses: @@ -100519,7 +101047,7 @@ paths: - admin - pull - push - text_matches: *680 + text_matches: *683 temp_clone_token: type: string allow_merge_commit: @@ -100828,7 +101356,7 @@ paths: - string - 'null' format: uri - text_matches: *680 + text_matches: *683 related: type: - array @@ -101023,7 +101551,7 @@ paths: - followers - repositories - joined - - *681 + - *684 - *17 - *19 responses: @@ -101133,7 +101661,7 @@ paths: type: - boolean - 'null' - text_matches: *680 + text_matches: *683 blog: type: - string @@ -101215,7 +101743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &682 + - &685 name: team_id description: The unique identifier of the team. in: path @@ -101227,9 +101755,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -101256,7 +101784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *682 + - *685 requestBody: required: true content: @@ -101320,16 +101848,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '201': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 '422': *15 '403': *27 @@ -101357,7 +101885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *682 + - *685 responses: '204': description: Response @@ -101388,7 +101916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *682 + - *685 - *84 - *17 - *19 @@ -101399,9 +101927,9 @@ paths: application/json: schema: type: array - items: *344 + items: *347 examples: - default: *683 + default: *686 headers: Link: *37 x-github: @@ -101430,7 +101958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *682 + - *685 requestBody: required: true content: @@ -101464,9 +101992,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: triggersNotification: true githubCloudOnly: false @@ -101493,16 +102021,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 responses: '200': description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101527,8 +102055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 requestBody: required: false content: @@ -101551,9 +102079,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *684 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101578,8 +102106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 responses: '204': description: Response @@ -101608,8 +102136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *682 - - *346 + - *685 + - *349 - *84 - *17 - *19 @@ -101620,9 +102148,9 @@ paths: application/json: schema: type: array - items: *347 + items: *350 examples: - default: *685 + default: *688 headers: Link: *37 x-github: @@ -101651,8 +102179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 + - *349 requestBody: required: true content: @@ -101674,9 +102202,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: triggersNotification: true githubCloudOnly: false @@ -101703,17 +102231,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101738,9 +102266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 requestBody: required: true content: @@ -101762,9 +102290,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *686 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101789,9 +102317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 responses: '204': description: Response @@ -101820,9 +102348,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: - - *682 - - *346 + - *685 - *349 + - *352 - 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. @@ -101848,9 +102376,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -101879,9 +102407,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: - - *682 - - *346 + - *685 - *349 + - *352 requestBody: required: true content: @@ -101913,9 +102441,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101941,8 +102469,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: - - *682 - - *346 + - *685 + - *349 - 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. @@ -101968,9 +102496,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -101999,8 +102527,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: - - *682 - - *346 + - *685 + - *349 requestBody: required: true content: @@ -102032,9 +102560,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102058,7 +102586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102068,9 +102596,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 x-github: @@ -102096,7 +102624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *682 + - *685 - name: role description: Filters members returned by their role in the team. in: query @@ -102119,7 +102647,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -102147,7 +102675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102184,7 +102712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102224,7 +102752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102261,16 +102789,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: - - *682 + - *685 - *211 responses: '200': description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-user-is-a-team-maintainer: *687 + response-if-user-is-a-team-maintainer: *690 '404': *6 x-github: githubCloudOnly: false @@ -102303,7 +102831,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: - - *682 + - *685 - *211 requestBody: required: false @@ -102329,9 +102857,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: *688 + response-if-users-membership-with-team-is-now-pending: *691 '403': description: Forbidden if team synchronization is set up '422': @@ -102365,7 +102893,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: - - *682 + - *685 - *211 responses: '204': @@ -102394,7 +102922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102404,9 +102932,9 @@ paths: application/json: schema: type: array - items: *359 + items: *362 examples: - default: *689 + default: *692 headers: Link: *37 '404': *6 @@ -102432,16 +102960,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: - - *682 - - *360 + - *685 + - *363 responses: '200': description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: *690 + default: *693 '404': description: Not Found if project is not managed by this team x-github: @@ -102465,8 +102993,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: - - *682 - - *360 + - *685 + - *363 requestBody: required: false content: @@ -102533,8 +103061,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: - - *682 - - *360 + - *685 + - *363 responses: '204': description: Response @@ -102561,7 +103089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102573,7 +103101,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '404': *6 @@ -102603,15 +103131,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *691 + schema: *694 examples: alternative-response-with-extra-repository-information: value: @@ -102762,9 +103290,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 requestBody: required: false content: @@ -102814,9 +103342,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 responses: '204': description: Response @@ -102845,15 +103373,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: - - *682 + - *685 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '403': *27 '404': *6 x-github: @@ -102880,7 +103408,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: - - *682 + - *685 requestBody: required: true content: @@ -102941,7 +103469,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -102972,7 +103500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102982,9 +103510,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - response-if-child-teams-exist: *692 + response-if-child-teams-exist: *695 headers: Link: *37 '404': *6 @@ -103017,7 +103545,7 @@ paths: application/json: schema: oneOf: - - &694 + - &697 title: Private User description: Private User type: object @@ -103267,7 +103795,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *693 + - *696 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103427,7 +103955,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: default: value: @@ -103506,7 +104034,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '304': *35 '404': *6 '403': *27 @@ -103630,9 +104158,9 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: - default: *283 + default: *286 '304': *35 '500': *95 '401': *23 @@ -103771,17 +104299,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -103825,7 +104353,7 @@ paths: type: integer secrets: type: array - items: &695 + items: &698 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103867,7 +104395,7 @@ paths: - visibility - selected_repositories_url examples: - default: *472 + default: *475 headers: Link: *37 x-github: @@ -103945,7 +104473,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: default: value: @@ -104091,7 +104619,7 @@ paths: type: array items: *189 examples: - default: *696 + default: *699 '401': *23 '403': *27 '404': *6 @@ -104235,15 +104763,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '304': *35 '500': *95 '401': *23 @@ -104269,7 +104797,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: - - *284 + - *287 requestBody: required: false content: @@ -104299,9 +104827,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -104323,7 +104851,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: - - *284 + - *287 responses: '202': *93 '304': *35 @@ -104352,13 +104880,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: - - *284 + - *287 responses: '202': description: Response content: application/json: - schema: &697 + schema: &700 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104411,7 +104939,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &698 + default: &701 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104443,7 +104971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *284 + - *287 - name: export_id in: path required: true @@ -104456,9 +104984,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: - default: *698 + default: *701 '404': *6 x-github: githubCloudOnly: false @@ -104479,7 +105007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *284 + - *287 responses: '200': description: Response @@ -104495,9 +105023,9 @@ paths: type: integer machines: type: array - items: *471 + items: *474 examples: - default: *699 + default: *702 '304': *35 '500': *95 '401': *23 @@ -104526,7 +105054,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: - - *284 + - *287 requestBody: required: true content: @@ -104582,11 +105110,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *374 + repository: *377 machine: anyOf: - type: 'null' - - *471 + - *474 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -105383,15 +105911,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '304': *35 '500': *95 '400': *14 @@ -105423,15 +105951,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '500': *95 '401': *23 '403': *27 @@ -105461,9 +105989,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: &712 + default: &715 value: - id: 197 name: hello_docker @@ -105564,7 +106092,7 @@ paths: application/json: schema: type: array - items: &700 + items: &703 title: Email description: Email type: object @@ -105634,9 +106162,9 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: - default: &714 + default: &717 value: - email: octocat@github.com verified: true @@ -105713,7 +106241,7 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: default: value: @@ -105825,7 +106353,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '304': *35 @@ -105858,7 +106386,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '304': *35 @@ -105971,7 +106499,7 @@ paths: application/json: schema: type: array - items: &701 + items: &704 title: GPG Key description: A unique encryption key type: object @@ -106116,7 +106644,7 @@ paths: - subkeys - revoked examples: - default: &725 + default: &728 value: - id: 3 name: Octocat's GPG Key @@ -106201,9 +106729,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *704 examples: - default: &702 + default: &705 value: id: 3 name: Octocat's GPG Key @@ -106260,7 +106788,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: - - &703 + - &706 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106272,9 +106800,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *704 examples: - default: *702 + default: *705 '404': *6 '304': *35 '403': *27 @@ -106297,7 +106825,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: - - *703 + - *706 responses: '204': description: Response @@ -106488,7 +107016,7 @@ paths: type: array items: *61 examples: - default: *704 + default: *707 headers: Link: *37 '404': *6 @@ -106573,12 +107101,12 @@ paths: application/json: schema: anyOf: - - *270 + - *274 - type: object properties: {} additionalProperties: false examples: - default: *271 + default: *275 '204': description: Response when there are no restrictions x-github: @@ -106602,7 +107130,7 @@ paths: required: true content: application/json: - schema: *539 + schema: *542 examples: default: value: @@ -106613,7 +107141,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: default: value: @@ -106694,7 +107222,7 @@ paths: - closed - all default: open - - *279 + - *282 - name: sort description: What to sort results by. in: query @@ -106719,7 +107247,7 @@ paths: type: array items: *147 examples: - default: *280 + default: *283 headers: Link: *37 '404': *6 @@ -106752,7 +107280,7 @@ paths: application/json: schema: type: array - items: &705 + items: &708 title: Key description: Key type: object @@ -106850,9 +107378,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: &706 + default: &709 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106885,15 +107413,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: - - *566 + - *569 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '404': *6 '304': *35 '403': *27 @@ -106916,7 +107444,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: - - *566 + - *569 responses: '204': description: Response @@ -106949,7 +107477,7 @@ paths: application/json: schema: type: array - items: &707 + items: &710 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107028,7 +107556,7 @@ paths: - account - plan examples: - default: &708 + default: &711 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107090,9 +107618,9 @@ paths: application/json: schema: type: array - items: *707 + items: *710 examples: - default: *708 + default: *711 headers: Link: *37 '304': *35 @@ -107132,7 +107660,7 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: default: value: @@ -107240,7 +107768,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -107323,7 +107851,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -107391,7 +107919,7 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: default: value: @@ -107653,7 +108181,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -107833,7 +108361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *288 + - *291 - name: exclude in: query required: false @@ -107846,7 +108374,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -108040,7 +108568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *288 + - *291 responses: '302': description: Response @@ -108066,7 +108594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *288 + - *291 responses: '204': description: Response @@ -108095,8 +108623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *288 - - *709 + - *291 + - *712 responses: '204': description: Response @@ -108120,7 +108648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *288 + - *291 - *17 - *19 responses: @@ -108132,7 +108660,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '404': *6 @@ -108169,7 +108697,7 @@ paths: type: array items: *56 examples: - default: *710 + default: *713 headers: Link: *37 '304': *35 @@ -108211,7 +108739,7 @@ paths: - docker - nuget - container - - *711 + - *714 - *19 - *17 responses: @@ -108221,10 +108749,10 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 - '400': *713 + default: *715 + '400': *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108244,16 +108772,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: - - *295 - - *296 + - *298 + - *299 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: &726 + default: &729 value: id: 40201 name: octo-name @@ -108366,8 +108894,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: - - *295 - - *296 + - *298 + - *299 responses: '204': description: Response @@ -108397,8 +108925,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: - - *295 - - *296 + - *298 + - *299 - name: token description: package token schema: @@ -108430,8 +108958,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: - - *295 - - *296 + - *298 + - *299 - *19 - *17 - name: state @@ -108451,7 +108979,7 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: default: value: @@ -108500,15 +109028,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -108544,9 +109072,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '204': description: Response @@ -108576,9 +109104,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '204': description: Response @@ -108636,7 +109164,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: default: value: @@ -108708,9 +109236,9 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: - default: *714 + default: *717 headers: Link: *37 '304': *35 @@ -108823,7 +109351,7 @@ paths: type: array items: *61 examples: - default: &721 + default: &724 summary: Default response value: - id: 1296269 @@ -109141,9 +109669,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109181,9 +109709,9 @@ paths: application/json: schema: type: array - items: *541 + items: *544 examples: - default: *715 + default: *718 headers: Link: *37 '304': *35 @@ -109206,7 +109734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *274 + - *278 responses: '204': description: Response @@ -109229,7 +109757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *274 + - *278 responses: '204': description: Response @@ -109262,7 +109790,7 @@ paths: application/json: schema: type: array - items: &716 + items: &719 title: Social account description: Social media account type: object @@ -109279,7 +109807,7 @@ paths: - provider - url examples: - default: &717 + default: &720 value: - provider: twitter url: https://twitter.com/github @@ -109342,9 +109870,9 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: - default: *717 + default: *720 '422': *15 '304': *35 '404': *6 @@ -109432,7 +109960,7 @@ paths: application/json: schema: type: array - items: &718 + items: &721 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109452,7 +109980,7 @@ paths: - title - created_at examples: - default: &727 + default: &730 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109519,9 +110047,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *721 examples: - default: &719 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109552,7 +110080,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: - - &720 + - &723 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109564,9 +110092,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *721 examples: - default: *719 + default: *722 '404': *6 '304': *35 '403': *27 @@ -109589,7 +110117,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: - - *720 + - *723 responses: '204': description: Response @@ -109618,7 +110146,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: - - &728 + - &731 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 @@ -109643,11 +110171,11 @@ paths: type: array items: *61 examples: - default-response: *721 + default-response: *724 application/vnd.github.v3.star+json: schema: type: array - items: &729 + items: &732 title: Starred Repository description: Starred Repository type: object @@ -109803,8 +110331,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response if this repository is starred by you @@ -109832,8 +110360,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -109857,8 +110385,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -109893,7 +110421,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '304': *35 @@ -109930,7 +110458,7 @@ paths: application/json: schema: type: array - items: *342 + items: *345 examples: default: value: @@ -110016,10 +110544,10 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *697 + - *696 examples: - default-response: &723 + default-response: &726 summary: Default response value: login: octocat @@ -110054,7 +110582,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &724 + response-with-git-hub-plan-information: &727 summary: Response with GitHub plan information value: login: octocat @@ -110114,7 +110642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *722 + - *725 - *17 responses: '200': @@ -110125,7 +110653,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: example: ; rel="next" @@ -110163,11 +110691,11 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *697 + - *696 examples: - default-response: *723 - response-with-git-hub-plan-information: *724 + default-response: *726 + response-with-git-hub-plan-information: *727 '404': *6 x-github: githubCloudOnly: false @@ -110243,7 +110771,7 @@ paths: bundle_url: type: string examples: - default: *414 + default: *417 '201': description: Response content: @@ -110282,9 +110810,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 + default: *715 '403': *27 '401': *23 x-github: @@ -110567,7 +111095,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -110598,7 +111126,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -110688,9 +111216,9 @@ paths: application/json: schema: type: array - items: *701 + items: *704 examples: - default: *725 + default: *728 headers: Link: *37 x-github: @@ -110794,7 +111322,7 @@ paths: application/json: schema: *20 examples: - default: *538 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110872,7 +111400,7 @@ paths: type: array items: *56 examples: - default: *710 + default: *713 headers: Link: *37 x-github: @@ -110911,7 +111439,7 @@ paths: - docker - nuget - container - - *711 + - *714 - *211 - *19 - *17 @@ -110922,12 +111450,12 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 + default: *715 '403': *27 '401': *23 - '400': *713 + '400': *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110947,17 +111475,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *726 + default: *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110978,8 +111506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 responses: '204': @@ -111012,8 +111540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 - name: token description: package token @@ -111046,8 +111574,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: - - *295 - - *296 + - *298 + - *299 - *211 responses: '200': @@ -111056,7 +111584,7 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: default: value: @@ -111114,16 +111642,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: - - *295 - - *296 - *298 + - *299 + - *301 - *211 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -111158,10 +111686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *295 - - *296 - - *211 - *298 + - *299 + - *211 + - *301 responses: '204': description: Response @@ -111193,10 +111721,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *295 - - *296 - - *211 - *298 + - *299 + - *211 + - *301 responses: '204': description: Response @@ -111243,7 +111771,7 @@ paths: application/json: schema: type: array - items: *309 + items: *312 examples: default: value: @@ -111526,7 +112054,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -111556,9 +112084,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111586,9 +112114,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *337 examples: - default: *335 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111616,9 +112144,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111646,9 +112174,9 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: - default: *717 + default: *720 headers: Link: *37 x-github: @@ -111678,9 +112206,9 @@ paths: application/json: schema: type: array - items: *718 + items: *721 examples: - default: *727 + default: *730 headers: Link: *37 x-github: @@ -111705,7 +112233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *211 - - *728 + - *731 - *84 - *17 - *19 @@ -111717,11 +112245,11 @@ paths: schema: anyOf: - type: array - items: *729 + items: *732 - type: array items: *61 examples: - default-response: *721 + default-response: *724 headers: Link: *37 x-github: @@ -111752,7 +112280,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -111881,7 +112409,7 @@ webhooks: type: string enum: - disabled - enterprise: &730 + enterprise: &733 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111950,7 +112478,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &731 + installation: &734 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111971,7 +112499,7 @@ webhooks: required: - id - node_id - organization: &732 + organization: &735 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112044,7 +112572,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &733 + repository: &736 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -112957,10 +113485,10 @@ webhooks: type: string enum: - enabled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -113036,11 +113564,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: &734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: &737 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) @@ -113263,11 +113791,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: *734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: *737 sender: *4 required: - action @@ -113455,11 +113983,11 @@ webhooks: - everyone required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: *734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: *737 sender: *4 required: - action @@ -113530,7 +114058,7 @@ webhooks: required: true content: application/json: - schema: &737 + schema: &740 title: Exemption request cancellation event type: object properties: @@ -113538,11 +114066,11 @@ webhooks: type: string enum: - cancelled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: &735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: &738 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -113772,7 +114300,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &736 + items: &739 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -113882,7 +114410,7 @@ webhooks: required: true content: application/json: - schema: &738 + schema: &741 title: Exemption request completed event type: object properties: @@ -113890,11 +114418,11 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 sender: *4 required: - action @@ -113964,7 +114492,7 @@ webhooks: required: true content: application/json: - schema: &739 + schema: &742 title: Exemption request created event type: object properties: @@ -113972,11 +114500,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 sender: *4 required: - action @@ -114046,7 +114574,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &743 title: Exemption response dismissed event type: object properties: @@ -114054,12 +114582,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 - exemption_response: *736 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 + exemption_response: *739 sender: *4 required: - action @@ -114131,7 +114659,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &744 title: Exemption response submitted event type: object properties: @@ -114139,12 +114667,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 - exemption_response: *736 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 + exemption_response: *739 sender: *4 required: - action @@ -114217,7 +114745,7 @@ webhooks: required: true content: application/json: - schema: *737 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114284,7 +114812,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *741 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114351,7 +114879,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114418,7 +114946,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114486,7 +115014,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114564,7 +115092,7 @@ webhooks: type: string enum: - completed - check_run: &743 + check_run: &746 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114632,7 +115160,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *433 + items: *436 repository: *189 status: type: string @@ -114677,7 +115205,7 @@ webhooks: - examples: - neutral - deployment: *742 + deployment: *745 details_url: type: string examples: @@ -114737,7 +115265,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *433 + items: *436 started_at: type: string format: date-time @@ -114775,9 +115303,9 @@ webhooks: - output - app - pull_requests - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -115170,10 +115698,10 @@ webhooks: type: string enum: - created - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -115569,10 +116097,10 @@ webhooks: type: string enum: - requested_action - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 requested_action: description: The action requested by the user. type: object @@ -115977,10 +116505,10 @@ webhooks: type: string enum: - rerequested - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -116972,10 +117500,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -117660,10 +118188,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -118342,10 +118870,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -118511,7 +119039,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118663,20 +119191,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &744 + commit_oid: &747 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: *730 - installation: *731 - organization: *732 - ref: &745 + enterprise: *733 + installation: *734 + organization: *735 + ref: &748 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: *733 + repository: *736 sender: *4 required: - action @@ -118840,7 +119368,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119081,12 +119609,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119184,7 +119712,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119366,12 +119894,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119537,7 +120065,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119714,12 +120242,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119819,7 +120347,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119999,9 +120527,9 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120009,7 +120537,7 @@ webhooks: type: - string - 'null' - repository: *733 + repository: *736 sender: *4 required: - action @@ -120105,7 +120633,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120252,12 +120780,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -120519,10 +121047,10 @@ webhooks: - updated_at - author_association - body - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -120603,18 +121131,18 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *732 - pusher_type: &746 + organization: *735 + pusher_type: &749 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &747 + ref: &750 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120624,7 +121152,7 @@ webhooks: enum: - tag - branch - repository: *733 + repository: *736 sender: *4 required: - ref @@ -120707,9 +121235,9 @@ webhooks: enum: - created definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120794,9 +121322,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120874,9 +121402,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120954,9 +121482,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -121033,19 +121561,19 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - repository: *733 - organization: *732 + enterprise: *733 + installation: *734 + repository: *736 + organization: *735 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *311 + items: *314 old_property_values: type: array description: The old custom property values for the repository. - items: *311 + items: *314 required: - action - repository @@ -121121,18 +121649,18 @@ webhooks: title: delete event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - pusher_type: *746 - ref: *747 + enterprise: *733 + installation: *734 + organization: *735 + pusher_type: *749 + ref: *750 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *733 + repository: *736 sender: *4 required: - ref @@ -121216,11 +121744,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121304,11 +121832,11 @@ webhooks: type: string enum: - auto_reopened - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121392,11 +121920,11 @@ webhooks: type: string enum: - created - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121478,11 +122006,11 @@ webhooks: type: string enum: - dismissed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121564,11 +122092,11 @@ webhooks: type: string enum: - fixed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121651,11 +122179,11 @@ webhooks: type: string enum: - reintroduced - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121737,11 +122265,11 @@ webhooks: type: string enum: - reopened - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121818,9 +122346,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - key: &748 + enterprise: *733 + installation: *734 + key: &751 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121858,8 +122386,8 @@ webhooks: - verified - created_at - read_only - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -121936,11 +122464,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - key: *748 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + key: *751 + organization: *735 + repository: *736 sender: *4 required: - action @@ -122512,12 +123040,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: &752 + workflow: &755 title: Workflow type: - object @@ -123255,13 +123783,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *503 + deployment: *506 pull_requests: type: array - items: *585 - repository: *733 - organization: *732 - installation: *731 + items: *588 + repository: *736 + organization: *735 + installation: *734 sender: *4 responses: '200': @@ -123332,7 +123860,7 @@ webhooks: type: string enum: - approved - approver: &749 + approver: &752 type: object properties: avatar_url: @@ -123375,11 +123903,11 @@ webhooks: type: string comment: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - reviewers: &750 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + reviewers: &753 type: array items: type: object @@ -123460,7 +123988,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &751 + workflow_job_run: &754 type: object properties: conclusion: @@ -124206,18 +124734,18 @@ webhooks: type: string enum: - rejected - approver: *749 + approver: *752 comment: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - reviewers: *750 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + reviewers: *753 sender: *4 since: type: string - workflow_job_run: *751 + workflow_job_run: *754 workflow_job_runs: type: array items: @@ -124934,13 +125462,13 @@ webhooks: type: string enum: - requested - enterprise: *730 + enterprise: *733 environment: type: string - installation: *731 - organization: *732 - repository: *733 - requestor: &757 + installation: *734 + organization: *735 + repository: *736 + requestor: &760 title: User type: - object @@ -126883,12 +127411,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Deployment Workflow Run type: @@ -127579,7 +128107,7 @@ webhooks: type: string enum: - answered - answer: &755 + answer: &758 type: object properties: author_association: @@ -127739,7 +128267,7 @@ webhooks: - created_at - updated_at - body - discussion: &753 + discussion: &756 title: Discussion description: A Discussion in a repository. type: object @@ -128035,7 +128563,7 @@ webhooks: - id labels: type: array - items: *548 + items: *551 required: - repository_url - category @@ -128057,10 +128585,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128187,11 +128715,11 @@ webhooks: - from required: - category - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128274,11 +128802,11 @@ webhooks: type: string enum: - closed - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128360,7 +128888,7 @@ webhooks: type: string enum: - created - comment: &754 + comment: &757 type: object properties: author_association: @@ -128520,11 +129048,11 @@ webhooks: - updated_at - body - reactions - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128607,12 +129135,12 @@ webhooks: type: string enum: - deleted - comment: *754 - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + comment: *757 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128707,12 +129235,12 @@ webhooks: - from required: - body - comment: *754 - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + comment: *757 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128796,11 +129324,11 @@ webhooks: type: string enum: - created - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128882,11 +129410,11 @@ webhooks: type: string enum: - deleted - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128986,11 +129514,11 @@ webhooks: type: string required: - from - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129072,10 +129600,10 @@ webhooks: type: string enum: - labeled - discussion: *753 - enterprise: *730 - installation: *731 - label: &756 + discussion: *756 + enterprise: *733 + installation: *734 + label: &759 title: Label type: object properties: @@ -129108,8 +129636,8 @@ webhooks: - color - default - description - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129192,11 +129720,11 @@ webhooks: type: string enum: - locked - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129278,11 +129806,11 @@ webhooks: type: string enum: - pinned - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129364,11 +129892,11 @@ webhooks: type: string enum: - reopened - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129453,16 +129981,16 @@ webhooks: changes: type: object properties: - new_discussion: *753 - new_repository: *733 + new_discussion: *756 + new_repository: *736 required: - new_discussion - new_repository - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129545,10 +130073,10 @@ webhooks: type: string enum: - unanswered - discussion: *753 - old_answer: *755 - organization: *732 - repository: *733 + discussion: *756 + old_answer: *758 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129630,12 +130158,12 @@ webhooks: type: string enum: - unlabeled - discussion: *753 - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129718,11 +130246,11 @@ webhooks: type: string enum: - unlocked - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129804,11 +130332,11 @@ webhooks: type: string enum: - unpinned - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129880,7 +130408,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129946,7 +130474,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130012,7 +130540,7 @@ webhooks: required: true content: application/json: - schema: *737 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130078,7 +130606,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *741 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130144,7 +130672,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130210,7 +130738,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130276,7 +130804,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130343,7 +130871,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *730 + enterprise: *733 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131021,9 +131549,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - forkee @@ -131169,9 +131697,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pages: description: The pages that were updated. type: array @@ -131209,7 +131737,7 @@ webhooks: - action - sha - html_url - repository: *733 + repository: *736 sender: *4 required: - pages @@ -131285,10 +131813,10 @@ webhooks: type: string enum: - created - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: &758 + organization: *735 + repositories: &761 description: An array of repository objects that the installation can access. type: array @@ -131314,8 +131842,8 @@ webhooks: - name - full_name - private - repository: *733 - requester: *757 + repository: *736 + requester: *760 sender: *4 required: - action @@ -131390,11 +131918,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131471,11 +131999,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131552,10 +132080,10 @@ webhooks: type: string enum: - added - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories_added: &759 + organization: *735 + repositories_added: &762 description: An array of repository objects, which were added to the installation. type: array @@ -131601,15 +132129,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *733 - repository_selection: &760 + repository: *736 + repository_selection: &763 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *757 + requester: *760 sender: *4 required: - action @@ -131688,10 +132216,10 @@ webhooks: type: string enum: - removed - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories_added: *759 + organization: *735 + repositories_added: *762 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131718,9 +132246,9 @@ webhooks: - name - full_name - private - repository: *733 - repository_selection: *760 - requester: *757 + repository: *736 + repository_selection: *763 + requester: *760 sender: *4 required: - action @@ -131799,11 +132327,11 @@ webhooks: type: string enum: - suspend - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131986,10 +132514,10 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 target_type: type: string @@ -132068,11 +132596,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -132320,8 +132848,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133168,7 +133696,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -133512,8 +134040,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -133593,7 +134121,7 @@ webhooks: type: string enum: - deleted - comment: &761 + comment: &764 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133760,8 +134288,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134604,7 +135132,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -134950,8 +135478,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -135031,7 +135559,7 @@ webhooks: type: string enum: - edited - changes: &786 + changes: &789 description: The changes to the comment. type: object properties: @@ -135043,9 +135571,9 @@ webhooks: type: string required: - from - comment: *761 - enterprise: *730 - installation: *731 + comment: *764 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135891,7 +136419,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -136235,8 +136763,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -136318,10 +136846,10 @@ webhooks: type: string enum: - assigned - assignee: *757 - enterprise: *730 - installation: *731 - issue: &764 + assignee: *760 + enterprise: *733 + installation: *734 + issue: &767 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137163,7 +137691,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -137266,8 +137794,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -137347,8 +137875,8 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138195,7 +138723,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -138441,8 +138969,8 @@ webhooks: required: - state - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -138521,8 +139049,8 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139358,7 +139886,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -139460,8 +139988,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -139540,8 +140068,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140402,7 +140930,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -140483,7 +141011,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &762 + milestone: &765 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140626,8 +141154,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -140726,8 +141254,8 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141566,7 +142094,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -141672,9 +142200,9 @@ webhooks: - active_lock_reason - body - reactions - label: *756 - organization: *732 - repository: *733 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -141754,8 +142282,8 @@ webhooks: type: string enum: - labeled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142593,7 +143121,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -142699,9 +143227,9 @@ webhooks: - active_lock_reason - body - reactions - label: *756 - organization: *732 - repository: *733 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -142781,8 +143309,8 @@ webhooks: type: string enum: - locked - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143645,7 +144173,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -143728,8 +144256,8 @@ webhooks: format: uri user_view_type: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -143808,8 +144336,8 @@ webhooks: type: string enum: - milestoned - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144669,7 +145197,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -144749,9 +145277,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *762 - organization: *732 - repository: *733 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -146251,8 +146779,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147094,7 +147622,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -147196,8 +147724,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -147277,9 +147805,9 @@ webhooks: type: string enum: - pinned - enterprise: *730 - installation: *731 - issue: &763 + enterprise: *733 + installation: *734 + issue: &766 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148115,7 +148643,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -148217,8 +148745,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -148297,8 +148825,8 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149242,9 +149770,9 @@ webhooks: format: uri user_view_type: type: string - type: *276 - organization: *732 - repository: *733 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150163,7 +150691,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -150745,11 +151273,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *730 - installation: *731 - issue: *763 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *766 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150829,12 +151357,12 @@ webhooks: type: string enum: - typed - enterprise: *730 - installation: *731 - issue: *764 - type: *276 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150915,7 +151443,7 @@ webhooks: type: string enum: - unassigned - assignee: &789 + assignee: &792 title: User type: - object @@ -150987,11 +151515,11 @@ webhooks: required: - login - id - enterprise: *730 - installation: *731 - issue: *764 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + organization: *735 + repository: *736 sender: *4 required: - action @@ -151070,12 +151598,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *730 - installation: *731 - issue: *764 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -151155,8 +151683,8 @@ webhooks: type: string enum: - unlocked - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152020,7 +152548,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -152100,8 +152628,8 @@ webhooks: format: uri user_view_type: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152181,11 +152709,11 @@ webhooks: type: string enum: - unpinned - enterprise: *730 - installation: *731 - issue: *763 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *766 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152264,12 +152792,12 @@ webhooks: type: string enum: - untyped - enterprise: *730 - installation: *731 - issue: *764 - type: *276 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152349,11 +152877,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152431,11 +152959,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152545,11 +153073,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152631,9 +153159,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: &765 + enterprise: *733 + installation: *734 + marketplace_purchase: &768 title: Marketplace Purchase type: object required: @@ -152721,8 +153249,8 @@ webhooks: type: integer unit_count: type: integer - organization: *732 - previous_marketplace_purchase: &766 + organization: *735 + previous_marketplace_purchase: &769 title: Marketplace Purchase type: object properties: @@ -152806,7 +153334,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -152886,10 +153414,10 @@ webhooks: - changed effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152977,7 +153505,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -153059,10 +153587,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153148,7 +153676,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -153229,8 +153757,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 marketplace_purchase: title: Marketplace Purchase type: object @@ -153316,9 +153844,9 @@ webhooks: type: integer unit_count: type: integer - organization: *732 - previous_marketplace_purchase: *766 - repository: *733 + organization: *735 + previous_marketplace_purchase: *769 + repository: *736 sender: *4 required: - action @@ -153398,12 +153926,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 - previous_marketplace_purchase: *766 - repository: *733 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 + previous_marketplace_purchase: *769 + repository: *736 sender: *4 required: - action @@ -153505,11 +154033,11 @@ webhooks: type: string required: - to - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153611,11 +154139,11 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153694,11 +154222,11 @@ webhooks: type: string enum: - removed - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153776,11 +154304,11 @@ webhooks: type: string enum: - added - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153858,7 +154386,7 @@ webhooks: required: - login - id - team: &767 + team: &770 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154051,11 +154579,11 @@ webhooks: type: string enum: - removed - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154134,7 +154662,7 @@ webhooks: required: - login - id - team: *767 + team: *770 required: - action - scope @@ -154216,8 +154744,8 @@ webhooks: type: string enum: - checks_requested - installation: *731 - merge_group: &768 + installation: *734 + merge_group: &771 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154236,15 +154764,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *437 + head_commit: *440 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154330,10 +154858,10 @@ webhooks: - merged - invalidated - dequeued - installation: *731 - merge_group: *768 - organization: *732 - repository: *733 + installation: *734 + merge_group: *771 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154406,7 +154934,7 @@ webhooks: type: string enum: - deleted - enterprise: *730 + enterprise: *733 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154514,12 +155042,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *731 - organization: *732 + installation: *734 + organization: *735 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -154599,11 +155127,11 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154682,9 +155210,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - milestone: &769 + enterprise: *733 + installation: *734 + milestone: &772 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154826,8 +155354,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154906,11 +155434,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155020,11 +155548,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155104,11 +155632,11 @@ webhooks: type: string enum: - opened - enterprise: *730 - installation: *731 - milestone: *769 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *772 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155187,11 +155715,11 @@ webhooks: type: string enum: - blocked - blocked_user: *757 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + blocked_user: *760 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155270,11 +155798,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *757 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + blocked_user: *760 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155353,9 +155881,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - membership: &770 + enterprise: *733 + installation: *734 + membership: &773 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -155449,8 +155977,8 @@ webhooks: - role - organization_url - user - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155528,11 +156056,11 @@ webhooks: type: string enum: - member_added - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155611,8 +156139,8 @@ webhooks: type: string enum: - member_invited - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155734,10 +156262,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 - user: *757 + user: *760 required: - action - invitation @@ -155815,11 +156343,11 @@ webhooks: type: string enum: - member_removed - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155906,11 +156434,11 @@ webhooks: properties: from: type: string - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155986,9 +156514,9 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 package: description: Information about the package. type: object @@ -156511,7 +157039,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &771 + items: &774 title: Ruby Gems metadata type: object properties: @@ -156608,7 +157136,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -156684,9 +157212,9 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 package: description: Information about the package. type: object @@ -157048,7 +157576,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *774 source_url: type: string format: uri @@ -157119,7 +157647,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -157300,12 +157828,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *730 + enterprise: *733 id: type: integer - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - id @@ -157382,7 +157910,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &772 + personal_access_token_request: &775 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157532,10 +158060,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *730 - organization: *732 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157612,11 +158140,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *772 - enterprise: *730 - organization: *732 + personal_access_token_request: *775 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157692,11 +158220,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *772 - enterprise: *730 - organization: *732 + personal_access_token_request: *775 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157771,11 +158299,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *772 - organization: *732 - enterprise: *730 + personal_access_token_request: *775 + organization: *735 + enterprise: *733 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157880,7 +158408,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *773 + last_response: *776 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157912,8 +158440,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 zen: description: Random string of GitHub zen. @@ -158158,10 +158686,10 @@ webhooks: - from required: - note - enterprise: *730 - installation: *731 - organization: *732 - project_card: &774 + enterprise: *733 + installation: *734 + organization: *735 + project_card: &777 title: Project Card type: object properties: @@ -158284,7 +158812,7 @@ webhooks: - creator - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -158365,11 +158893,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project_card: *774 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_card: *777 + repository: *736 sender: *4 required: - action @@ -158449,9 +158977,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 project_card: title: Project Card type: object @@ -158581,7 +159109,7 @@ webhooks: repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -158675,11 +159203,11 @@ webhooks: - from required: - note - enterprise: *730 - installation: *731 - organization: *732 - project_card: *774 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_card: *777 + repository: *736 sender: *4 required: - action @@ -158773,9 +159301,9 @@ webhooks: - from required: - column_id - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 project_card: allOf: - title: Project Card @@ -158972,7 +159500,7 @@ webhooks: type: string required: - after_id - repository: *733 + repository: *736 sender: *4 required: - action @@ -159052,10 +159580,10 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - organization: *732 - project: &776 + enterprise: *733 + installation: *734 + organization: *735 + project: &779 title: Project type: object properties: @@ -159182,7 +159710,7 @@ webhooks: - creator - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -159262,10 +159790,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project_column: &775 + enterprise: *733 + installation: *734 + organization: *735 + project_column: &778 title: Project Column type: object properties: @@ -159305,7 +159833,7 @@ webhooks: - name - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -159384,14 +159912,14 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -159480,11 +160008,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 + repository: *736 sender: *4 required: - action @@ -159564,11 +160092,11 @@ webhooks: type: string enum: - moved - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 + repository: *736 sender: *4 required: - action @@ -159648,11 +160176,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -159732,14 +160260,14 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - project: *776 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -159840,11 +160368,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -159923,11 +160451,11 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -160008,9 +160536,9 @@ webhooks: type: string enum: - closed - installation: *731 - organization: *732 - projects_v2: &777 + installation: *734 + organization: *735 + projects_v2: &780 title: Projects v2 Project description: A projects v2 project type: object @@ -160158,9 +160686,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160241,9 +160769,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160364,9 +160892,9 @@ webhooks: type: string to: type: string - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160449,7 +160977,7 @@ webhooks: type: string enum: - archived - changes: &781 + changes: &784 type: object properties: archived_at: @@ -160465,9 +160993,9 @@ webhooks: - string - 'null' format: date-time - installation: *731 - organization: *732 - projects_v2_item: &778 + installation: *734 + organization: *735 + projects_v2_item: &781 title: Projects v2 Item description: An item belonging to a project type: object @@ -160606,9 +161134,9 @@ webhooks: - 'null' to: type: string - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160690,9 +161218,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160773,9 +161301,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160880,7 +161408,7 @@ webhooks: oneOf: - type: string - type: integer - - &779 + - &782 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160900,7 +161428,7 @@ webhooks: required: - id - name - - &780 + - &783 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160929,8 +161457,8 @@ webhooks: oneOf: - type: string - type: integer - - *779 - - *780 + - *782 + - *783 type: - 'null' - string @@ -160953,9 +161481,9 @@ webhooks: - 'null' required: - body - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161052,9 +161580,9 @@ webhooks: type: - string - 'null' - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161137,10 +161665,10 @@ webhooks: type: string enum: - restored - changes: *781 - installation: *731 - organization: *732 - projects_v2_item: *778 + changes: *784 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161222,9 +161750,9 @@ webhooks: type: string enum: - reopened - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -161305,9 +161833,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2_status_update: &782 + installation: *734 + organization: *735 + projects_v2_status_update: &785 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -161442,9 +161970,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2_status_update: *782 + installation: *734 + organization: *735 + projects_v2_status_update: *785 sender: *4 required: - action @@ -161590,9 +162118,9 @@ webhooks: - string - 'null' format: date - installation: *731 - organization: *732 - projects_v2_status_update: *782 + installation: *734 + organization: *735 + projects_v2_status_update: *785 sender: *4 required: - action @@ -161663,10 +162191,10 @@ webhooks: title: public event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - repository @@ -161743,13 +162271,13 @@ webhooks: type: string enum: - assigned - assignee: *757 - enterprise: *730 - installation: *731 - number: &783 + assignee: *760 + enterprise: *733 + installation: *734 + number: &786 description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -164098,7 +164626,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -164180,11 +164708,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -166526,7 +167054,7 @@ webhooks: - draft reason: type: string - repository: *733 + repository: *736 sender: *4 required: - action @@ -166608,11 +167136,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -168954,7 +169482,7 @@ webhooks: - draft reason: type: string - repository: *733 + repository: *736 sender: *4 required: - action @@ -169036,13 +169564,13 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: &784 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: &787 allOf: - - *585 + - *588 - type: object properties: allow_auto_merge: @@ -169104,7 +169632,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *733 + repository: *736 sender: *4 required: - action @@ -169185,12 +169713,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -169270,11 +169798,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *730 - milestone: *483 - number: *783 - organization: *732 - pull_request: &785 + enterprise: *733 + milestone: *486 + number: *786 + organization: *735 + pull_request: &788 title: Pull Request type: object properties: @@ -171601,7 +172129,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -171680,11 +172208,11 @@ webhooks: type: string enum: - dequeued - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -174030,7 +174558,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *733 + repository: *736 sender: *4 required: - action @@ -174154,12 +174682,12 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -174239,11 +174767,11 @@ webhooks: type: string enum: - enqueued - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -176574,7 +177102,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -176654,11 +177182,11 @@ webhooks: type: string enum: - labeled - enterprise: *730 - installation: *731 - label: *756 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + label: *759 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -179006,7 +179534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -179087,10 +179615,10 @@ webhooks: type: string enum: - locked - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -181436,7 +181964,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -181516,12 +182044,12 @@ webhooks: type: string enum: - milestoned - enterprise: *730 - milestone: *483 - number: *783 - organization: *732 - pull_request: *785 - repository: *733 + enterprise: *733 + milestone: *486 + number: *786 + organization: *735 + pull_request: *788 + repository: *736 sender: *4 required: - action @@ -181600,12 +182128,12 @@ webhooks: type: string enum: - opened - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -181686,12 +182214,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -181771,12 +182299,12 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -182151,9 +182679,9 @@ webhooks: - start_side - side - reactions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -184383,7 +184911,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -184463,7 +184991,7 @@ webhooks: type: string enum: - deleted - comment: &787 + comment: &790 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. @@ -184756,9 +185284,9 @@ webhooks: - start_side - side - reactions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -186976,7 +187504,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -187056,11 +187584,11 @@ webhooks: type: string enum: - edited - changes: *786 - comment: *787 - enterprise: *730 - installation: *731 - organization: *732 + changes: *789 + comment: *790 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -189281,7 +189809,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -189362,9 +189890,9 @@ webhooks: type: string enum: - dismissed - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -191597,7 +192125,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 review: description: The review that was affected. type: object @@ -191843,9 +192371,9 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -193959,8 +194487,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 - review: &788 + repository: *736 + review: &791 description: The review that was affected. type: object properties: @@ -194193,12 +194721,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -196545,7 +197073,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_reviewer: title: User type: @@ -196631,12 +197159,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -198990,7 +199518,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199185,12 +199713,12 @@ webhooks: type: string enum: - review_requested - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -201539,7 +202067,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_reviewer: title: User type: @@ -201626,12 +202154,12 @@ webhooks: type: string enum: - review_requested - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -203971,7 +204499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204155,9 +204683,9 @@ webhooks: type: string enum: - submitted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -206393,8 +206921,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 - review: *788 + repository: *736 + review: *791 sender: *4 required: - action @@ -206474,9 +207002,9 @@ webhooks: type: string enum: - resolved - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -208607,7 +209135,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 sender: *4 thread: type: object @@ -208999,9 +209527,9 @@ webhooks: type: string enum: - unresolved - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -211115,7 +211643,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 sender: *4 thread: type: object @@ -211509,10 +212037,10 @@ webhooks: type: string before: type: string - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -213847,7 +214375,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -213929,11 +214457,11 @@ webhooks: type: string enum: - unassigned - assignee: *789 - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + assignee: *792 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -216283,7 +216811,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -216362,11 +216890,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *730 - installation: *731 - label: *756 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + label: *759 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -218705,7 +219233,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -218786,10 +219314,10 @@ webhooks: type: string enum: - unlocked - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -221118,7 +221646,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -221321,7 +221849,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *730 + enterprise: *733 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221416,8 +221944,8 @@ webhooks: - url - author - committer - installation: *731 - organization: *732 + installation: *734 + organization: *735 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222005,9 +222533,9 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 registry_package: type: object properties: @@ -222484,7 +223012,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *771 + items: *774 summary: type: string tag_name: @@ -222540,7 +223068,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -222618,9 +223146,9 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 registry_package: type: object properties: @@ -222932,7 +223460,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *774 summary: type: string tag_name: @@ -222982,7 +223510,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -223059,10 +223587,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - release: &790 + enterprise: *733 + installation: *734 + organization: *735 + release: &793 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223378,7 +223906,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *733 + repository: *736 sender: *4 required: - action @@ -223455,11 +223983,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -223576,11 +224104,11 @@ webhooks: type: boolean required: - to - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -223658,9 +224186,9 @@ webhooks: type: string enum: - prereleased - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -223981,7 +224509,7 @@ webhooks: - string - 'null' format: uri - repository: *733 + repository: *736 sender: *4 required: - action @@ -224057,10 +224585,10 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - release: &791 + enterprise: *733 + installation: *734 + organization: *735 + release: &794 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224378,7 +224906,7 @@ webhooks: - string - 'null' format: uri - repository: *733 + repository: *736 sender: *4 required: - action @@ -224454,11 +224982,11 @@ webhooks: type: string enum: - released - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -224534,11 +225062,11 @@ webhooks: type: string enum: - unpublished - enterprise: *730 - installation: *731 - organization: *732 - release: *791 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *794 + repository: *736 sender: *4 required: - action @@ -224614,11 +225142,11 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - repository_advisory: *642 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + repository_advisory: *645 sender: *4 required: - action @@ -224694,11 +225222,11 @@ webhooks: type: string enum: - reported - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - repository_advisory: *642 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + repository_advisory: *645 sender: *4 required: - action @@ -224774,10 +225302,10 @@ webhooks: type: string enum: - archived - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -224854,10 +225382,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -224935,10 +225463,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225023,10 +225551,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225141,10 +225669,10 @@ webhooks: - 'null' items: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225216,10 +225744,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 status: type: string @@ -225300,10 +225828,10 @@ webhooks: type: string enum: - privatized - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225380,10 +225908,10 @@ webhooks: type: string enum: - publicized - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225477,10 +226005,10 @@ webhooks: - name required: - repository - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225560,10 +226088,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 sender: *4 required: @@ -225642,10 +226170,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 sender: *4 required: @@ -225724,10 +226252,10 @@ webhooks: type: string enum: - edited - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 changes: type: object @@ -226035,10 +226563,10 @@ webhooks: - from required: - owner - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226116,10 +226644,10 @@ webhooks: type: string enum: - unarchived - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226197,7 +226725,7 @@ webhooks: type: string enum: - create - alert: &792 + alert: &795 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226321,10 +226849,10 @@ webhooks: type: string enum: - open - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226534,10 +227062,10 @@ webhooks: type: string enum: - dismissed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226615,11 +227143,11 @@ webhooks: type: string enum: - reopen - alert: *792 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226821,10 +227349,10 @@ webhooks: enum: - fixed - open - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226902,7 +227430,7 @@ webhooks: type: string enum: - created - alert: &793 + alert: &796 type: object properties: number: *96 @@ -227012,10 +227540,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227096,11 +227624,11 @@ webhooks: type: string enum: - created - alert: *793 - installation: *731 - location: *794 - organization: *732 - repository: *733 + alert: *796 + installation: *734 + location: *797 + organization: *735 + repository: *736 sender: *4 required: - location @@ -227338,11 +227866,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227420,11 +227948,11 @@ webhooks: type: string enum: - reopened - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227502,11 +228030,11 @@ webhooks: type: string enum: - resolved - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227584,11 +228112,11 @@ webhooks: type: string enum: - validated - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227718,10 +228246,10 @@ webhooks: - organization - enterprise - - repository: *733 - enterprise: *730 - installation: *731 - organization: *732 + repository: *736 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -227799,11 +228327,11 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - security_advisory: &795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + security_advisory: &798 description: The details of the security advisory, including summary, description, and severity. type: object @@ -227989,11 +228517,11 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - security_advisory: *795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + security_advisory: *798 sender: *4 required: - action @@ -228066,10 +228594,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228255,11 +228783,11 @@ webhooks: from: type: object properties: - security_and_analysis: *312 - enterprise: *730 - installation: *731 - organization: *732 - repository: *374 + security_and_analysis: *315 + enterprise: *733 + installation: *734 + organization: *735 + repository: *377 sender: *4 required: - changes @@ -228337,12 +228865,12 @@ webhooks: type: string enum: - cancelled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: &796 + sponsorship: &799 type: object properties: created_at: @@ -228647,12 +229175,12 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - sponsorship @@ -228740,12 +229268,12 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -228822,17 +229350,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &797 + effective_date: &800 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: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - sponsorship @@ -228906,7 +229434,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &798 + changes: &801 type: object properties: tier: @@ -228950,13 +229478,13 @@ webhooks: - from required: - tier - effective_date: *797 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + effective_date: *800 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -229033,13 +229561,13 @@ webhooks: type: string enum: - tier_changed - changes: *798 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + changes: *801 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -229113,10 +229641,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229200,10 +229728,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229637,15 +230165,15 @@ webhooks: type: - string - 'null' - enterprise: *730 + enterprise: *733 id: description: The unique identifier of the status. type: integer - installation: *731 + installation: *734 name: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 sha: description: The Commit SHA. @@ -229761,9 +230289,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -229853,9 +230381,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -229945,9 +230473,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -230037,9 +230565,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -230116,12 +230644,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - team: &799 + team: &802 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230314,9 +230842,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -230786,7 +231314,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -230862,9 +231390,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -231334,7 +231862,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -231411,9 +231939,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -231883,7 +232411,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -232027,9 +232555,9 @@ webhooks: - from required: - permissions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -232499,7 +233027,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - changes @@ -232577,9 +233105,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -233049,7 +233577,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -233125,10 +233653,10 @@ webhooks: type: string enum: - started - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -233201,17 +233729,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *730 + enterprise: *733 inputs: type: - object - 'null' additionalProperties: true - installation: *731 - organization: *732 + installation: *734 + organization: *735 ref: type: string - repository: *733 + repository: *736 sender: *4 workflow: type: string @@ -233293,10 +233821,10 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: allOf: @@ -233552,7 +234080,7 @@ webhooks: type: string required: - conclusion - deployment: *503 + deployment: *506 required: - action - repository @@ -233631,10 +234159,10 @@ webhooks: type: string enum: - in_progress - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: allOf: @@ -233916,7 +234444,7 @@ webhooks: required: - status - steps - deployment: *503 + deployment: *506 required: - action - repository @@ -233995,10 +234523,10 @@ webhooks: type: string enum: - queued - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: type: object @@ -234144,7 +234672,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *503 + deployment: *506 required: - action - repository @@ -234223,10 +234751,10 @@ webhooks: type: string enum: - waiting - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: type: object @@ -234373,7 +234901,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *503 + deployment: *506 required: - action - repository @@ -234453,12 +234981,12 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object @@ -235477,12 +236005,12 @@ webhooks: type: string enum: - in_progress - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object @@ -236486,12 +237014,12 @@ webhooks: type: string enum: - requested - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 5d53cbbeaf..5df6c124e0 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/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": [ @@ -42144,7 +42148,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", @@ -43426,7 +43430,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", @@ -44814,7 +44818,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", @@ -46333,7 +46337,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", @@ -47611,7 +47615,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", @@ -103334,25 +103338,3366 @@ } } }, - "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": { + "type": [ + "array", + "null" + ], + "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.", + "examples": [ + "827efc6d56897b048c772eb4087f854f46256132" + ] + }, + "status": { + "type": "string", + "description": "The status of the bypass request.", + "enum": [ + "pending", + "denied", + "approved", + "cancelled", + "completed", + "expired", + "open" + ] + }, + "requester_comment": { + "type": [ + "string", + "null" + ], + "description": "The comment the requester provided when creating the bypass request." + }, + "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", + "null" + ], + "description": "The responses to the bypass request.", + "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", + "examples": [ + "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", + "examples": [ + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string", + "examples": [ + "octocat" + ] + }, + "id": { + "type": "integer", + "format": "int64", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VXNlcjE=" + ] + }, + "avatar_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/images/error/octocat_happy.gif" + ] + }, + "gravatar_id": { + "type": [ + "string", + "null" + ], + "examples": [ + "41d064eb2195891e12d0413f63227ea7" + ] + }, + "url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/octocat" + ] + }, + "followers_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/followers" + ] + }, + "following_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/following{/other_user}" + ] + }, + "gists_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/gists{/gist_id}" + ] + }, + "starred_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/starred{/owner}{/repo}" + ] + }, + "subscriptions_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/subscriptions" + ] + }, + "organizations_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/orgs" + ] + }, + "repos_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/repos" + ] + }, + "events_url": { + "type": "string", + "examples": [ + "https://api.github.com/users/octocat/events{/privacy}" + ] + }, + "received_events_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/users/octocat/received_events" + ] + }, + "type": { + "type": "string", + "examples": [ + "User" + ] + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string", + "examples": [ + "\"2020-07-09T00:17:55Z\"" + ] + }, + "user_view_type": { + "type": "string", + "examples": [ + "public" + ] + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + } + }, + "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", + "null" + ] + }, + "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", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "members_url": { + "type": "string" + }, + "repositories_url": { + "type": "string", + "format": "uri" + }, + "parent": { + "anyOf": [ + { + "type": "null" + }, + { + "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", + "examples": [ + 1 + ] + }, + "node_id": { + "type": "string", + "examples": [ + "MDQ6VGVhbTE=" + ] + }, + "url": { + "description": "URL for the team", + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1" + ] + }, + "members_url": { + "type": "string", + "examples": [ + "https://api.github.com/organizations/1/team/1/members{/member}" + ] + }, + "name": { + "description": "Name of the team", + "type": "string", + "examples": [ + "Justice League" + ] + }, + "description": { + "description": "Description of the team", + "type": [ + "string", + "null" + ], + "examples": [ + "A great team." + ] + }, + "permission": { + "description": "Permission that the team will have for its repositories", + "type": "string", + "examples": [ + "admin" + ] + }, + "privacy": { + "description": "The level of privacy this team should have", + "type": "string", + "examples": [ + "closed" + ] + }, + "notification_setting": { + "description": "The notification setting the team has set", + "type": "string", + "examples": [ + "notifications_enabled" + ] + }, + "html_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://github.com/orgs/rails/teams/core" + ] + }, + "repositories_url": { + "type": "string", + "format": "uri", + "examples": [ + "https://api.github.com/organizations/1/team/1/repos" + ] + }, + "slug": { + "type": "string", + "examples": [ + "justice-league" + ] + }, + "ldap_dn": { + "description": "Distinguished Name (DN) that team maps to within LDAP environment", + "type": "string", + "examples": [ + "uid=example,ou=users,dc=github,dc=com" + ] + } + }, + "required": [ + "id", + "node_id", + "url", + "members_url", + "name", + "description", + "permission", + "html_url", + "repositories_url", + "slug" + ] + } + ] + } + }, + "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", + "null" + ], + "format": "date-time" + }, + "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", + "null" + ], + "format": "uri" + }, + "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" } } @@ -103360,26 +106705,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": [ { @@ -103392,385 +106735,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": { - "type": [ - "array", - "null" - ], - "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.", - "examples": [ - "827efc6d56897b048c772eb4087f854f46256132" - ] - }, - "status": { - "type": "string", - "description": "The status of the bypass request.", - "enum": [ - "pending", - "denied", - "approved", - "cancelled", - "completed", - "expired", - "open" - ] - }, - "requester_comment": { - "type": [ - "string", - "null" - ], - "description": "The comment the requester provided when creating the bypass request." - }, - "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", - "null" - ], - "description": "The responses to the bypass request.", - "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", - "examples": [ - "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", - "examples": [ - "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", @@ -103798,25 +106774,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" } } @@ -103824,6 +106795,12 @@ } } } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "campaigns", + "subcategory": "campaigns" } } }, @@ -177372,7 +180349,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", @@ -178657,7 +181634,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", @@ -179954,7 +182931,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", @@ -181909,7 +184886,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", @@ -183219,7 +186196,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", @@ -184512,7 +187489,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", @@ -364115,6 +367092,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -364161,42 +367144,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" ] @@ -364469,6 +367423,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -364515,42 +367475,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" ] @@ -518962,7 +521893,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", @@ -520684,7 +523615,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", @@ -521759,7 +524690,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", @@ -523046,7 +525977,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", @@ -525020,7 +527951,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", @@ -526110,7 +529041,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", @@ -527393,7 +530324,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", @@ -1331356,7 +1334287,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", @@ -1334581,7 +1337512,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", @@ -1337806,7 +1340737,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", @@ -1338806,7 +1341737,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", @@ -1339634,7 +1342565,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", @@ -1340465,7 +1343396,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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 8dddef21ff..ae88872320 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/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: @@ -905,7 +907,7 @@ paths: - subscriptions_url - type - url - type: &328 + type: &331 type: string description: The type of credit the user is receiving. enum: @@ -1071,7 +1073,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: - - &644 + - &647 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1667,7 +1669,7 @@ paths: schema: type: integer default: 30 - - &253 + - &257 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 @@ -1683,7 +1685,7 @@ paths: application/json: schema: type: array - items: &254 + items: &258 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1779,7 +1781,7 @@ paths: - installation_id - repository_id examples: - default: &255 + default: &259 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1811,7 +1813,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &654 + schema: &657 title: Scim Error description: Scim Error type: object @@ -1914,7 +1916,7 @@ paths: description: Response content: application/json: - schema: &256 + schema: &260 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2049,7 +2051,7 @@ paths: - request - response examples: - default: &257 + default: &261 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -11562,7 +11564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &220 + - &224 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`, @@ -11572,7 +11574,7 @@ paths: schema: &85 type: string description: The name of the tool used to generate the code scanning analysis. - - &221 + - &225 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 @@ -11596,7 +11598,7 @@ paths: be returned. in: query required: false - schema: &222 + schema: &226 type: string description: State of a code scanning alert. enum: @@ -11621,7 +11623,7 @@ paths: application/json: schema: type: array - items: &223 + items: &227 type: object properties: number: &96 @@ -11650,7 +11652,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &443 + instances_url: &446 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11686,7 +11688,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &444 + dismissed_reason: &447 type: - string - 'null' @@ -11697,14 +11699,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &445 + dismissed_comment: &448 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &446 + rule: &449 type: object properties: id: @@ -11765,7 +11767,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &447 + tool: &450 type: object properties: name: *85 @@ -11776,15 +11778,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *86 - most_recent_instance: &448 + most_recent_instance: &451 type: object properties: - ref: &441 + ref: &444 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &458 + analysis_key: &461 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11795,7 +11797,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &459 + category: &462 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12183,7 +12185,7 @@ paths: - most_recent_instance - repository examples: - default: &224 + default: &228 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12996,7 +12998,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &230 type: array description: A list of default code security configurations items: @@ -13012,7 +13014,7 @@ paths: default configuration: *88 examples: - default: &227 + default: &231 value: - default_for_new_repos: public configuration: @@ -13443,7 +13445,7 @@ paths: default: value: default_for_new_repos: all - configuration: &225 + configuration: &229 value: id: 1325 target_type: organization @@ -13526,7 +13528,7 @@ paths: application/json: schema: type: array - items: &228 + items: &232 type: object description: Repositories associated with a code security configuration and attachment status @@ -13550,7 +13552,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &229 + repository: &233 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14033,7 +14035,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &231 + items: &235 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -14048,7 +14050,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &275 + - &220 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14107,7 +14109,7 @@ paths: parent: anyOf: - type: 'null' - - &291 + - &294 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14311,7 +14313,7 @@ paths: - created_at additionalProperties: false examples: - default: &232 + default: &236 value: total_seats: 2 seats: @@ -14889,7 +14891,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &238 + - &242 name: state in: query description: |- @@ -14898,7 +14900,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &239 + - &243 name: severity in: query description: |- @@ -14907,7 +14909,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &240 + - &244 name: ecosystem in: query description: |- @@ -14916,14 +14918,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &241 + - &245 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 - - &242 + - &246 name: epss_percentage in: query description: |- @@ -14935,7 +14937,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 - - &243 + - &247 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14945,7 +14947,7 @@ paths: enum: - development - runtime - - &244 + - &248 name: sort in: query description: |- @@ -14963,7 +14965,7 @@ paths: - *84 - *82 - *83 - - &245 + - &249 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14976,7 +14978,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &246 + - &250 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14996,7 +14998,7 @@ paths: application/json: schema: type: array - items: &247 + items: &251 type: object description: A Dependabot alert. properties: @@ -15063,7 +15065,7 @@ paths: - direct - transitive - - security_advisory: &495 + security_advisory: &498 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15299,7 +15301,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &496 + auto_dismissed_at: &499 type: - string - 'null' @@ -15326,7 +15328,7 @@ paths: - repository additionalProperties: false examples: - default: &248 + default: &252 value: - number: 2 state: dismissed @@ -15797,7 +15799,7 @@ paths: - name - created_on examples: - default: &338 + default: &341 value: total_count: 2 network_configurations: @@ -16020,7 +16022,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: - *38 - - &339 + - &342 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16032,7 +16034,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &343 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16071,7 +16073,7 @@ paths: - subnet_id - region examples: - default: &341 + default: &344 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16383,7 +16385,7 @@ paths: required: true content: application/json: - schema: &310 + schema: &313 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16759,7 +16761,7 @@ paths: type: object description: A repository rule. oneOf: - - &602 + - &605 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16771,7 +16773,7 @@ paths: type: string enum: - creation - - &603 + - &606 title: update description: Only allow users with bypass permission to update matching refs. @@ -16792,7 +16794,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &605 + - &608 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16804,7 +16806,7 @@ paths: type: string enum: - deletion - - &606 + - &609 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16816,7 +16818,7 @@ paths: type: string enum: - required_linear_history - - &607 + - &610 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16892,7 +16894,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &608 + - &611 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16916,7 +16918,7 @@ paths: type: string required: - required_deployment_environments - - &609 + - &612 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16928,7 +16930,7 @@ paths: type: string enum: - required_signatures - - &610 + - &613 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. @@ -16956,11 +16958,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 @@ -16990,7 +16990,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &611 + - &614 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17037,7 +17037,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &612 + - &615 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17049,7 +17049,7 @@ paths: type: string enum: - non_fast_forward - - &613 + - &616 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17085,7 +17085,7 @@ paths: required: - operator - pattern - - &614 + - &617 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17121,7 +17121,7 @@ paths: required: - operator - pattern - - &615 + - &618 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17157,7 +17157,7 @@ paths: required: - operator - pattern - - &616 + - &619 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17193,7 +17193,7 @@ paths: required: - operator - pattern - - &617 + - &620 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17229,7 +17229,7 @@ paths: required: - operator - pattern - - &618 + - &621 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17253,7 +17253,7 @@ paths: type: string required: - restricted_file_paths - - &619 + - &622 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17277,7 +17277,7 @@ paths: maximum: 256 required: - max_file_path_length - - &620 + - &623 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17300,7 +17300,7 @@ paths: type: string required: - restricted_file_extensions - - &621 + - &624 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17324,7 +17324,7 @@ paths: maximum: 100 required: - max_file_size - - &622 + - &625 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17373,7 +17373,7 @@ paths: - repository_id required: - workflows - - &623 + - &626 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17530,7 +17530,7 @@ paths: conditions: anyOf: - *117 - - &315 + - &318 title: Organization ruleset conditions type: object description: |- @@ -17814,7 +17814,7 @@ paths: type: string format: date-time examples: - default: &317 + default: &320 value: - version_id: 3 actor: @@ -17867,7 +17867,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &321 allOf: - *127 - type: object @@ -17922,7 +17922,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &319 + - &322 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17933,7 +17933,7 @@ paths: enum: - open - resolved - - &320 + - &323 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17943,7 +17943,7 @@ paths: required: false schema: type: string - - &321 + - &324 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17952,7 +17952,7 @@ paths: required: false schema: type: string - - &322 + - &325 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. @@ -17968,7 +17968,7 @@ paths: - *17 - *82 - *83 - - &323 + - &326 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17977,7 +17977,7 @@ paths: required: false schema: type: string - - &324 + - &327 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17986,7 +17986,7 @@ paths: schema: type: boolean default: false - - &325 + - &328 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18002,7 +18002,7 @@ paths: application/json: schema: type: array - items: &326 + items: &329 type: object properties: number: *96 @@ -18018,14 +18018,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &636 + state: &639 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: &637 + resolution: &640 type: - string - 'null' @@ -18130,7 +18130,7 @@ paths: description: A boolean value representing whether or not alert is base64 encoded examples: - default: &327 + default: &330 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18393,7 +18393,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &332 type: object properties: total_minutes_used: @@ -18463,7 +18463,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &330 + default: &333 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18494,7 +18494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *38 - - &331 + - &334 name: advanced_security_product in: query description: The security feature to get GitHub Advanced Security active committers @@ -18512,7 +18512,7 @@ paths: description: Success content: application/json: - schema: &332 + schema: &335 type: object properties: total_advanced_security_committers: @@ -18575,7 +18575,7 @@ paths: required: - repositories examples: - default: &333 + default: &336 value: total_advanced_security_committers: 2 total_count: 2 @@ -18814,7 +18814,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &337 type: object properties: total_gigabytes_bandwidth_used: @@ -18832,7 +18832,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &335 + default: &338 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18864,7 +18864,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &339 type: object properties: days_left_in_billing_cycle: @@ -18882,7 +18882,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &337 + default: &340 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19369,7 +19369,7 @@ paths: milestone: anyOf: - type: 'null' - - &483 + - &486 title: Milestone description: A collection of related issues and pull requests. @@ -19541,7 +19541,7 @@ paths: timeline_url: type: string format: uri - type: &276 + type: &279 title: Issue Type description: The type of issue. type: @@ -19686,7 +19686,7 @@ paths: - author_association - created_at - updated_at - comment: &542 + comment: &545 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20261,7 +20261,7 @@ paths: url: type: string format: uri - user: &693 + user: &696 title: Public User description: Public User type: object @@ -22156,7 +22156,7 @@ paths: - closed - all default: open - - &279 + - &282 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22207,7 +22207,7 @@ paths: type: array items: *147 examples: - default: &280 + default: &283 value: - id: 1 node_id: MDU6SXNzdWUx @@ -23618,14 +23618,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: - - &361 + - &364 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &362 + - &365 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23696,7 +23696,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &375 + '301': &378 description: Moved permanently content: application/json: @@ -23718,7 +23718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &571 + - &574 name: all description: If `true`, show notifications marked as read. in: query @@ -23726,7 +23726,7 @@ paths: schema: type: boolean default: false - - &572 + - &575 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23736,7 +23736,7 @@ paths: type: boolean default: false - *137 - - &573 + - &576 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: @@ -24107,7 +24107,7 @@ paths: type: boolean examples: - false - security_and_analysis: &312 + security_and_analysis: &315 type: - object - 'null' @@ -24270,7 +24270,7 @@ paths: - url - subscription_url examples: - default: &574 + default: &577 value: - id: '1' repository: @@ -24823,7 +24823,7 @@ paths: type: array items: *56 examples: - default: &710 + default: &713 value: - login: github id: 1 @@ -24888,7 +24888,7 @@ paths: - 3 custom_roles: type: array - items: &233 + items: &237 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24937,7 +24937,7 @@ paths: - created_at - updated_at examples: - default: &234 + default: &238 value: id: 8030 name: Security Engineer @@ -25826,7 +25826,7 @@ paths: type: integer repository_cache_usages: type: array - items: &380 + items: &383 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26499,7 +26499,7 @@ paths: type: array items: *61 examples: - default: &704 + default: &707 value: total_count: 1 repositories: @@ -27322,7 +27322,7 @@ paths: type: array items: *189 examples: - default: &696 + default: &699 value: total_count: 1 repositories: @@ -28365,7 +28365,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &403 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28400,7 +28400,7 @@ paths: - key_id - key examples: - default: &401 + default: &404 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28813,7 +28813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *163 - - &385 + - &388 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)." @@ -29431,7 +29431,7 @@ paths: bundle_url: type: string examples: - default: &414 + default: &417 value: attestations: - bundle: @@ -29600,7 +29600,7 @@ paths: type: array items: *4 examples: - default: &281 + default: &284 value: - login: octocat id: 1 @@ -29778,7 +29778,7 @@ paths: application/json: schema: type: array - items: &431 + items: &434 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -29909,7 +29909,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &432 + default: &435 value: - id: 21 number: 42 @@ -29977,6 +29977,550 @@ paths: html_url: https://github.com/octo-org/smile/exemptions/2 '404': *6 '500': *95 + "/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: + - *163 + - *19 + - *17 + - *84 + - name: state + description: If specified, only campaigns with this state will be returned. + in: query + required: false + schema: &221 + 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: &222 + 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: *220 + 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 + - 'null' + format: date-time + state: *221 + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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: *37 + '404': *6 + '503': *128 + 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: + - *163 + 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 + - 'null' + format: uri + 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: *222 + examples: + default: &223 + 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': *128 + 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: + - *163 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '200': + description: Response + content: + application/json: + schema: *222 + examples: + default: *223 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *128 + 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: + - *163 + - 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 + - 'null' + format: uri + state: *221 + examples: + default: + value: + name: Critical CodeQL alerts + responses: + '200': + description: Response + content: + application/json: + schema: *222 + examples: + default: *223 + '400': + description: Bad Request + content: + application/json: + schema: *3 + '404': *6 + '422': + description: Unprocessable Entity + content: + application/json: + schema: *3 + '503': *128 + 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: + - *163 + - name: campaign_number + description: The campaign number. + in: path + required: true + schema: + type: integer + responses: + '204': + description: Deletion successful + '404': *6 + '503': *128 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: campaigns + subcategory: campaigns "/orgs/{org}/code-scanning/alerts": get: summary: List code scanning alerts for an organization @@ -29994,8 +30538,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *163 - - *220 - - *221 + - *224 + - *225 - *82 - *83 - *19 @@ -30006,7 +30550,7 @@ paths: be returned. in: query required: false - schema: *222 + schema: *226 - name: sort description: The property by which to sort the results. in: query @@ -30022,7 +30566,7 @@ paths: be returned. in: query required: false - schema: &442 + schema: &445 type: string description: Severity of a code scanning alert. enum: @@ -30040,9 +30584,9 @@ paths: application/json: schema: type: array - items: *223 + items: *227 examples: - default: *224 + default: *228 headers: Link: *37 '404': *6 @@ -30379,7 +30923,7 @@ paths: application/json: schema: *88 examples: - default: *225 + default: *229 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30407,9 +30951,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *230 examples: - default: *227 + default: *231 '304': *35 '403': *27 '404': *6 @@ -30493,7 +31037,7 @@ paths: application/json: schema: *88 examples: - default: *225 + default: *229 '304': *35 '403': *27 '404': *6 @@ -30893,7 +31437,7 @@ paths: default: value: default_for_new_repos: all - configuration: *225 + configuration: *229 '403': *27 '404': *6 x-github: @@ -30946,13 +31490,13 @@ paths: application/json: schema: type: array - items: *228 + items: *232 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *229 + repository: *233 '403': *27 '404': *6 x-github: @@ -30992,7 +31536,7 @@ paths: type: integer codespaces: type: array - items: &282 + items: &285 type: object title: Codespace description: A codespace. @@ -31027,7 +31571,7 @@ paths: machine: anyOf: - type: 'null' - - &471 + - &474 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -31314,7 +31858,7 @@ paths: - pulls_url - recent_folders examples: - default: &283 + default: &286 value: total_count: 3 codespaces: @@ -31938,7 +32482,7 @@ paths: type: integer secrets: type: array - items: &230 + items: &234 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -31979,7 +32523,7 @@ paths: - updated_at - visibility examples: - default: &472 + default: &475 value: total_count: 2 secrets: @@ -32017,7 +32561,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &476 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32052,7 +32596,7 @@ paths: - key_id - key examples: - default: &474 + default: &477 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32082,9 +32626,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *234 examples: - default: &476 + default: &479 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32551,9 +33095,9 @@ paths: currently being billed. seats: type: array - items: *231 + items: *235 examples: - default: *232 + default: *236 headers: Link: *37 '500': *95 @@ -33171,7 +33715,7 @@ paths: - 3 custom_roles: type: array - items: *233 + items: *237 examples: default: value: @@ -33263,7 +33807,7 @@ paths: required: true content: application/json: - schema: &236 + schema: &240 type: object properties: name: @@ -33305,9 +33849,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33332,7 +33876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *163 - - &235 + - &239 name: role_id description: The unique identifier of the role. in: path @@ -33344,9 +33888,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '404': *6 x-github: githubCloudOnly: true @@ -33369,12 +33913,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: application/json: - schema: &237 + schema: &241 type: object properties: name: @@ -33413,9 +33957,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33440,7 +33984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -33473,7 +34017,7 @@ paths: required: true content: application/json: - schema: *236 + schema: *240 examples: default: value: @@ -33487,9 +34031,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33520,15 +34064,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *163 - - *235 + - *239 responses: '200': description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '404': *6 x-github: githubCloudOnly: true @@ -33557,12 +34101,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: application/json: - schema: *237 + schema: *241 examples: default: value: @@ -33577,9 +34121,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *237 examples: - default: *234 + default: *238 '422': *15 '404': *6 x-github: @@ -33610,7 +34154,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -33639,18 +34183,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *163 - - *238 - - *239 - - *240 - - *241 - *242 - *243 - *244 + - *245 + - *246 + - *247 + - *248 - *84 - *82 - *83 - - *245 - - *246 + - *249 + - *250 - *17 responses: '200': @@ -33659,9 +34203,9 @@ paths: application/json: schema: type: array - items: *247 + items: *251 examples: - default: *248 + default: *252 '304': *35 '400': *14 '403': *27 @@ -33705,7 +34249,7 @@ paths: type: integer secrets: type: array - items: &249 + items: &253 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -33784,7 +34328,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &502 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -33803,7 +34347,7 @@ paths: - key_id - key examples: - default: &500 + default: &503 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33833,7 +34377,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -34130,7 +34674,7 @@ paths: application/json: schema: type: array - items: &293 + items: &296 title: Package description: A software package type: object @@ -34201,7 +34745,7 @@ paths: - created_at - updated_at examples: - default: &294 + default: &297 value: - id: 197 name: hello_docker @@ -34385,7 +34929,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &359 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -34475,7 +35019,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &357 + default: &360 value: group_id: '123' group_name: Octocat admins @@ -34530,7 +35074,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &357 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -34570,7 +35114,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &355 + default: &358 value: groups: - group_id: '123' @@ -34614,7 +35158,7 @@ paths: application/json: schema: type: array - items: &272 + items: &276 title: Organization Invitation description: Organization Invitation type: object @@ -34668,7 +35212,7 @@ paths: - invitation_teams_url - node_id examples: - default: &273 + default: &277 value: - id: 1 login: monalisa @@ -34735,7 +35279,7 @@ paths: application/json: schema: type: array - items: &313 + items: &316 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -34749,7 +35293,7 @@ paths: - name - description examples: - default: &314 + default: &317 value: - name: add_assignee description: Assign or remove a user @@ -34790,7 +35334,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Org Hook description: Org Hook type: object @@ -34973,9 +35517,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: &251 + default: &255 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -35020,7 +35564,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *163 - - &252 + - &256 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. @@ -35033,9 +35577,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: - default: *251 + default: *255 '404': *6 x-github: githubCloudOnly: false @@ -35057,7 +35601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *163 - - *252 + - *256 requestBody: required: false content: @@ -35103,7 +35647,7 @@ paths: description: Response content: application/json: - schema: *250 + schema: *254 examples: default: value: @@ -35143,7 +35687,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *163 - - *252 + - *256 responses: '204': description: Response @@ -35169,7 +35713,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *163 - - *252 + - *256 responses: '200': description: Response @@ -35198,7 +35742,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *163 - - *252 + - *256 requestBody: required: false content: @@ -35247,9 +35791,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *17 - - *253 + - *257 responses: '200': description: Response @@ -35257,9 +35801,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '400': *14 '422': *15 x-github: @@ -35283,16 +35827,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *16 responses: '200': description: Response content: application/json: - schema: *256 + schema: *260 examples: - default: *257 + default: *261 '400': *14 '422': *15 x-github: @@ -35316,7 +35860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *163 - - *252 + - *256 - *16 responses: '202': *93 @@ -35343,7 +35887,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *163 - - *252 + - *256 responses: '204': description: Response @@ -35366,7 +35910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *163 - - &262 + - &266 name: actor_type in: path description: The type of the actor @@ -35379,14 +35923,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &263 + - &267 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &258 + - &262 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`.' @@ -35394,7 +35938,7 @@ paths: required: true schema: type: string - - &259 + - &263 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) @@ -35489,12 +36033,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *163 - - *258 - - *259 + - *262 + - *263 - *19 - *17 - *84 - - &268 + - &272 name: sort description: The property to sort the results by. in: query @@ -35574,14 +36118,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *163 - - *258 - - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: &260 + schema: &264 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -35597,7 +36141,7 @@ paths: type: integer format: int64 examples: - default: &261 + default: &265 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -35618,23 +36162,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *163 - - &264 + - &268 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *258 - - *259 + - *262 + - *263 responses: '200': description: Response content: application/json: - schema: *260 + schema: *264 examples: - default: *261 + default: *265 x-github: enabledForGitHubApps: true category: orgs @@ -35653,18 +36197,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *163 - - *258 - - *259 - *262 - *263 + - *266 + - *267 responses: '200': description: Response content: application/json: - schema: *260 + schema: *264 examples: - default: *261 + default: *265 x-github: enabledForGitHubApps: true category: orgs @@ -35682,9 +36226,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *163 - - *258 - - *259 - - &265 + - *262 + - *263 + - &269 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -35697,7 +36241,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &270 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -35713,7 +36257,7 @@ paths: type: integer format: int64 examples: - default: &267 + default: &271 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -35750,18 +36294,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *163 - - *264 - - *258 - - *259 - - *265 + - *268 + - *262 + - *263 + - *269 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *267 + default: *271 x-github: enabledForGitHubApps: true category: orgs @@ -35779,19 +36323,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *163 + - *266 + - *267 - *262 - *263 - - *258 - - *259 - - *265 + - *269 responses: '200': description: Response content: application/json: - schema: *266 + schema: *270 examples: - default: *267 + default: *271 x-github: enabledForGitHubApps: true category: orgs @@ -35809,13 +36353,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *163 - - *264 - - *258 - - *259 + - *268 + - *262 + - *263 - *19 - *17 - *84 - - *268 + - *272 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -35899,7 +36443,7 @@ paths: application/json: schema: *20 examples: - default: &538 + default: &541 value: id: 1 account: @@ -36065,12 +36609,12 @@ paths: application/json: schema: anyOf: - - &270 + - &274 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &269 + limit: &273 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -36098,7 +36642,7 @@ paths: properties: {} additionalProperties: false examples: - default: &271 + default: &275 value: limit: collaborators_only origin: organization @@ -36127,13 +36671,13 @@ paths: required: true content: application/json: - schema: &539 + schema: &542 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *269 + limit: *273 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -36158,9 +36702,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: - default: *271 + default: *275 '422': *15 x-github: githubCloudOnly: false @@ -36238,9 +36782,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 '404': *6 @@ -36318,7 +36862,7 @@ paths: description: Response content: application/json: - schema: *272 + schema: *276 examples: default: value: @@ -36375,7 +36919,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *163 - - &274 + - &278 name: invitation_id description: The unique identifier of the invitation. in: path @@ -36409,7 +36953,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *163 - - *274 + - *278 - *17 - *19 responses: @@ -36419,9 +36963,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: &292 + default: &295 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -36464,7 +37008,7 @@ paths: application/json: schema: type: array - items: *276 + items: *279 examples: default: value: @@ -36552,9 +37096,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: &277 + default: &280 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -36587,7 +37131,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *163 - - &278 + - &281 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -36643,9 +37187,9 @@ paths: description: Response content: application/json: - schema: *276 + schema: *279 examples: - default: *277 + default: *280 '404': *6 '422': *7 x-github: @@ -36670,7 +37214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *163 - - *278 + - *281 responses: '204': description: Response @@ -36733,7 +37277,7 @@ paths: - closed - all default: open - - *279 + - *282 - name: type description: Can be the name of an issue type. in: query @@ -36764,7 +37308,7 @@ paths: type: array items: *147 examples: - default: *280 + default: *283 headers: Link: *37 '404': *6 @@ -36822,7 +37366,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '422': *15 @@ -36918,9 +37462,9 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: - default: *283 + default: *286 '304': *35 '500': *95 '401': *23 @@ -36947,7 +37491,7 @@ paths: parameters: - *163 - *211 - - &284 + - &287 name: codespace_name in: path required: true @@ -36982,15 +37526,15 @@ paths: parameters: - *163 - *211 - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: &470 + default: &473 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -37170,7 +37714,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *231 + schema: *235 examples: default: value: @@ -37245,7 +37789,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &288 title: Org Membership description: Org Membership type: object @@ -37298,7 +37842,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &286 + response-if-user-has-an-active-admin-membership-with-organization: &289 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -37395,9 +37939,9 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: - response-if-user-already-had-membership-with-organization: *286 + response-if-user-already-had-membership-with-organization: *289 '422': *15 '403': *27 x-github: @@ -37466,7 +38010,7 @@ paths: application/json: schema: type: array - items: &287 + items: &290 title: Migration description: A migration. type: object @@ -37804,7 +38348,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -37983,7 +38527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *163 - - &288 + - &291 name: migration_id description: The unique identifier of the migration. in: path @@ -38011,7 +38555,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -38181,7 +38725,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *163 - - *288 + - *291 responses: '302': description: Response @@ -38203,7 +38747,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *163 - - *288 + - *291 responses: '204': description: Response @@ -38227,8 +38771,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *163 - - *288 - - &709 + - *291 + - &712 name: repo_name description: repo_name parameter in: path @@ -38256,7 +38800,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *163 - - *288 + - *291 - *17 - *19 responses: @@ -38268,7 +38812,7 @@ paths: type: array items: *189 examples: - default: &299 + default: &302 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38477,7 +39021,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &289 + items: &292 title: Organization Role description: Organization roles type: object @@ -38686,7 +39230,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -38738,7 +39282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *163 - - &290 + - &293 name: team_slug description: The slug of the team name. in: path @@ -38770,8 +39314,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *163 - - *290 - - *235 + - *293 + - *239 responses: '204': description: Response @@ -38801,8 +39345,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *163 - - *290 - - *235 + - *293 + - *239 responses: '204': description: Response @@ -38855,7 +39399,7 @@ paths: parameters: - *163 - *211 - - *235 + - *239 responses: '204': description: Response @@ -38887,7 +39431,7 @@ paths: parameters: - *163 - *211 - - *235 + - *239 responses: '204': description: Response @@ -38916,13 +39460,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *163 - - *235 + - *239 responses: '200': description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -38980,7 +39524,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *163 - - *235 + - *239 requestBody: required: true content: @@ -39019,7 +39563,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *292 examples: default: value: @@ -39073,7 +39617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *163 - - *235 + - *239 responses: '204': description: Response @@ -39099,7 +39643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *163 - - *235 + - *239 - *17 - *19 responses: @@ -39178,7 +39722,7 @@ paths: parent: anyOf: - type: 'null' - - *291 + - *294 required: - id - node_id @@ -39192,7 +39736,7 @@ paths: - slug - parent examples: - default: *292 + default: *295 headers: Link: *37 '404': @@ -39222,7 +39766,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *163 - - *235 + - *239 - *17 - *19 responses: @@ -39251,7 +39795,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *291 + items: *294 name: type: - string @@ -39368,7 +39912,7 @@ paths: - type - url examples: - default: *281 + default: *284 headers: Link: *37 '404': @@ -39416,7 +39960,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -39558,7 +40102,7 @@ paths: - nuget - container - *163 - - &711 + - &714 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -39594,12 +40138,12 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *294 + default: *297 '403': *27 '401': *23 - '400': &713 + '400': &716 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -39621,7 +40165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &295 + - &298 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 @@ -39639,7 +40183,7 @@ paths: - docker - nuget - container - - &296 + - &299 name: package_name description: The name of the package. in: path @@ -39652,7 +40196,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *296 examples: default: value: @@ -39704,8 +40248,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *295 - - *296 + - *298 + - *299 - *163 responses: '204': @@ -39738,8 +40282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *295 - - *296 + - *298 + - *299 - *163 - name: token description: package token @@ -39772,8 +40316,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: - - *295 - - *296 + - *298 + - *299 - *163 - *19 - *17 @@ -39794,7 +40338,7 @@ paths: application/json: schema: type: array - items: &297 + items: &300 title: Package Version description: A version of a software package type: object @@ -39929,10 +40473,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: - - *295 - - *296 + - *298 + - *299 - *163 - - &298 + - &301 name: package_version_id description: Unique identifier of the package version. in: path @@ -39944,7 +40488,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -39980,10 +40524,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *295 - - *296 - - *163 - *298 + - *299 + - *163 + - *301 responses: '204': description: Response @@ -40015,10 +40559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *295 - - *296 - - *163 - *298 + - *299 + - *163 + - *301 responses: '204': description: Response @@ -40048,7 +40592,7 @@ paths: - *163 - *17 - *19 - - &300 + - &303 name: sort description: The property by which to sort the results. in: query @@ -40059,7 +40603,7 @@ paths: - created_at default: created_at - *84 - - &301 + - &304 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -40071,7 +40615,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &302 + - &305 name: repository description: The name of the repository to use to filter the results. in: query @@ -40080,7 +40624,7 @@ paths: type: string examples: - Hello-World - - &303 + - &306 name: permission description: The permission to use to filter the results. in: query @@ -40089,7 +40633,7 @@ paths: type: string examples: - issues_read - - &304 + - &307 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) @@ -40099,7 +40643,7 @@ paths: schema: type: string format: date-time - - &305 + - &308 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) @@ -40109,7 +40653,7 @@ paths: schema: type: string format: date-time - - &306 + - &309 name: token_id description: The ID of the token in: query @@ -40428,7 +40972,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -40454,14 +40998,14 @@ paths: - *163 - *17 - *19 - - *300 - - *84 - - *301 - - *302 - *303 + - *84 - *304 - *305 - *306 + - *307 + - *308 + - *309 responses: '500': *95 '422': *15 @@ -40745,7 +41289,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -40789,7 +41333,7 @@ paths: type: integer configurations: type: array - items: &307 + items: &310 title: Organization private registry description: Private registry configuration for an organization type: object @@ -41001,7 +41545,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &308 + org-private-registry-with-selected-visibility: &311 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -41103,9 +41647,9 @@ paths: description: The specified private registry configuration for the organization content: application/json: - schema: *307 + schema: *310 examples: - default: *308 + default: *311 '404': *6 x-github: githubCloudOnly: false @@ -41256,7 +41800,7 @@ paths: application/json: schema: type: array - items: &309 + items: &312 title: Project description: Projects are a way to organize columns and cards of work. @@ -41438,7 +41982,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: default: value: @@ -41476,7 +42020,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &372 + '410': &375 description: Gone content: application/json: @@ -41642,7 +42186,7 @@ paths: required: true content: application/json: - schema: *310 + schema: *313 examples: default: value: @@ -41748,7 +42292,7 @@ paths: - octocat/Hello-World properties: type: array - items: &311 + items: &314 title: Custom Property Value description: Custom property name and associated value type: object @@ -41838,7 +42382,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *311 + items: *314 required: - repository_names - properties @@ -41891,7 +42435,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -42031,7 +42575,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -42235,7 +42779,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &377 title: Full Repository description: Full Repository type: object @@ -42700,7 +43244,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &489 + code_of_conduct: &492 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -42730,7 +43274,7 @@ paths: - key - name - html_url - security_and_analysis: *312 + security_and_analysis: *315 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -42814,7 +43358,7 @@ paths: - network_count - subscribers_count examples: - default: &376 + default: &379 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43340,9 +43884,9 @@ paths: application/json: schema: type: array - items: *313 + items: *316 examples: - default: *314 + default: *317 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -43367,7 +43911,7 @@ paths: - *163 - *17 - *19 - - &624 + - &627 name: targets description: | A comma-separated list of rule targets to filter by. @@ -43459,7 +44003,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *315 + conditions: *318 rules: type: array description: An array of rules within the ruleset. @@ -43503,7 +44047,7 @@ paths: application/json: schema: *124 examples: - default: &316 + default: &319 value: id: 21 name: super cool ruleset @@ -43558,7 +44102,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *163 - - &625 + - &628 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 @@ -43570,14 +44114,14 @@ paths: x-multi-segment: true - *218 - *214 - - &626 + - &629 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 - - &627 + - &630 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -43597,7 +44141,7 @@ paths: description: Response content: application/json: - schema: &628 + schema: &631 title: Rule Suites description: Response type: array @@ -43653,7 +44197,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &629 + default: &632 value: - id: 21 actor_id: 12 @@ -43697,7 +44241,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *163 - - &630 + - &633 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -43713,7 +44257,7 @@ paths: description: Response content: application/json: - schema: &631 + schema: &634 title: Rule Suite description: Response type: object @@ -43820,7 +44364,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &632 + default: &635 value: id: 21 actor_id: 12 @@ -43895,7 +44439,7 @@ paths: application/json: schema: *124 examples: - default: *316 + default: *319 '404': *6 '500': *95 put: @@ -43944,7 +44488,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *122 - conditions: *315 + conditions: *318 rules: description: An array of rules within the ruleset. type: array @@ -43985,7 +44529,7 @@ paths: application/json: schema: *124 examples: - default: *316 + default: *319 '404': *6 '500': *95 delete: @@ -44044,7 +44588,7 @@ paths: type: array items: *127 examples: - default: *317 + default: *320 '404': *6 '500': *95 x-github: @@ -44081,7 +44625,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *321 examples: default: value: @@ -44144,14 +44688,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *163 - - *319 - - *320 - - *321 - *322 + - *323 + - *324 + - *325 - *84 - *19 - *17 - - &634 + - &637 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 @@ -44161,7 +44705,7 @@ paths: required: false schema: type: string - - &635 + - &638 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 @@ -44171,9 +44715,9 @@ paths: required: false schema: type: string - - *323 - - *324 - - *325 + - *326 + - *327 + - *328 responses: '200': description: Response @@ -44181,9 +44725,9 @@ paths: application/json: schema: type: array - items: *326 + items: *329 examples: - default: *327 + default: *330 headers: Link: *37 '404': *6 @@ -44253,7 +44797,7 @@ paths: application/json: schema: type: array - items: &642 + items: &645 description: A repository security advisory. type: object properties: @@ -44497,7 +45041,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 credits_detailed: type: - array @@ -44508,7 +45052,7 @@ paths: type: object properties: user: *4 - type: *328 + type: *331 state: type: string description: The state of the user's acceptance of the @@ -44534,7 +45078,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *275 + items: *220 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -44572,7 +45116,7 @@ paths: - private_fork additionalProperties: false examples: - default: &643 + default: &646 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -44959,9 +45503,9 @@ paths: application/json: schema: type: array - items: *291 + items: *294 examples: - default: *292 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44985,7 +45529,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -45011,7 +45555,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -45046,9 +45590,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45073,7 +45617,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *163 - - *331 + - *334 - *17 - *19 responses: @@ -45081,9 +45625,9 @@ paths: description: Success content: application/json: - schema: *332 + schema: *335 examples: - default: *333 + default: *336 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45111,9 +45655,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *337 examples: - default: *335 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45141,9 +45685,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45183,7 +45727,7 @@ paths: type: array items: *107 examples: - default: *338 + default: *341 headers: Link: *37 x-github: @@ -45384,15 +45928,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: - *163 - - *339 + - *342 responses: '200': description: Response content: application/json: - schema: *340 + schema: *343 examples: - default: *341 + default: *344 headers: Link: *37 x-github: @@ -45430,7 +45974,7 @@ paths: description: Response content: application/json: - schema: &363 + schema: &366 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -45482,7 +46026,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &364 + default: &367 value: groups: - group_id: '123' @@ -45528,7 +46072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *163 - - *290 + - *293 - 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`). @@ -45594,9 +46138,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 headers: Link: *37 '403': *27 @@ -45690,7 +46234,7 @@ paths: description: Response content: application/json: - schema: &342 + schema: &345 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -45764,7 +46308,7 @@ paths: parent: anyOf: - type: 'null' - - *291 + - *294 members_count: type: integer examples: @@ -46070,7 +46614,7 @@ paths: - repos_count - organization examples: - default: &343 + default: &346 value: id: 1 node_id: MDQ6VGVhbTE= @@ -46141,15 +46685,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -46171,7 +46715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *163 - - *290 + - *293 requestBody: required: false content: @@ -46234,16 +46778,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '201': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 '422': *15 '403': *27 @@ -46269,7 +46813,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *163 - - *290 + - *293 responses: '204': description: Response @@ -46296,7 +46840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *163 - - *290 + - *293 - *84 - *17 - *19 @@ -46313,7 +46857,7 @@ paths: application/json: schema: type: array - items: &344 + items: &347 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -46424,7 +46968,7 @@ paths: - updated_at - url examples: - default: &683 + default: &686 value: - author: login: octocat @@ -46499,7 +47043,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *163 - - *290 + - *293 requestBody: required: true content: @@ -46533,9 +47077,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: &345 + default: &348 value: author: login: octocat @@ -46608,8 +47152,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *163 - - *290 - - &346 + - *293 + - &349 name: discussion_number description: The number that identifies the discussion. in: path @@ -46621,9 +47165,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46646,8 +47190,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: false content: @@ -46670,9 +47214,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: &684 + default: &687 value: author: login: octocat @@ -46743,8 +47287,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 responses: '204': description: Response @@ -46771,8 +47315,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *163 - - *290 - - *346 + - *293 + - *349 - *84 - *17 - *19 @@ -46783,7 +47327,7 @@ paths: application/json: schema: type: array - items: &347 + items: &350 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -46863,7 +47407,7 @@ paths: - updated_at - url examples: - default: &685 + default: &688 value: - author: login: octocat @@ -46932,8 +47476,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: true content: @@ -46955,9 +47499,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: &348 + default: &351 value: author: login: octocat @@ -47024,9 +47568,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *163 - - *290 - - *346 - - &349 + - *293 + - *349 + - &352 name: comment_number description: The number that identifies the comment. in: path @@ -47038,9 +47582,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47063,9 +47607,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 requestBody: required: true content: @@ -47087,9 +47631,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: &686 + default: &689 value: author: login: octocat @@ -47154,9 +47698,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 responses: '204': description: Response @@ -47183,9 +47727,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 - 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. @@ -47211,7 +47755,7 @@ paths: application/json: schema: type: array - items: &350 + items: &353 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -47255,7 +47799,7 @@ paths: - content - created_at examples: - default: &352 + default: &355 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47306,9 +47850,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *163 - - *290 - - *346 + - *293 - *349 + - *352 requestBody: required: true content: @@ -47341,9 +47885,9 @@ paths: team discussion comment content: application/json: - schema: *350 + schema: *353 examples: - default: &351 + default: &354 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -47372,9 +47916,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47398,10 +47942,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *163 - - *290 - - *346 + - *293 - *349 - - &353 + - *352 + - &356 name: reaction_id description: The unique identifier of the reaction. in: path @@ -47434,8 +47978,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 - 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. @@ -47461,9 +48005,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -47490,8 +48034,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *163 - - *290 - - *346 + - *293 + - *349 requestBody: required: true content: @@ -47523,16 +48067,16 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47556,9 +48100,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *163 - - *290 - - *346 - - *353 + - *293 + - *349 + - *356 responses: '204': description: Response @@ -47582,15 +48126,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: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *354 + schema: *357 examples: - default: *355 + default: *358 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47610,7 +48154,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: - *163 - - *290 + - *293 requestBody: required: true content: @@ -47634,9 +48178,9 @@ paths: description: Response content: application/json: - schema: *356 + schema: *359 examples: - default: *357 + default: *360 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -47656,7 +48200,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: - *163 - - *290 + - *293 responses: '204': description: Response @@ -47681,7 +48225,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -47691,9 +48235,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 x-github: @@ -47716,7 +48260,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *163 - - *290 + - *293 - name: role description: Filters members returned by their role in the team. in: query @@ -47739,7 +48283,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -47770,14 +48314,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 responses: '200': description: Response content: application/json: - schema: &358 + schema: &361 title: Team Membership description: Team Membership type: object @@ -47805,7 +48349,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &687 + response-if-user-is-a-team-maintainer: &690 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -47842,7 +48386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 requestBody: required: false @@ -47868,9 +48412,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: &688 + response-if-users-membership-with-team-is-now-pending: &691 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -47906,7 +48450,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *163 - - *290 + - *293 - *211 responses: '204': @@ -47933,7 +48477,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -47943,7 +48487,7 @@ paths: application/json: schema: type: array - items: &359 + items: &362 title: Team Project description: A team's access to a project. type: object @@ -48012,7 +48556,7 @@ paths: - updated_at - permissions examples: - default: &689 + default: &692 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48076,8 +48620,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *163 - - *290 - - &360 + - *293 + - &363 name: project_id description: The unique identifier of the project. in: path @@ -48089,9 +48633,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: &690 + default: &693 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -48154,8 +48698,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *163 - - *290 - - *360 + - *293 + - *363 requestBody: required: false content: @@ -48223,8 +48767,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *163 - - *290 - - *360 + - *293 + - *363 responses: '204': description: Response @@ -48252,7 +48796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -48264,7 +48808,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -48294,15 +48838,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &691 + schema: &694 title: Team Repository description: A team's access to a repository. type: object @@ -48944,9 +49488,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 requestBody: required: false content: @@ -48992,9 +49536,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *163 - - *290 - - *361 - - *362 + - *293 + - *364 + - *365 responses: '204': description: Response @@ -49021,15 +49565,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *163 - - *290 + - *293 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49052,7 +49596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *163 - - *290 + - *293 requestBody: required: true content: @@ -49095,7 +49639,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -49128,7 +49672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *163 - - *290 + - *293 - *17 - *19 responses: @@ -49138,9 +49682,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - response-if-child-teams-exist: &692 + response-if-child-teams-exist: &695 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -49267,7 +49811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &365 + - &368 name: card_id description: The unique identifier of the card. in: path @@ -49279,7 +49823,7 @@ paths: description: Response content: application/json: - schema: &366 + schema: &369 title: Project Card description: Project cards represent a scope of work. type: object @@ -49354,7 +49898,7 @@ paths: - created_at - updated_at examples: - default: &367 + default: &370 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -49410,7 +49954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *365 + - *368 requestBody: required: false content: @@ -49440,9 +49984,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '304': *35 '403': *27 '401': *23 @@ -49469,7 +50013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *365 + - *368 responses: '204': description: Response @@ -49513,7 +50057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *365 + - *368 requestBody: required: true content: @@ -49626,7 +50170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &368 + - &371 name: column_id description: The unique identifier of the column. in: path @@ -49638,7 +50182,7 @@ paths: description: Response content: application/json: - schema: &369 + schema: &372 title: Project Column description: Project columns contain cards of work. type: object @@ -49692,7 +50236,7 @@ paths: - created_at - updated_at examples: - default: &370 + default: &373 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -49727,7 +50271,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *368 + - *371 requestBody: required: true content: @@ -49752,9 +50296,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: - default: *370 + default: *373 '304': *35 '403': *27 '401': *23 @@ -49779,7 +50323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *368 + - *371 responses: '204': description: Response @@ -49808,7 +50352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *368 + - *371 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -49829,7 +50373,7 @@ paths: application/json: schema: type: array - items: *366 + items: *369 examples: default: value: @@ -49888,7 +50432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *368 + - *371 requestBody: required: true content: @@ -49932,9 +50476,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *369 examples: - default: *367 + default: *370 '304': *35 '403': *27 '401': *23 @@ -49990,7 +50534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *368 + - *371 requestBody: required: true content: @@ -50051,15 +50595,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *360 + - *363 responses: '200': description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: &371 + default: &374 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50116,7 +50660,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *360 + - *363 requestBody: required: false content: @@ -50165,9 +50709,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *371 + default: *374 '404': description: Not Found if the authenticated user does not have access to the project @@ -50188,7 +50732,7 @@ paths: items: type: string '401': *23 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -50211,7 +50755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *360 + - *363 responses: '204': description: Delete Success @@ -50232,7 +50776,7 @@ paths: items: type: string '401': *23 - '410': *372 + '410': *375 '404': *6 x-github: githubCloudOnly: false @@ -50256,7 +50800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *360 + - *363 - 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 @@ -50283,7 +50827,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -50313,7 +50857,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *360 + - *363 - *211 requestBody: required: false @@ -50368,7 +50912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *360 + - *363 - *211 responses: '204': @@ -50400,7 +50944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *360 + - *363 - *211 responses: '200': @@ -50471,7 +51015,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *360 + - *363 - *17 - *19 responses: @@ -50481,7 +51025,7 @@ paths: application/json: schema: type: array - items: *369 + items: *372 examples: default: value: @@ -50519,7 +51063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *360 + - *363 requestBody: required: true content: @@ -50543,7 +51087,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *372 examples: default: value: @@ -50607,7 +51151,7 @@ paths: resources: type: object properties: - core: &373 + core: &376 title: Rate Limit type: object properties: @@ -50624,20 +51168,20 @@ paths: - remaining - reset - used - graphql: *373 - search: *373 - code_search: *373 - source_import: *373 - integration_manifest: *373 - code_scanning_upload: *373 - actions_runner_registration: *373 - scim: *373 - dependency_snapshots: *373 - code_scanning_autofix: *373 + graphql: *376 + search: *376 + code_search: *376 + source_import: *376 + integration_manifest: *376 + code_scanning_upload: *376 + actions_runner_registration: *376 + scim: *376 + dependency_snapshots: *376 + code_scanning_autofix: *376 required: - core - search - rate: *373 + rate: *376 required: - rate - resources @@ -50741,14 +51285,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *374 + schema: *377 examples: default-response: summary: Default response @@ -51253,7 +51797,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *375 + '301': *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51271,8 +51815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -51527,10 +52071,10 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 - '307': &377 + default: *379 + '307': &380 description: Temporary Redirect content: application/json: @@ -51559,8 +52103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -51582,7 +52126,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': *377 + '307': *380 '404': *6 x-github: githubCloudOnly: false @@ -51605,11 +52149,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - - &392 + - &395 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -51632,7 +52176,7 @@ paths: type: integer artifacts: type: array - items: &378 + items: &381 title: Artifact description: An artifact type: object @@ -51727,7 +52271,7 @@ paths: - expires_at - updated_at examples: - default: &393 + default: &396 value: total_count: 2 artifacts: @@ -51788,9 +52332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *361 - - *362 - - &379 + - *364 + - *365 + - &382 name: artifact_id description: The unique identifier of the artifact. in: path @@ -51802,7 +52346,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *381 examples: default: value: @@ -51840,9 +52384,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *361 - - *362 - - *379 + - *364 + - *365 + - *382 responses: '204': description: Response @@ -51866,9 +52410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *361 - - *362 - - *379 + - *364 + - *365 + - *382 - name: archive_format in: path required: true @@ -51882,7 +52426,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': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51905,14 +52449,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *380 + schema: *383 examples: default: value: @@ -51938,11 +52482,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: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - - &381 + - &384 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 @@ -51976,7 +52520,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &385 title: Repository actions caches description: Repository actions caches type: object @@ -52026,7 +52570,7 @@ paths: - total_count - actions_caches examples: - default: &383 + default: &386 value: total_count: 1 actions_caches: @@ -52058,23 +52602,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: - - *361 - - *362 + - *364 + - *365 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *381 + - *384 responses: '200': description: Response content: application/json: - schema: *382 + schema: *385 examples: - default: *383 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52094,8 +52638,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: - - *361 - - *362 + - *364 + - *365 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52126,9 +52670,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: - - *361 - - *362 - - &384 + - *364 + - *365 + - &387 name: job_id description: The unique identifier of the job. in: path @@ -52140,7 +52684,7 @@ paths: description: Response content: application/json: - schema: &396 + schema: &399 title: Job description: Information of a job execution in a workflow run type: object @@ -52487,9 +53031,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: - - *361 - - *362 - - *384 + - *364 + - *365 + - *387 responses: '302': description: Response @@ -52517,9 +53061,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: - - *361 - - *362 - - *384 + - *364 + - *365 + - *387 requestBody: required: false content: @@ -52565,8 +53109,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Status response @@ -52616,8 +53160,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -52680,8 +53224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -52699,7 +53243,7 @@ paths: type: integer secrets: type: array - items: &398 + items: &401 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -52720,7 +53264,7 @@ paths: - created_at - updated_at examples: - default: &399 + default: &402 value: total_count: 2 secrets: @@ -52753,9 +53297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *361 - - *362 - - *385 + - *364 + - *365 + - *388 - *19 responses: '200': @@ -52772,7 +53316,7 @@ paths: type: integer variables: type: array - items: &402 + items: &405 title: Actions Variable type: object properties: @@ -52806,7 +53350,7 @@ paths: - created_at - updated_at examples: - default: &403 + default: &406 value: total_count: 2 variables: @@ -52839,8 +53383,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -52849,7 +53393,7 @@ paths: schema: type: object properties: - enabled: &386 + enabled: &389 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *46 @@ -52882,8 +53426,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -52894,7 +53438,7 @@ paths: schema: type: object properties: - enabled: *386 + enabled: *389 allowed_actions: *46 required: - enabled @@ -52925,14 +53469,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &387 + schema: &390 type: object properties: access_level: @@ -52950,7 +53494,7 @@ paths: required: - access_level examples: - default: &388 + default: &391 value: access_level: organization x-github: @@ -52975,15 +53519,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: application/json: - schema: *387 + schema: *390 examples: - default: *388 + default: *391 responses: '204': description: Response @@ -53007,8 +53551,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53039,8 +53583,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -53072,8 +53616,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53102,8 +53646,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Success response @@ -53143,8 +53687,8 @@ paths: in: query schema: type: string - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -53188,8 +53732,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -53221,8 +53765,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -53296,8 +53840,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: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -53333,8 +53877,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: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -53364,8 +53908,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': @@ -53395,8 +53939,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '204': @@ -53422,8 +53966,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': *64 @@ -53448,8 +53992,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: - - *361 - - *362 + - *364 + - *365 - *58 requestBody: required: true @@ -53498,8 +54042,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: - - *361 - - *362 + - *364 + - *365 - *58 requestBody: required: true @@ -53549,8 +54093,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: - - *361 - - *362 + - *364 + - *365 - *58 responses: '200': *196 @@ -53580,8 +54124,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: - - *361 - - *362 + - *364 + - *365 - *58 - *197 responses: @@ -53611,9 +54155,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: - - *361 - - *362 - - &406 + - *364 + - *365 + - &409 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. @@ -53621,7 +54165,7 @@ paths: required: false schema: type: string - - &407 + - &410 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -53629,7 +54173,7 @@ paths: required: false schema: type: string - - &408 + - &411 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -53638,7 +54182,7 @@ paths: required: false schema: type: string - - &409 + - &412 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 @@ -53665,7 +54209,7 @@ paths: - pending - *17 - *19 - - &410 + - &413 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)." @@ -53674,7 +54218,7 @@ paths: schema: type: string format: date-time - - &389 + - &392 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -53683,13 +54227,13 @@ paths: schema: type: boolean default: false - - &411 + - &414 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &412 + - &415 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -53712,7 +54256,7 @@ paths: type: integer workflow_runs: type: array - items: &390 + items: &393 title: Workflow Run description: An invocation of a workflow type: object @@ -53829,7 +54373,7 @@ paths: type: - array - 'null' - items: &433 + items: &436 title: Pull Request Minimal type: object properties: @@ -53956,7 +54500,7 @@ paths: head_commit: anyOf: - type: 'null' - - &437 + - &440 title: Simple Commit description: A commit. type: object @@ -54071,7 +54615,7 @@ paths: - workflow_url - pull_requests examples: - default: &413 + default: &416 value: total_count: 1 workflow_runs: @@ -54307,24 +54851,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *361 - - *362 - - &391 + - *364 + - *365 + - &394 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *389 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: &394 + default: &397 value: id: 30433642 name: Build @@ -54565,9 +55109,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '204': description: Response @@ -54590,9 +55134,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -54720,9 +55264,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '201': description: Response @@ -54755,12 +55299,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 - *17 - *19 - - *392 + - *395 responses: '200': description: Response @@ -54776,9 +55320,9 @@ paths: type: integer artifacts: type: array - items: *378 + items: *381 examples: - default: *393 + default: *396 headers: Link: *37 x-github: @@ -54802,25 +55346,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *361 - - *362 - - *391 - - &395 + - *364 + - *365 + - *394 + - &398 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *389 + - *392 responses: '200': description: Response content: application/json: - schema: *390 + schema: *393 examples: - default: *394 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54843,10 +55387,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: - - *361 - - *362 - - *391 - - *395 + - *364 + - *365 + - *394 + - *398 - *17 - *19 responses: @@ -54864,9 +55408,9 @@ paths: type: integer jobs: type: array - items: *396 + items: *399 examples: - default: &397 + default: &400 value: total_count: 1 jobs: @@ -54979,10 +55523,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *361 - - *362 - - *391 - - *395 + - *364 + - *365 + - *394 + - *398 responses: '302': description: Response @@ -55010,9 +55554,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '202': description: Response @@ -55045,9 +55589,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: true content: @@ -55114,9 +55658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '202': description: Response @@ -55149,9 +55693,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 - 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 @@ -55181,9 +55725,9 @@ paths: type: integer jobs: type: array - items: *396 + items: *399 examples: - default: *397 + default: *400 headers: Link: *37 x-github: @@ -55208,9 +55752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '302': description: Response @@ -55237,9 +55781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '204': description: Response @@ -55266,9 +55810,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -55337,7 +55881,7 @@ paths: items: type: object properties: - type: &508 + type: &511 type: string description: The type of reviewer. enum: @@ -55348,7 +55892,7 @@ paths: reviewer: anyOf: - *4 - - *275 + - *220 required: - environment - wait_timer @@ -55423,9 +55967,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: true content: @@ -55475,7 +56019,7 @@ paths: application/json: schema: type: array - items: &503 + items: &506 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -55587,7 +56131,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &507 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -55643,9 +56187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: false content: @@ -55690,9 +56234,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: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 requestBody: required: false content: @@ -55747,9 +56291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *361 - - *362 - - *391 + - *364 + - *365 + - *394 responses: '200': description: Response @@ -55886,8 +56430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -55905,9 +56449,9 @@ paths: type: integer secrets: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *37 x-github: @@ -55932,16 +56476,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55963,17 +56507,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *398 + schema: *401 examples: - default: &521 + default: &524 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -55999,8 +56543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -56058,8 +56602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -56085,9 +56629,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *361 - - *362 - - *385 + - *364 + - *365 + - *388 - *19 responses: '200': @@ -56104,9 +56648,9 @@ paths: type: integer variables: type: array - items: *402 + items: *405 examples: - default: *403 + default: *406 headers: Link: *37 x-github: @@ -56129,8 +56673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -56182,17 +56726,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: &522 + default: &525 value: name: USERNAME value: octocat @@ -56218,8 +56762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 requestBody: required: true @@ -56262,8 +56806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 responses: '204': @@ -56289,8 +56833,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -56308,7 +56852,7 @@ paths: type: integer workflows: type: array - items: &404 + items: &407 title: Workflow description: A GitHub Actions workflow type: object @@ -56426,9 +56970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *361 - - *362 - - &405 + - *364 + - *365 + - &408 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -56443,7 +56987,7 @@ paths: description: Response content: application/json: - schema: *404 + schema: *407 examples: default: value: @@ -56476,9 +57020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56503,9 +57047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56556,9 +57100,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '204': description: Response @@ -56585,19 +57129,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: - - *361 - - *362 - - *405 - - *406 - - *407 + - *364 + - *365 - *408 - *409 - - *17 - - *19 - *410 - - *389 - *411 - *412 + - *17 + - *19 + - *413 + - *392 + - *414 + - *415 responses: '200': description: Response @@ -56613,9 +57157,9 @@ paths: type: integer workflow_runs: type: array - items: *390 + items: *393 examples: - default: *413 + default: *416 headers: Link: *37 x-github: @@ -56648,9 +57192,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *361 - - *362 - - *405 + - *364 + - *365 + - *408 responses: '200': description: Response @@ -56711,8 +57255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *361 - - *362 + - *364 + - *365 - *84 - *17 - *82 @@ -56880,8 +57424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -56893,7 +57437,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -56918,8 +57462,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: - - *361 - - *362 + - *364 + - *365 - name: assignee in: path required: true @@ -56955,8 +57499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -57068,8 +57612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *82 - *83 @@ -57123,7 +57667,7 @@ paths: bundle_url: type: string examples: - default: *414 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57143,8 +57687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -57152,7 +57696,7 @@ paths: application/json: schema: type: array - items: &415 + items: &418 title: Autolink reference description: An autolink reference. type: object @@ -57206,8 +57750,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -57246,9 +57790,9 @@ paths: description: response content: application/json: - schema: *415 + schema: *418 examples: - default: &416 + default: &419 value: id: 1 key_prefix: TICKET- @@ -57279,9 +57823,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: - - *361 - - *362 - - &417 + - *364 + - *365 + - &420 name: autolink_id description: The unique identifier of the autolink. in: path @@ -57293,9 +57837,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *418 examples: - default: *416 + default: *419 '404': *6 x-github: githubCloudOnly: false @@ -57315,9 +57859,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: - - *361 - - *362 - - *417 + - *364 + - *365 + - *420 responses: '204': description: Response @@ -57341,8 +57885,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response if Dependabot is enabled @@ -57392,8 +57936,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -57414,8 +57958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -57435,8 +57979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *361 - - *362 + - *364 + - *365 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -57474,7 +58018,7 @@ paths: - url protected: type: boolean - protection: &419 + protection: &422 title: Branch Protection description: Branch Protection type: object @@ -57517,7 +58061,7 @@ paths: required: - contexts - checks - enforce_admins: &422 + enforce_admins: &425 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -57534,7 +58078,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &424 + required_pull_request_reviews: &427 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -57556,7 +58100,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *275 + items: *220 apps: description: The list of apps with review dismissal access. @@ -57588,7 +58132,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *275 + items: *220 apps: description: The list of apps allowed to bypass pull request requirements. @@ -57618,7 +58162,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &421 + restrictions: &424 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -57943,9 +58487,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *361 - - *362 - - &420 + - *364 + - *365 + - &423 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). @@ -57959,14 +58503,14 @@ paths: description: Response content: application/json: - schema: &430 + schema: &433 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &479 + commit: &482 title: Commit description: Commit type: object @@ -58005,7 +58549,7 @@ paths: author: anyOf: - type: 'null' - - &418 + - &421 title: Git User description: Metaproperties for Git author/committer information. @@ -58026,7 +58570,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 message: type: string examples: @@ -58050,7 +58594,7 @@ paths: required: - sha - url - verification: &528 + verification: &531 title: Verification type: object properties: @@ -58130,7 +58674,7 @@ paths: type: integer files: type: array - items: &491 + items: &494 title: Diff Entry description: Diff Entry type: object @@ -58224,7 +58768,7 @@ paths: - self protected: type: boolean - protection: *419 + protection: *422 protection_url: type: string format: uri @@ -58333,7 +58877,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *375 + '301': *378 '404': *6 x-github: githubCloudOnly: false @@ -58355,15 +58899,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *419 + schema: *422 examples: default: value: @@ -58557,9 +59101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -58819,7 +59363,7 @@ paths: url: type: string format: uri - required_status_checks: &427 + required_status_checks: &430 title: Status Check Policy description: Status Check Policy type: object @@ -58900,7 +59444,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 apps: type: array items: *5 @@ -58918,7 +59462,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 apps: type: array items: *5 @@ -58978,7 +59522,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *421 + restrictions: *424 required_conversation_resolution: type: object properties: @@ -59090,9 +59634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59117,17 +59661,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: &423 + default: &426 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59149,17 +59693,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: *423 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59178,9 +59722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59205,17 +59749,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *424 + schema: *427 examples: - default: &425 + default: &428 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59311,9 +59855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59411,9 +59955,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *427 examples: - default: *425 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -59434,9 +59978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59463,17 +60007,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: &426 + default: &429 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -59496,17 +60040,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *422 + schema: *425 examples: - default: *426 + default: *429 '404': *6 x-github: githubCloudOnly: false @@ -59526,9 +60070,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59553,17 +60097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: &428 + default: &431 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -59589,9 +60133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59643,9 +60187,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *430 examples: - default: *428 + default: *431 '404': *6 '422': *15 x-github: @@ -59667,9 +60211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -59693,9 +60237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -59729,9 +60273,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59798,9 +60342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -59864,9 +60408,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: content: application/json: @@ -59932,15 +60476,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response content: application/json: - schema: *421 + schema: *424 examples: default: value: @@ -60031,9 +60575,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '204': description: Response @@ -60056,9 +60600,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60068,7 +60612,7 @@ paths: type: array items: *5 examples: - default: &429 + default: &432 value: - id: 1 slug: octoapp @@ -60125,9 +60669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60161,7 +60705,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60182,9 +60726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60218,7 +60762,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60239,9 +60783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60275,7 +60819,7 @@ paths: type: array items: *5 examples: - default: *429 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -60297,9 +60841,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60307,9 +60851,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '404': *6 x-github: githubCloudOnly: false @@ -60329,9 +60873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -60367,9 +60911,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60390,9 +60934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: false content: @@ -60428,9 +60972,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60451,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: content: application/json: @@ -60488,9 +61032,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 '422': *15 x-github: githubCloudOnly: false @@ -60512,9 +61056,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: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 responses: '200': description: Response @@ -60524,7 +61068,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '404': *6 x-github: githubCloudOnly: false @@ -60548,9 +61092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60583,7 +61127,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60608,9 +61152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60643,7 +61187,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60668,9 +61212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60703,7 +61247,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '422': *15 x-github: githubCloudOnly: false @@ -60730,9 +61274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 requestBody: required: true content: @@ -60754,7 +61298,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *433 examples: default: value: @@ -60868,8 +61412,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *361 - - *362 + - *364 + - *365 - *212 - *213 - *214 @@ -60905,8 +61449,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -60979,8 +61523,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - *212 - *213 - *214 @@ -60994,9 +61538,9 @@ paths: application/json: schema: type: array - items: *431 + items: *434 examples: - default: *432 + default: *435 '404': *6 '403': *27 '500': *95 @@ -61020,8 +61564,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -61033,7 +61577,7 @@ paths: description: A single bypass request. content: application/json: - schema: *431 + schema: *434 examples: default: value: @@ -61091,8 +61635,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_request_number in: path required: true @@ -61163,8 +61707,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *361 - - *362 + - *364 + - *365 - name: bypass_response_id in: path required: true @@ -61197,8 +61741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -61477,7 +62021,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &437 title: CheckRun description: A check performed on the code of a given code change type: object @@ -61612,8 +62156,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *433 - deployment: &742 + items: *436 + deployment: &745 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -61900,9 +62444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *361 - - *362 - - &435 + - *364 + - *365 + - &438 name: check_run_id description: The unique identifier of the check run. in: path @@ -61914,9 +62458,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: &436 + default: &439 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62016,9 +62560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 requestBody: required: true content: @@ -62258,9 +62802,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *437 examples: - default: *436 + default: *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62280,9 +62824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 - *17 - *19 responses: @@ -62394,9 +62938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *361 - - *362 - - *435 + - *364 + - *365 + - *438 responses: '201': description: Response @@ -62440,8 +62984,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -62463,7 +63007,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &438 + schema: &441 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -62545,7 +63089,7 @@ paths: type: - array - 'null' - items: *433 + items: *436 app: anyOf: - type: 'null' @@ -62561,7 +63105,7 @@ paths: - string - 'null' format: date-time - head_commit: *437 + head_commit: *440 latest_check_runs_count: type: integer check_runs_url: @@ -62589,7 +63133,7 @@ paths: - check_runs_url - pull_requests examples: - default: &439 + default: &442 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -62880,9 +63424,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62901,8 +63445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -63211,9 +63755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *361 - - *362 - - &440 + - *364 + - *365 + - &443 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63225,9 +63769,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *441 examples: - default: *439 + default: *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63250,17 +63794,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: - - *361 - - *362 - - *440 - - &486 + - *364 + - *365 + - *443 + - &489 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &487 + - &490 name: status description: Returns check runs with the specified `status`. in: query @@ -63299,9 +63843,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *437 examples: - default: &488 + default: &491 value: total_count: 1 check_runs: @@ -63403,9 +63947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *361 - - *362 - - *440 + - *364 + - *365 + - *443 responses: '201': description: Response @@ -63438,21 +63982,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: - - *361 - - *362 - - *220 - - *221 + - *364 + - *365 + - *224 + - *225 - *19 - *17 - - &456 + - &459 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: *441 - - &457 + schema: *444 + - &460 name: pr description: The number of the pull request for the results you want to list. in: query @@ -63477,13 +64021,13 @@ paths: be returned. in: query required: false - schema: *222 + schema: *226 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *442 + schema: *445 responses: '200': description: Response @@ -63499,7 +64043,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *443 + instances_url: *446 state: *87 fixed_at: *106 dismissed_by: @@ -63507,11 +64051,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *444 - dismissed_comment: *445 - rule: *446 - tool: *447 - most_recent_instance: *448 + dismissed_reason: *447 + dismissed_comment: *448 + rule: *449 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: anyOf: - type: 'null' @@ -63631,7 +64175,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &449 + '403': &452 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -63658,9 +64202,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: - - *361 - - *362 - - &450 + - *364 + - *365 + - &453 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -63674,7 +64218,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &454 type: object properties: number: *96 @@ -63682,7 +64226,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *443 + instances_url: *446 state: *87 fixed_at: *106 dismissed_by: @@ -63690,8 +64234,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *444 - dismissed_comment: *445 + dismissed_reason: *447 + dismissed_comment: *448 rule: type: object properties: @@ -63753,8 +64297,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *447 - most_recent_instance: *448 + tool: *450 + most_recent_instance: *451 dismissal_approved_by: anyOf: - type: 'null' @@ -63847,7 +64391,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -63867,9 +64411,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: true content: @@ -63884,8 +64428,8 @@ paths: enum: - open - dismissed - dismissed_reason: *444 - dismissed_comment: *445 + dismissed_reason: *447 + dismissed_comment: *448 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -63904,7 +64448,7 @@ paths: description: Response content: application/json: - schema: *451 + schema: *454 examples: default: value: @@ -63980,7 +64524,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &455 + '403': &458 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64007,15 +64551,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: Response content: application/json: - schema: &452 + schema: &455 type: object properties: status: @@ -64042,13 +64586,13 @@ paths: - description - started_at examples: - default: &453 + default: &456 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &454 + '400': &457 description: Bad Request content: application/json: @@ -64059,7 +64603,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': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64084,29 +64628,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: OK content: application/json: - schema: *452 + schema: *455 examples: - default: *453 + default: *456 '202': description: Accepted content: application/json: - schema: *452 + schema: *455 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *454 + '400': *457 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64138,9 +64682,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: false content: @@ -64186,8 +64730,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *454 - '403': *455 + '400': *457 + '403': *458 '404': *6 '422': description: Unprocessable Entity @@ -64211,13 +64755,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 - *19 - *17 - - *456 - - *457 + - *459 + - *460 responses: '200': description: Response @@ -64225,7 +64769,7 @@ paths: application/json: schema: type: array - items: *448 + items: *451 examples: default: value: @@ -64264,7 +64808,7 @@ paths: end_column: 50 classifications: - source - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64298,25 +64842,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: - - *361 - - *362 - - *220 - - *221 + - *364 + - *365 + - *224 + - *225 - *19 - *17 - - *457 + - *460 - 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: *441 + schema: *444 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &460 + schema: &463 type: string description: An identifier for the upload. examples: @@ -64338,23 +64882,23 @@ paths: application/json: schema: type: array - items: &461 + items: &464 type: object properties: - ref: *441 - commit_sha: &469 + ref: *444 + commit_sha: &472 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: *458 + analysis_key: *461 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *459 + category: *462 error: type: string examples: @@ -64379,8 +64923,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *460 - tool: *447 + sarif_id: *463 + tool: *450 deletable: type: boolean warning: @@ -64442,7 +64986,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64478,8 +65022,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: - - *361 - - *362 + - *364 + - *365 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64492,7 +65036,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *464 examples: response: summary: application/json response @@ -64546,7 +65090,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64628,8 +65172,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: - - *361 - - *362 + - *364 + - *365 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -64685,7 +65229,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': *455 + '403': *458 '404': *6 '503': *128 x-github: @@ -64707,8 +65251,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -64716,7 +65260,7 @@ paths: application/json: schema: type: array - items: &462 + items: &465 title: CodeQL Database description: A CodeQL database. type: object @@ -64828,7 +65372,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': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64857,8 +65401,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: - - *361 - - *362 + - *364 + - *365 - name: language in: path description: The language of the CodeQL database. @@ -64870,7 +65414,7 @@ paths: description: Response content: application/json: - schema: *462 + schema: *465 examples: default: value: @@ -64902,9 +65446,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': &493 + '302': &496 description: Found - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -64926,8 +65470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *361 - - *362 + - *364 + - *365 - name: language in: path description: The language of the CodeQL database. @@ -64937,7 +65481,7 @@ paths: responses: '204': description: Response - '403': *455 + '403': *458 '404': *6 '503': *128 x-github: @@ -64965,8 +65509,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -64975,7 +65519,7 @@ paths: type: object additionalProperties: false properties: - language: &463 + language: &466 type: string description: The language targeted by the CodeQL query enum: @@ -65054,7 +65598,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &467 + schema: &470 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65064,7 +65608,7 @@ paths: description: The ID of the variant analysis. controller_repo: *94 actor: *4 - query_language: *463 + query_language: *466 query_pack_url: type: string description: The download url for the query pack. @@ -65112,7 +65656,7 @@ paths: items: type: object properties: - repository: &464 + repository: &467 title: Repository Identifier description: Repository Identifier type: object @@ -65154,7 +65698,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &468 + analysis_status: &471 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65186,7 +65730,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &465 + access_mismatch_repos: &468 type: object properties: repository_count: @@ -65201,7 +65745,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: *464 + items: *467 required: - repository_count - repositories @@ -65224,8 +65768,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *465 - over_limit_repos: *465 + no_codeql_db_repos: *468 + over_limit_repos: *468 required: - access_mismatch_repos - not_found_repos @@ -65241,7 +65785,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &466 + value: &469 summary: Default response value: id: 1 @@ -65393,10 +65937,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *466 + value: *469 repository_lists: summary: Response for a successful variant analysis submission - value: *466 + value: *469 '404': *6 '422': description: Unable to process variant analysis submission @@ -65424,8 +65968,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: - - *361 - - *362 + - *364 + - *365 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -65437,9 +65981,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *470 examples: - default: *466 + default: *469 '404': *6 '503': *128 x-github: @@ -65462,7 +66006,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: - - *361 + - *364 - name: repo in: path description: The name of the controller repository. @@ -65497,7 +66041,7 @@ paths: type: object properties: repository: *94 - analysis_status: *468 + analysis_status: *471 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -65622,8 +66166,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -65705,7 +66249,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *449 + '403': *452 '404': *6 '503': *128 x-github: @@ -65726,8 +66270,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -65811,7 +66355,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *455 + '403': *458 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -65876,8 +66420,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -65885,7 +66429,7 @@ paths: schema: type: object properties: - commit_sha: *469 + commit_sha: *472 ref: type: string description: |- @@ -65945,7 +66489,7 @@ paths: schema: type: object properties: - id: *460 + id: *463 url: type: string description: The REST API URL for checking the status of the upload. @@ -65959,7 +66503,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': *455 + '403': *458 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -65982,8 +66526,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: - - *361 - - *362 + - *364 + - *365 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66031,7 +66575,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': *449 + '403': *452 '404': description: Not Found if the sarif id does not match any upload '503': *128 @@ -66056,8 +66600,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66138,8 +66682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *361 - - *362 + - *364 + - *365 - 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 @@ -66267,8 +66811,8 @@ paths: parameters: - *17 - *19 - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66284,7 +66828,7 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: default: value: @@ -66582,8 +67126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -66647,17 +67191,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '400': *14 '401': *23 '403': *27 @@ -66686,8 +67230,8 @@ paths: parameters: - *17 - *19 - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -66751,8 +67295,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: - - *361 - - *362 + - *364 + - *365 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -66789,9 +67333,9 @@ paths: type: integer machines: type: array - items: *471 + items: *474 examples: - default: &699 + default: &702 value: total_count: 2 machines: @@ -66831,8 +67375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *361 - - *362 + - *364 + - *365 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -66919,8 +67463,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: - - *361 - - *362 + - *364 + - *365 - 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 @@ -66989,8 +67533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -67008,7 +67552,7 @@ paths: type: integer secrets: type: array - items: &475 + items: &478 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67029,7 +67573,7 @@ paths: - created_at - updated_at examples: - default: *472 + default: *475 headers: Link: *37 x-github: @@ -67052,16 +67596,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *473 + schema: *476 examples: - default: *474 + default: *477 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67081,17 +67625,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *475 + schema: *478 examples: - default: *476 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67111,8 +67655,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: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -67165,8 +67709,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -67195,8 +67739,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *361 - - *362 + - *364 + - *365 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67234,7 +67778,7 @@ paths: application/json: schema: type: array - items: &477 + items: &480 title: Collaborator description: Collaborator type: object @@ -67427,8 +67971,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: - - *361 - - *362 + - *364 + - *365 - *211 responses: '204': @@ -67471,8 +68015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *361 - - *362 + - *364 + - *365 - *211 requestBody: required: false @@ -67499,7 +68043,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &541 + schema: &544 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -67720,8 +68264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *361 - - *362 + - *364 + - *365 - *211 responses: '204': @@ -67751,8 +68295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *361 - - *362 + - *364 + - *365 - *211 responses: '200': @@ -67773,7 +68317,7 @@ paths: user: anyOf: - type: 'null' - - *477 + - *480 required: - permission - role_name @@ -67827,8 +68371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -67838,7 +68382,7 @@ paths: application/json: schema: type: array - items: &478 + items: &481 title: Commit Comment description: Commit Comment type: object @@ -67896,7 +68440,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &484 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -67955,17 +68499,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: &482 + default: &485 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68022,8 +68566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -68046,7 +68590,7 @@ paths: description: Response content: application/json: - schema: *478 + schema: *481 examples: default: value: @@ -68097,8 +68641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -68120,8 +68664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -68148,9 +68692,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -68171,8 +68715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -68205,16 +68749,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -68236,10 +68780,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -68288,8 +68832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *361 - - *362 + - *364 + - *365 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68345,9 +68889,9 @@ paths: application/json: schema: type: array - items: *479 + items: *482 examples: - default: &589 + default: &592 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -68441,9 +68985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *361 - - *362 - - &480 + - *364 + - *365 + - &483 name: commit_sha description: The SHA of the commit. in: path @@ -68515,9 +69059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 - *17 - *19 responses: @@ -68527,9 +69071,9 @@ paths: application/json: schema: type: array - items: *478 + items: *481 examples: - default: *481 + default: *484 headers: Link: *37 x-github: @@ -68557,9 +69101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 requestBody: required: true content: @@ -68594,9 +69138,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *481 examples: - default: *482 + default: *485 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68624,9 +69168,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: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 - *17 - *19 responses: @@ -68636,7 +69180,7 @@ paths: application/json: schema: type: array - items: &580 + items: &583 title: Pull Request Simple description: Pull Request Simple type: object @@ -68756,7 +69300,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 active_lock_reason: type: - string @@ -68811,7 +69355,7 @@ paths: type: - array - 'null' - items: *275 + items: *220 head: type: object properties: @@ -68855,7 +69399,7 @@ paths: _links: type: object properties: - comments: &484 + comments: &487 title: Link description: Hypermedia Link type: object @@ -68864,13 +69408,13 @@ paths: type: string required: - href - commits: *484 - statuses: *484 - html: *484 - issue: *484 - review_comments: *484 - review_comment: *484 - self: *484 + commits: *487 + statuses: *487 + html: *487 + issue: *487 + review_comments: *487 + review_comment: *487 + self: *487 required: - comments - commits @@ -68881,7 +69425,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: &582 + auto_merge: &585 title: Auto merge description: The status of auto merging a pull request. type: @@ -68946,7 +69490,7 @@ paths: - author_association - auto_merge examples: - default: &581 + default: &584 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -69483,11 +70027,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 - - &485 + - &488 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)" @@ -69502,9 +70046,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *482 examples: - default: &568 + default: &571 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69617,11 +70161,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: - - *361 - - *362 - - *485 - - *486 - - *487 + - *364 + - *365 + - *488 + - *489 + - *490 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -69655,9 +70199,9 @@ paths: type: integer check_runs: type: array - items: *434 + items: *437 examples: - default: *488 + default: *491 headers: Link: *37 x-github: @@ -69682,9 +70226,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: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -69692,7 +70236,7 @@ paths: schema: type: integer example: 1 - - *486 + - *489 - *17 - *19 responses: @@ -69710,7 +70254,7 @@ paths: type: integer check_suites: type: array - items: *438 + items: *441 examples: default: value: @@ -69910,9 +70454,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: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - *17 - *19 responses: @@ -70114,9 +70658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *361 - - *362 - - *485 + - *364 + - *365 + - *488 - *17 - *19 responses: @@ -70126,7 +70670,7 @@ paths: application/json: schema: type: array - items: &647 + items: &650 title: Status description: The status of a commit. type: object @@ -70207,7 +70751,7 @@ paths: site_admin: false headers: Link: *37 - '301': *375 + '301': *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70235,8 +70779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -70269,11 +70813,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *489 + - *492 code_of_conduct_file: anyOf: - type: 'null' - - &490 + - &493 title: Community Health File type: object properties: @@ -70293,19 +70837,19 @@ paths: contributing: anyOf: - type: 'null' - - *490 + - *493 readme: anyOf: - type: 'null' - - *490 + - *493 issue_template: anyOf: - type: 'null' - - *490 + - *493 pull_request_template: anyOf: - type: 'null' - - *490 + - *493 required: - code_of_conduct - code_of_conduct_file @@ -70434,8 +70978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 - name: basehead @@ -70483,8 +71027,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *479 - merge_base_commit: *479 + base_commit: *482 + merge_base_commit: *482 status: type: string enum: @@ -70508,10 +71052,10 @@ paths: - 6 commits: type: array - items: *479 + items: *482 files: type: array - items: *491 + items: *494 required: - url - html_url @@ -70797,8 +71341,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -70951,7 +71495,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &492 + response-if-content-is-a-file: &495 summary: Response if content is a file value: type: file @@ -71088,7 +71632,7 @@ paths: - size - type - url - - &594 + - &597 title: Content File description: Content File type: object @@ -71306,7 +71850,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *492 + response-if-content-is-a-file: *495 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71375,7 +71919,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *493 + '302': *496 '304': *35 x-github: githubCloudOnly: false @@ -71398,8 +71942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -71494,7 +72038,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &497 title: File Commit description: File Commit type: object @@ -71650,7 +72194,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: example-for-creating-a-file: value: @@ -71704,7 +72248,7 @@ paths: schema: oneOf: - *3 - - &523 + - &526 description: Repository rule violation was detected type: object properties: @@ -71725,7 +72269,7 @@ paths: items: type: object properties: - placeholder_id: &639 + placeholder_id: &642 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -71757,8 +72301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *361 - - *362 + - *364 + - *365 - name: path description: path parameter in: path @@ -71819,7 +72363,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *497 examples: default: value: @@ -71874,8 +72418,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *361 - - *362 + - *364 + - *365 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -71999,21 +72543,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *361 - - *362 - - *238 - - *239 - - *240 - - *241 + - *364 + - *365 + - *242 + - *243 + - *244 + - *245 - 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 - - *242 - - *243 - - *244 + - *246 + - *247 + - *248 - *84 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72033,8 +72577,8 @@ paths: default: 30 - *82 - *83 - - *245 - - *246 + - *249 + - *250 responses: '200': description: Response @@ -72042,7 +72586,7 @@ paths: application/json: schema: type: array - items: &497 + items: &500 type: object description: A Dependabot alert. properties: @@ -72092,7 +72636,7 @@ paths: - direct - transitive - - security_advisory: *495 + security_advisory: *498 security_vulnerability: *100 url: *101 html_url: *102 @@ -72123,7 +72667,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *496 + auto_dismissed_at: *499 required: - number - state @@ -72353,9 +72897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *361 - - *362 - - &498 + - *364 + - *365 + - &501 name: alert_number in: path description: |- @@ -72370,7 +72914,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72483,9 +73027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *361 - - *362 - - *498 + - *364 + - *365 + - *501 requestBody: required: true content: @@ -72530,7 +73074,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *500 examples: default: value: @@ -72659,8 +73203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -72678,7 +73222,7 @@ paths: type: integer secrets: type: array - items: &501 + items: &504 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -72732,16 +73276,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *499 + schema: *502 examples: - default: *500 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72761,15 +73305,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '200': description: Response content: application/json: - schema: *501 + schema: *504 examples: default: value: @@ -72795,8 +73339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 requestBody: required: true @@ -72849,8 +73393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *361 - - *362 + - *364 + - *365 - *199 responses: '204': @@ -72873,8 +73417,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: - - *361 - - *362 + - *364 + - *365 - 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 @@ -73048,8 +73592,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -73309,8 +73853,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -73393,7 +73937,7 @@ paths: - version - url additionalProperties: false - metadata: &502 + metadata: &505 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73432,7 +73976,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *502 + metadata: *505 resolved: type: object description: A collection of resolved package dependencies. @@ -73446,7 +73990,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *502 + metadata: *505 relationship: type: string description: A notation of whether a dependency is requested @@ -73579,8 +74123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *361 - - *362 + - *364 + - *365 - name: sha description: The SHA recorded at creation time. in: query @@ -73621,9 +74165,9 @@ paths: application/json: schema: type: array - items: *503 + items: *506 examples: - default: *504 + default: *507 headers: Link: *37 x-github: @@ -73689,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -73772,7 +74316,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: simple-example: summary: Simple example @@ -73845,9 +74389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *361 - - *362 - - &505 + - *364 + - *365 + - &508 name: deployment_id description: deployment_id parameter in: path @@ -73859,7 +74403,7 @@ paths: description: Response content: application/json: - schema: *503 + schema: *506 examples: default: value: @@ -73924,9 +74468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 responses: '204': description: Response @@ -73948,9 +74492,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 - *17 - *19 responses: @@ -73960,7 +74504,7 @@ paths: application/json: schema: type: array - items: &506 + items: &509 title: Deployment Status description: The status of a deployment. type: object @@ -74124,9 +74668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 requestBody: required: true content: @@ -74201,9 +74745,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: &507 + default: &510 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74259,9 +74803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *361 - - *362 - - *505 + - *364 + - *365 + - *508 - name: status_id in: path required: true @@ -74272,9 +74816,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *509 examples: - default: *507 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -74299,8 +74843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -74357,8 +74901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -74376,7 +74920,7 @@ paths: - 5 environments: type: array - items: &509 + items: &512 title: Environment description: Details of a deployment environment type: object @@ -74438,7 +74982,7 @@ paths: type: string examples: - wait_timer - wait_timer: &511 + wait_timer: &514 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -74480,11 +75024,11 @@ paths: items: type: object properties: - type: *508 + type: *511 reviewer: anyOf: - *4 - - *275 + - *220 required: - id - node_id @@ -74507,7 +75051,7 @@ paths: - id - node_id - type - deployment_branch_policy: &512 + deployment_branch_policy: &515 type: - object - 'null' @@ -74624,9 +75168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *361 - - *362 - - &510 + - *364 + - *365 + - &513 name: environment_name in: path required: true @@ -74639,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: &513 + default: &516 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -74725,9 +75269,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: false content: @@ -74737,7 +75281,7 @@ paths: - object - 'null' properties: - wait_timer: *511 + wait_timer: *514 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -74756,14 +75300,14 @@ paths: items: type: object properties: - type: *508 + type: *511 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *512 + deployment_branch_policy: *515 additionalProperties: false examples: default: @@ -74783,9 +75327,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *512 examples: - default: *513 + default: *516 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -74809,9 +75353,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 responses: '204': description: Default response @@ -74836,9 +75380,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *17 - *19 responses: @@ -74857,7 +75401,7 @@ paths: - 2 branch_policies: type: array - items: &514 + items: &517 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -74918,9 +75462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: true content: @@ -74968,9 +75512,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - example-wildcard: &515 + example-wildcard: &518 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75012,10 +75556,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - &516 + - *364 + - *365 + - *513 + - &519 name: branch_policy_id in: path required: true @@ -75027,9 +75571,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *515 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75048,10 +75592,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - *516 + - *364 + - *365 + - *513 + - *519 requestBody: required: true content: @@ -75080,9 +75624,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *517 examples: - default: *515 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75101,10 +75645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *361 - - *362 - - *510 - - *516 + - *364 + - *365 + - *513 + - *519 responses: '204': description: Response @@ -75129,9 +75673,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 responses: '200': description: List of deployment protection rules @@ -75148,7 +75692,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &517 + items: &520 title: Deployment protection rule description: Deployment protection rule type: object @@ -75170,7 +75714,7 @@ paths: for the environment. examples: - true - app: &518 + app: &521 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -75273,9 +75817,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 requestBody: content: application/json: @@ -75296,9 +75840,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *517 + schema: *520 examples: - default: &519 + default: &522 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -75333,9 +75877,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: - - *510 - - *362 - - *361 + - *513 + - *365 + - *364 - *19 - *17 responses: @@ -75355,7 +75899,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *518 + items: *521 examples: default: value: @@ -75390,10 +75934,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: - - *361 - - *362 - - *510 - - &520 + - *364 + - *365 + - *513 + - &523 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -75405,9 +75949,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *520 examples: - default: *519 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75428,10 +75972,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: - - *510 - - *362 - - *361 - - *520 + - *513 + - *365 + - *364 + - *523 responses: '204': description: Response @@ -75457,9 +76001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *17 - *19 responses: @@ -75477,9 +76021,9 @@ paths: type: integer secrets: type: array - items: *398 + items: *401 examples: - default: *399 + default: *402 headers: Link: *37 x-github: @@ -75504,17 +76048,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 responses: '200': description: Response content: application/json: - schema: *400 + schema: *403 examples: - default: *401 + default: *404 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75536,18 +76080,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 responses: '200': description: Response content: application/json: - schema: *398 + schema: *401 examples: - default: *521 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75569,9 +76113,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 requestBody: required: true @@ -75629,9 +76173,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *199 responses: '204': @@ -75657,10 +76201,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *361 - - *362 - - *510 - - *385 + - *364 + - *365 + - *513 + - *388 - *19 responses: '200': @@ -75677,9 +76221,9 @@ paths: type: integer variables: type: array - items: *402 + items: *405 examples: - default: *403 + default: *406 headers: Link: *37 x-github: @@ -75702,9 +76246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 requestBody: required: true content: @@ -75756,18 +76300,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *361 - - *362 - - *510 + - *364 + - *365 + - *513 - *202 responses: '200': description: Response content: application/json: - schema: *402 + schema: *405 examples: - default: *522 + default: *525 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75788,10 +76332,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 - - *510 + - *513 requestBody: required: true content: @@ -75833,10 +76377,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *361 - - *362 + - *364 + - *365 - *202 - - *510 + - *513 responses: '204': description: Response @@ -75858,8 +76402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -75936,8 +76480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *361 - - *362 + - *364 + - *365 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76096,8 +76640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -76130,9 +76674,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 '400': *14 '422': *15 '403': *27 @@ -76153,8 +76697,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76214,7 +76758,7 @@ paths: schema: oneOf: - *172 - - *523 + - *526 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76239,8 +76783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *361 - - *362 + - *364 + - *365 - name: file_sha in: path required: true @@ -76340,8 +76884,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76450,7 +76994,7 @@ paths: description: Response content: application/json: - schema: &524 + schema: &527 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -76677,15 +77221,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *361 - - *362 - - *480 + - *364 + - *365 + - *483 responses: '200': description: Response content: application/json: - schema: *524 + schema: *527 examples: default: value: @@ -76741,9 +77285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *361 - - *362 - - &525 + - *364 + - *365 + - &528 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. @@ -76760,7 +77304,7 @@ paths: application/json: schema: type: array - items: &526 + items: &529 title: Git Reference description: Git references within a repository type: object @@ -76836,17 +77380,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 responses: '200': description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: &527 + default: &530 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -76875,8 +77419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -76905,9 +77449,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *527 + default: *530 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -76933,9 +77477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 requestBody: required: true content: @@ -76964,9 +77508,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *529 examples: - default: *527 + default: *530 '422': *15 '409': *92 x-github: @@ -76984,9 +77528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *361 - - *362 - - *525 + - *364 + - *365 + - *528 responses: '204': description: Response @@ -77039,8 +77583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -77107,7 +77651,7 @@ paths: description: Response content: application/json: - schema: &529 + schema: &532 title: Git Tag description: Metadata for a Git tag type: object @@ -77163,7 +77707,7 @@ paths: - sha - type - url - verification: *528 + verification: *531 required: - sha - url @@ -77173,7 +77717,7 @@ paths: - tag - message examples: - default: &530 + default: &533 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77246,8 +77790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *361 - - *362 + - *364 + - *365 - name: tag_sha in: path required: true @@ -77258,9 +77802,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *532 examples: - default: *530 + default: *533 '404': *6 '409': *92 x-github: @@ -77284,8 +77828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -77359,7 +77903,7 @@ paths: description: Response content: application/json: - schema: &531 + schema: &534 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -77376,6 +77920,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -77408,29 +77957,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: @@ -77477,8 +78005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *361 - - *362 + - *364 + - *365 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -77501,7 +78029,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *534 examples: default-response: summary: Default response @@ -77560,8 +78088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -77571,7 +78099,7 @@ paths: application/json: schema: type: array - items: &532 + items: &535 title: Webhook description: Webhooks for repositories. type: object @@ -77634,7 +78162,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &773 + last_response: &776 title: Hook Response type: object properties: @@ -77711,8 +78239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -77765,9 +78293,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: &533 + default: &536 value: type: Repository id: 12345678 @@ -77815,17 +78343,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '200': description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '404': *6 x-github: githubCloudOnly: false @@ -77845,9 +78373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 requestBody: required: true content: @@ -77892,9 +78420,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *535 examples: - default: *533 + default: *536 '422': *15 '404': *6 x-github: @@ -77915,9 +78443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -77941,9 +78469,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '200': description: Response @@ -77970,9 +78498,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 requestBody: required: false content: @@ -78016,11 +78544,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *17 - - *253 + - *257 responses: '200': description: Response @@ -78028,9 +78556,9 @@ paths: application/json: schema: type: array - items: *254 + items: *258 examples: - default: *255 + default: *259 '400': *14 '422': *15 x-github: @@ -78049,18 +78577,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *16 responses: '200': description: Response content: application/json: - schema: *256 + schema: *260 examples: - default: *257 + default: *261 '400': *14 '422': *15 x-github: @@ -78079,9 +78607,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: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 - *16 responses: '202': *93 @@ -78104,9 +78632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -78131,9 +78659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *361 - - *362 - - *252 + - *364 + - *365 + - *256 responses: '204': description: Response @@ -78191,14 +78719,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &534 + schema: &537 title: Import description: A repository import from an external source. type: object @@ -78305,7 +78833,7 @@ paths: - html_url - authors_url examples: - default: &537 + default: &540 value: vcs: subversion use_lfs: true @@ -78321,7 +78849,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': &535 + '503': &538 description: Unavailable due to service under maintenance. content: application/json: @@ -78350,8 +78878,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -78399,7 +78927,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: default: value: @@ -78424,7 +78952,7 @@ paths: type: string '422': *15 '404': *6 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78452,8 +78980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -78505,7 +79033,7 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: example-1: summary: Example 1 @@ -78553,7 +79081,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': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78576,12 +79104,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78607,9 +79135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *361 - - *362 - - &722 + - *364 + - *365 + - &725 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -78623,7 +79151,7 @@ paths: application/json: schema: type: array - items: &536 + items: &539 title: Porter Author description: Porter Author type: object @@ -78677,7 +79205,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': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78702,8 +79230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *361 - - *362 + - *364 + - *365 - name: author_id in: path required: true @@ -78733,7 +79261,7 @@ paths: description: Response content: application/json: - schema: *536 + schema: *539 examples: default: value: @@ -78746,7 +79274,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78770,8 +79298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78812,7 +79340,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78840,8 +79368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -78868,11 +79396,11 @@ paths: description: Response content: application/json: - schema: *534 + schema: *537 examples: - default: *537 + default: *540 '422': *15 - '503': *535 + '503': *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78895,8 +79423,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78904,8 +79432,8 @@ paths: application/json: schema: *20 examples: - default: *538 - '301': *375 + default: *541 + '301': *378 '404': *6 x-github: githubCloudOnly: false @@ -78925,8 +79453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -78934,12 +79462,12 @@ paths: application/json: schema: anyOf: - - *270 + - *274 - type: object properties: {} additionalProperties: false examples: - default: &540 + default: &543 value: limit: collaborators_only origin: repository @@ -78964,13 +79492,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: application/json: - schema: *539 + schema: *542 examples: default: summary: Example request body @@ -78982,9 +79510,9 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: - default: *540 + default: *543 '409': description: Response x-github: @@ -79006,8 +79534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -79030,8 +79558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -79041,9 +79569,9 @@ paths: application/json: schema: type: array - items: *541 + items: *544 examples: - default: &715 + default: &718 value: - id: 1 repository: @@ -79174,9 +79702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *361 - - *362 - - *274 + - *364 + - *365 + - *278 requestBody: required: false content: @@ -79205,7 +79733,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *544 examples: default: value: @@ -79336,9 +79864,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *361 - - *362 - - *274 + - *364 + - *365 + - *278 responses: '204': description: Response @@ -79369,8 +79897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *361 - - *362 + - *364 + - *365 - 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 @@ -79418,7 +79946,7 @@ paths: required: false schema: type: string - - *279 + - *282 - name: sort description: What to sort results by. in: query @@ -79443,7 +79971,7 @@ paths: type: array items: *147 examples: - default: &550 + default: &553 value: - id: 1 node_id: MDU6SXNzdWUx @@ -79591,7 +80119,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *375 + '301': *378 '422': *15 '404': *6 x-github: @@ -79620,8 +80148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -79713,7 +80241,7 @@ paths: application/json: schema: *147 examples: - default: &545 + default: &548 value: id: 1 node_id: MDU6SXNzdWUx @@ -79869,7 +80397,7 @@ paths: '422': *15 '503': *128 '404': *6 - '410': *372 + '410': *375 x-github: triggersNotification: true githubCloudOnly: false @@ -79897,8 +80425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *156 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -79919,9 +80447,9 @@ paths: application/json: schema: type: array - items: *542 + items: *545 examples: - default: &547 + default: &550 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -79979,17 +80507,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: &543 + default: &546 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80043,8 +80571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -80067,9 +80595,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: *543 + default: *546 '422': *15 x-github: githubCloudOnly: false @@ -80087,8 +80615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -80109,8 +80637,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80137,9 +80665,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -80160,8 +80688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -80194,16 +80722,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -80225,10 +80753,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -80248,8 +80776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -80259,7 +80787,7 @@ paths: application/json: schema: type: array - items: &544 + items: &547 title: Issue Event description: Issue Event type: object @@ -80339,7 +80867,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *275 + requested_team: *220 dismissed_review: title: Issue Event Dismissed Review type: object @@ -80598,8 +81126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *361 - - *362 + - *364 + - *365 - name: event_id in: path required: true @@ -80610,7 +81138,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *547 examples: default: value: @@ -80803,7 +81331,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *372 + '410': *375 '403': *27 x-github: githubCloudOnly: false @@ -80837,9 +81365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *361 - - *362 - - &546 + - *364 + - *365 + - &549 name: issue_number description: The number that identifies the issue. in: path @@ -80853,10 +81381,10 @@ paths: application/json: schema: *147 examples: - default: *545 - '301': *375 + default: *548 + '301': *378 '404': *6 - '410': *372 + '410': *375 '304': *35 x-github: githubCloudOnly: false @@ -80881,9 +81409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -81003,13 +81531,13 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 '422': *15 '503': *128 '403': *27 - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81027,9 +81555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -81057,7 +81585,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81073,9 +81601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: content: application/json: @@ -81102,7 +81630,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81124,9 +81652,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: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - name: assignee in: path required: true @@ -81166,9 +81694,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *137 - *17 - *19 @@ -81179,13 +81707,13 @@ paths: application/json: schema: type: array - items: *542 + items: *545 examples: - default: *547 + default: *550 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81214,9 +81742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -81238,16 +81766,16 @@ paths: description: Response content: application/json: - schema: *542 + schema: *545 examples: - default: *543 + default: *546 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *372 + '410': *375 '422': *15 '404': *6 x-github: @@ -81267,9 +81795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -81283,7 +81811,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &551 + - &554 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81332,7 +81860,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &552 + - &555 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -81460,7 +81988,7 @@ paths: - performed_via_github_app - assignee - assigner - - &553 + - &556 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -81506,7 +82034,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &554 + - &557 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -81552,7 +82080,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &555 + - &558 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -81601,7 +82129,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &556 + - &559 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -81630,7 +82158,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *275 + requested_team: *220 requested_reviewer: *4 required: - review_requester @@ -81643,7 +82171,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &557 + - &560 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -81672,7 +82200,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *275 + requested_team: *220 requested_reviewer: *4 required: - review_requester @@ -81685,7 +82213,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &558 + - &561 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -81741,7 +82269,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &559 + - &562 title: Locked Issue Event description: Locked Issue Event type: object @@ -81786,7 +82314,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &560 + - &563 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -81847,7 +82375,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &561 + - &564 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -81908,7 +82436,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &562 + - &565 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -81969,7 +82497,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &563 + - &566 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82062,7 +82590,7 @@ paths: color: red headers: Link: *37 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82079,9 +82607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82091,7 +82619,7 @@ paths: application/json: schema: type: array - items: &548 + items: &551 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82146,7 +82674,7 @@ paths: - color - default examples: - default: &549 + default: &552 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82164,9 +82692,9 @@ paths: default: false headers: Link: *37 - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82183,9 +82711,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82244,12 +82772,12 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 - '301': *375 + default: *552 + '301': *378 '404': *6 - '410': *372 + '410': *375 '422': *15 x-github: githubCloudOnly: false @@ -82266,9 +82794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82328,12 +82856,12 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 - '301': *375 + default: *552 + '301': *378 '404': *6 - '410': *372 + '410': *375 '422': *15 x-github: githubCloudOnly: false @@ -82350,15 +82878,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 responses: '204': description: Response - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82377,9 +82905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - name: name in: path required: true @@ -82392,7 +82920,7 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: default: value: @@ -82403,9 +82931,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *375 + '301': *378 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82425,9 +82953,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: false content: @@ -82456,7 +82984,7 @@ paths: '204': description: Response '403': *27 - '410': *372 + '410': *375 '404': *6 '422': *15 x-github: @@ -82474,9 +83002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 responses: '204': description: Response @@ -82498,9 +83026,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - 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. @@ -82526,13 +83054,13 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82550,9 +83078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82584,16 +83112,16 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -82615,10 +83143,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *361 - - *362 - - *546 - - *353 + - *364 + - *365 + - *549 + - *356 responses: '204': description: Response @@ -82647,9 +83175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82673,7 +83201,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -82706,9 +83234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82720,11 +83248,11 @@ paths: type: array items: *147 examples: - default: *550 + default: *553 headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82752,9 +83280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82783,14 +83311,14 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *372 + '410': *375 '422': *15 '404': *6 x-github: @@ -82810,9 +83338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 requestBody: required: true content: @@ -82845,7 +83373,7 @@ paths: application/json: schema: *147 examples: - default: *545 + default: *548 '403': *27 '404': *6 '422': *7 @@ -82867,9 +83395,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *361 - - *362 - - *546 + - *364 + - *365 + - *549 - *17 - *19 responses: @@ -82884,9 +83412,6 @@ paths: description: Timeline Event type: object anyOf: - - *551 - - *552 - - *553 - *554 - *555 - *556 @@ -82897,6 +83422,9 @@ paths: - *561 - *562 - *563 + - *564 + - *565 + - *566 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83220,7 +83748,7 @@ paths: type: string comments: type: array - items: &583 + items: &586 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -83458,7 +83986,7 @@ paths: type: string comments: type: array - items: *478 + items: *481 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -83733,7 +84261,7 @@ paths: headers: Link: *37 '404': *6 - '410': *372 + '410': *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83750,8 +84278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -83761,7 +84289,7 @@ paths: application/json: schema: type: array - items: &564 + items: &567 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -83828,8 +84356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -83865,9 +84393,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: &565 + default: &568 value: id: 1 key: ssh-rsa AAA... @@ -83901,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *361 - - *362 - - &566 + - *364 + - *365 + - &569 name: key_id description: The unique identifier of the key. in: path @@ -83915,9 +84443,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *567 examples: - default: *565 + default: *568 '404': *6 x-github: githubCloudOnly: false @@ -83935,9 +84463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *361 - - *362 - - *566 + - *364 + - *365 + - *569 responses: '204': description: Response @@ -83957,8 +84485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -83968,9 +84496,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 headers: Link: *37 '404': *6 @@ -83991,8 +84519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84028,9 +84556,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: &567 + default: &570 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84062,8 +84590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84074,9 +84602,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: - default: *567 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -84093,8 +84621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84133,7 +84661,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *551 examples: default: value: @@ -84159,8 +84687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *361 - - *362 + - *364 + - *365 - name: name in: path required: true @@ -84186,8 +84714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -84223,8 +84751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '202': *93 '403': @@ -84252,8 +84780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -84279,9 +84807,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *361 - - *362 - - *456 + - *364 + - *365 + - *459 responses: '200': description: Response @@ -84428,8 +84956,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84494,8 +85022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84529,9 +85057,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *479 + schema: *482 examples: - default: *568 + default: *571 '204': description: Response when already merged '404': @@ -84556,8 +85084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -84598,7 +85126,7 @@ paths: application/json: schema: type: array - items: *483 + items: *486 examples: default: value: @@ -84654,8 +85182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -84695,9 +85223,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: &569 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -84756,9 +85284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *361 - - *362 - - &570 + - *364 + - *365 + - &573 name: milestone_number description: The number that identifies the milestone. in: path @@ -84770,9 +85298,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: *569 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -84789,9 +85317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 requestBody: required: false content: @@ -84829,9 +85357,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *486 examples: - default: *569 + default: *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84847,9 +85375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 responses: '204': description: Response @@ -84870,9 +85398,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: - - *361 - - *362 - - *570 + - *364 + - *365 + - *573 - *17 - *19 responses: @@ -84882,9 +85410,9 @@ paths: application/json: schema: type: array - items: *548 + items: *551 examples: - default: *549 + default: *552 headers: Link: *37 x-github: @@ -84903,12 +85431,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: - - *361 - - *362 - - *571 - - *572 + - *364 + - *365 + - *574 + - *575 - *137 - - *573 + - *576 - *17 - *19 responses: @@ -84920,7 +85448,7 @@ paths: type: array items: *159 examples: - default: *574 + default: *577 headers: Link: *37 x-github: @@ -84944,8 +85472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -85003,14 +85531,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: &575 + schema: &578 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85154,7 +85682,7 @@ paths: - custom_404 - public examples: - default: &576 + default: &579 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85195,8 +85723,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85251,9 +85779,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *578 examples: - default: *576 + default: *579 '422': *15 '409': *92 x-github: @@ -85276,8 +85804,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85385,8 +85913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -85412,8 +85940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -85423,7 +85951,7 @@ paths: application/json: schema: type: array - items: &577 + items: &580 title: Page Build description: Page Build type: object @@ -85515,8 +86043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *361 - - *362 + - *364 + - *365 responses: '201': description: Response @@ -85563,16 +86091,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: &578 + default: &581 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -85620,8 +86148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *361 - - *362 + - *364 + - *365 - name: build_id in: path required: true @@ -85632,9 +86160,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *580 examples: - default: *578 + default: *581 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85654,8 +86182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -85763,9 +86291,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: - - *361 - - *362 - - &579 + - *364 + - *365 + - &582 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -85823,9 +86351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *361 - - *362 - - *579 + - *364 + - *365 + - *582 responses: '204': *114 '404': *6 @@ -85852,8 +86380,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -86148,8 +86676,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Private vulnerability reporting status @@ -86186,8 +86714,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: - - *361 - - *362 + - *364 + - *365 responses: '204': *114 '422': *14 @@ -86208,8 +86736,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: - - *361 - - *362 + - *364 + - *365 responses: '204': *114 '422': *14 @@ -86232,8 +86760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: Indicates the state of the projects to return. in: query @@ -86254,7 +86782,7 @@ paths: application/json: schema: type: array - items: *309 + items: *312 examples: default: value: @@ -86294,7 +86822,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -86317,8 +86845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86344,13 +86872,13 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: - default: *371 + default: *374 '401': *23 '403': *27 '404': *6 - '410': *372 + '410': *375 '422': *7 x-github: githubCloudOnly: false @@ -86373,8 +86901,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -86382,7 +86910,7 @@ paths: application/json: schema: type: array - items: *311 + items: *314 examples: default: value: @@ -86413,8 +86941,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86426,7 +86954,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *311 + items: *314 required: - properties examples: @@ -86476,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *361 - - *362 + - *364 + - *365 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -86537,9 +87065,9 @@ paths: application/json: schema: type: array - items: *580 + items: *583 examples: - default: *581 + default: *584 headers: Link: *37 '304': *35 @@ -86571,8 +87099,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -86639,7 +87167,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &588 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -86768,7 +87296,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 active_lock_reason: type: - string @@ -86823,7 +87351,7 @@ paths: type: - array - 'null' - items: *291 + items: *294 head: type: object properties: @@ -86861,14 +87389,14 @@ paths: _links: type: object properties: - comments: *484 - commits: *484 - statuses: *484 - html: *484 - issue: *484 - review_comments: *484 - review_comment: *484 - self: *484 + comments: *487 + commits: *487 + statuses: *487 + html: *487 + issue: *487 + review_comments: *487 + review_comment: *487 + self: *487 required: - comments - commits @@ -86879,7 +87407,7 @@ paths: - review_comment - self author_association: *134 - auto_merge: *582 + auto_merge: *585 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -86981,7 +87509,7 @@ paths: - merged_by - review_comments examples: - default: &586 + default: &589 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -87508,8 +88036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *361 - - *362 + - *364 + - *365 - name: sort in: query required: false @@ -87538,9 +88066,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: &588 + default: &591 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87617,17 +88145,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: - - *361 - - *362 + - *364 + - *365 - *146 responses: '200': description: Response content: application/json: - schema: *583 + schema: *586 examples: - default: &584 + default: &587 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -87702,8 +88230,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: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -87726,9 +88254,9 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: - default: *584 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87744,8 +88272,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: - - *361 - - *362 + - *364 + - *365 - *146 responses: '204': @@ -87767,8 +88295,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: - - *361 - - *362 + - *364 + - *365 - *146 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -87795,9 +88323,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -87818,8 +88346,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: - - *361 - - *362 + - *364 + - *365 - *146 requestBody: required: true @@ -87852,16 +88380,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -87883,10 +88411,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *361 - - *362 + - *364 + - *365 - *146 - - *353 + - *356 responses: '204': description: Response @@ -87929,9 +88457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *361 - - *362 - - &587 + - *364 + - *365 + - &590 name: pull_number description: The number that identifies the pull request. in: path @@ -87944,9 +88472,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '304': *35 '404': *6 '406': @@ -87981,9 +88509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88025,9 +88553,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *588 examples: - default: *586 + default: *589 '422': *15 '403': *27 x-github: @@ -88049,9 +88577,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -88112,17 +88640,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -88152,9 +88680,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *156 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -88175,9 +88703,9 @@ paths: application/json: schema: type: array - items: *583 + items: *586 examples: - default: *588 + default: *591 headers: Link: *37 x-github: @@ -88210,9 +88738,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -88318,7 +88846,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: example-for-a-multi-line-comment: value: @@ -88406,9 +88934,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *146 requestBody: required: true @@ -88431,7 +88959,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *586 examples: default: value: @@ -88517,9 +89045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -88529,9 +89057,9 @@ paths: application/json: schema: type: array - items: *479 + items: *482 examples: - default: *589 + default: *592 headers: Link: *37 x-github: @@ -88561,9 +89089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -88573,7 +89101,7 @@ paths: application/json: schema: type: array - items: *491 + items: *494 examples: default: value: @@ -88611,9 +89139,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 responses: '204': description: Response if pull request has been merged @@ -88636,9 +89164,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88750,9 +89278,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 responses: '200': description: Response @@ -88768,7 +89296,7 @@ paths: items: *4 teams: type: array - items: *275 + items: *220 required: - users - teams @@ -88827,9 +89355,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -88866,7 +89394,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -89402,9 +89930,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: true content: @@ -89438,7 +89966,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *583 examples: default: value: @@ -89943,9 +90471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 - *17 - *19 responses: @@ -89955,7 +90483,7 @@ paths: application/json: schema: type: array - items: &590 + items: &593 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90111,9 +90639,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: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -90203,9 +90731,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &592 + default: &595 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90268,10 +90796,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: - - *361 - - *362 - - *587 - - &591 + - *364 + - *365 + - *590 + - &594 name: review_id description: The unique identifier of the review. in: path @@ -90283,9 +90811,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: &593 + default: &596 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90344,10 +90872,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90370,7 +90898,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -90432,18 +90960,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 responses: '200': description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *592 + default: *595 '422': *7 '404': *6 x-github: @@ -90470,10 +90998,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 - *17 - *19 responses: @@ -90571,9 +91099,9 @@ paths: _links: type: object properties: - self: *484 - html: *484 - pull_request: *484 + self: *487 + html: *487 + pull_request: *487 required: - self - html @@ -90724,10 +91252,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90756,7 +91284,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: default: value: @@ -90819,10 +91347,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: - - *361 - - *362 - - *587 - - *591 + - *364 + - *365 + - *590 + - *594 requestBody: required: true content: @@ -90857,9 +91385,9 @@ paths: description: Response content: application/json: - schema: *590 + schema: *593 examples: - default: *593 + default: *596 '404': *6 '422': *7 '403': *27 @@ -90881,9 +91409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *361 - - *362 - - *587 + - *364 + - *365 + - *590 requestBody: required: false content: @@ -90947,8 +91475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *361 - - *362 + - *364 + - *365 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -90961,9 +91489,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: &595 + default: &598 value: type: file encoding: base64 @@ -91005,8 +91533,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: - - *361 - - *362 + - *364 + - *365 - name: dir description: The alternate path to look for a README file in: path @@ -91026,9 +91554,9 @@ paths: description: Response content: application/json: - schema: *594 + schema: *597 examples: - default: *595 + default: *598 '404': *6 '422': *15 x-github: @@ -91050,8 +91578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -91061,7 +91589,7 @@ paths: application/json: schema: type: array - items: &596 + items: &599 title: Release description: A release. type: object @@ -91133,7 +91661,7 @@ paths: author: *4 assets: type: array - items: &597 + items: &600 title: Release Asset description: Data related to a release. type: object @@ -91313,8 +91841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -91390,9 +91918,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: &600 + default: &603 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -91495,9 +92023,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *361 - - *362 - - &598 + - *364 + - *365 + - &601 name: asset_id description: The unique identifier of the asset. in: path @@ -91509,9 +92037,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: &599 + default: &602 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 @@ -91545,7 +92073,7 @@ paths: type: User site_admin: false '404': *6 - '302': *493 + '302': *496 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91561,9 +92089,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *361 - - *362 - - *598 + - *364 + - *365 + - *601 requestBody: required: false content: @@ -91592,9 +92120,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *600 examples: - default: *599 + default: *602 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91610,9 +92138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *361 - - *362 - - *598 + - *364 + - *365 + - *601 responses: '204': description: Response @@ -91636,8 +92164,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -91723,16 +92251,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91749,8 +92277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *361 - - *362 + - *364 + - *365 - name: tag description: tag parameter in: path @@ -91763,9 +92291,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -91787,9 +92315,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *361 - - *362 - - &601 + - *364 + - *365 + - &604 name: release_id description: The unique identifier of the release. in: path @@ -91803,9 +92331,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: *596 + schema: *599 examples: - default: *600 + default: *603 '401': description: Unauthorized x-github: @@ -91823,9 +92351,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 requestBody: required: false content: @@ -91889,9 +92417,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *599 examples: - default: *600 + default: *603 '404': description: Not Found if the discussion category name is invalid content: @@ -91912,9 +92440,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 responses: '204': description: Response @@ -91934,9 +92462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - *17 - *19 responses: @@ -91946,7 +92474,7 @@ paths: application/json: schema: type: array - items: *597 + items: *600 examples: default: value: @@ -92027,9 +92555,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: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - name: name in: query required: true @@ -92055,7 +92583,7 @@ paths: description: Response for successful upload content: application/json: - schema: *597 + schema: *600 examples: response-for-successful-upload: value: @@ -92109,9 +92637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 - 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. @@ -92135,9 +92663,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 '404': *6 @@ -92158,9 +92686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *361 - - *362 - - *601 + - *364 + - *365 + - *604 requestBody: required: true content: @@ -92190,16 +92718,16 @@ paths: description: Reaction exists content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '201': description: Reaction created content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 '422': *15 x-github: githubCloudOnly: false @@ -92221,10 +92749,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *361 - - *362 - - *601 - - *353 + - *364 + - *365 + - *604 + - *356 responses: '204': description: Response @@ -92248,9 +92776,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *361 - - *362 - - *420 + - *364 + - *365 + - *423 - *17 - *19 responses: @@ -92266,8 +92794,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *602 - - &604 + - *605 + - &607 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92286,66 +92814,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *603 - - *604 - - allOf: - - *605 - - *604 - allOf: - *606 - - *604 - - allOf: - *607 - - *604 - allOf: - *608 - - *604 + - *607 - allOf: - *609 - - *604 + - *607 - allOf: - *610 - - *604 + - *607 - allOf: - *611 - - *604 + - *607 - allOf: - *612 - - *604 + - *607 - allOf: - *613 - - *604 + - *607 - allOf: - *614 - - *604 + - *607 - allOf: - *615 - - *604 + - *607 - allOf: - *616 - - *604 + - *607 - allOf: - *617 - - *604 + - *607 - allOf: - *618 - - *604 + - *607 - allOf: - *619 - - *604 + - *607 - allOf: - *620 - - *604 + - *607 - allOf: - *621 - - *604 + - *607 - allOf: - *622 - - *604 + - *607 - allOf: - *623 - - *604 + - *607 + - allOf: + - *624 + - *607 + - allOf: + - *625 + - *607 + - allOf: + - *626 + - *607 examples: default: value: @@ -92384,8 +92912,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - name: includes_parents @@ -92396,7 +92924,7 @@ paths: schema: type: boolean default: true - - *624 + - *627 responses: '200': description: Response @@ -92451,8 +92979,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 requestBody: description: Request body required: true @@ -92514,7 +93042,7 @@ paths: application/json: schema: *124 examples: - default: &633 + default: &636 value: id: 42 name: super cool ruleset @@ -92561,12 +93089,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *361 - - *362 - - *625 + - *364 + - *365 + - *628 - *214 - - *626 - - *627 + - *629 + - *630 - *17 - *19 responses: @@ -92574,9 +93102,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *631 examples: - default: *629 + default: *632 '404': *6 '500': *95 x-github: @@ -92597,17 +93125,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *361 - - *362 - - *630 + - *364 + - *365 + - *633 responses: '200': description: Response content: application/json: - schema: *631 + schema: *634 examples: - default: *632 + default: *635 '404': *6 '500': *95 x-github: @@ -92635,8 +93163,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92658,7 +93186,7 @@ paths: application/json: schema: *124 examples: - default: *633 + default: *636 '404': *6 '500': *95 put: @@ -92676,8 +93204,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92741,7 +93269,7 @@ paths: application/json: schema: *124 examples: - default: *633 + default: *636 '404': *6 '500': *95 delete: @@ -92759,8 +93287,8 @@ paths: category: repos subcategory: rules parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92783,8 +93311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 - name: ruleset_id @@ -92802,7 +93330,7 @@ paths: type: array items: *127 examples: - default: *317 + default: *320 '404': *6 '500': *95 x-github: @@ -92821,8 +93349,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *361 - - *362 + - *364 + - *365 - name: ruleset_id description: The ID of the ruleset. in: path @@ -92840,7 +93368,7 @@ paths: description: Response content: application/json: - schema: *318 + schema: *321 examples: default: value: @@ -92895,20 +93423,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: - - *361 - - *362 - - *319 - - *320 - - *321 + - *364 + - *365 - *322 - - *84 - - *19 - - *17 - - *634 - - *635 - *323 - *324 - *325 + - *84 + - *19 + - *17 + - *637 + - *638 + - *326 + - *327 + - *328 responses: '200': description: Response @@ -92916,7 +93444,7 @@ paths: application/json: schema: type: array - items: &638 + items: &641 type: object properties: number: *96 @@ -92932,8 +93460,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *636 - resolution: *637 + state: *639 + resolution: *640 resolved_at: type: - string @@ -93152,15 +93680,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 responses: '200': description: Response content: application/json: - schema: *638 + schema: *641 examples: default: value: @@ -93212,9 +93740,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 requestBody: required: true content: @@ -93222,8 +93750,8 @@ paths: schema: type: object properties: - state: *636 - resolution: *637 + state: *639 + resolution: *640 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -93242,7 +93770,7 @@ paths: description: Response content: application/json: - schema: *638 + schema: *641 examples: default: value: @@ -93317,9 +93845,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: - - *361 - - *362 - - *450 + - *364 + - *365 + - *453 - *19 - *17 responses: @@ -93330,7 +93858,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &794 + items: &797 type: object properties: type: @@ -93709,8 +94237,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -93718,14 +94246,14 @@ paths: schema: type: object properties: - reason: &640 + reason: &643 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *639 + placeholder_id: *642 required: - reason - placeholder_id @@ -93742,7 +94270,7 @@ paths: schema: type: object properties: - reason: *640 + reason: *643 expire_at: type: - string @@ -93786,8 +94314,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: - - *361 - - *362 + - *364 + - *365 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -93802,7 +94330,7 @@ paths: properties: incremental_scans: type: array - items: &641 + items: &644 description: Information on a single scan performed by secret scanning on the repository type: object @@ -93830,15 +94358,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *641 + items: *644 backfill_scans: type: array - items: *641 + items: *644 custom_pattern_backfill_scans: type: array items: allOf: - - *641 + - *644 - type: object properties: pattern_name: @@ -93908,8 +94436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *361 - - *362 + - *364 + - *365 - *84 - name: sort description: The property to sort the results by. @@ -93953,9 +94481,9 @@ paths: application/json: schema: type: array - items: *642 + items: *645 examples: - default: *643 + default: *646 '400': *14 '404': *6 x-github: @@ -93978,8 +94506,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -94059,7 +94587,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 required: - login - type @@ -94149,9 +94677,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: &645 + default: &648 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94384,8 +94912,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -94498,7 +95026,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: default: value: @@ -94645,17 +95173,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '200': description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *645 + default: *648 '403': *27 '404': *6 x-github: @@ -94679,9 +95207,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 requestBody: required: true content: @@ -94761,7 +95289,7 @@ paths: login: type: string description: The username of the user credited. - type: *328 + type: *331 required: - login - type @@ -94852,10 +95380,10 @@ paths: description: Response content: application/json: - schema: *642 + schema: *645 examples: - default: *645 - add_credit: *645 + default: *648 + add_credit: *648 '403': *27 '404': *6 '422': @@ -94893,9 +95421,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '202': *93 '400': *14 @@ -94922,17 +95450,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: - - *361 - - *362 - - *644 + - *364 + - *365 + - *647 responses: '202': description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 '400': *14 '422': *15 '403': *27 @@ -94958,8 +95486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95055,8 +95583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95065,7 +95593,7 @@ paths: application/json: schema: type: array - items: &646 + items: &649 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95098,8 +95626,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95177,8 +95705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95272,8 +95800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95427,8 +95955,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95438,7 +95966,7 @@ paths: application/json: schema: type: array - items: *646 + items: *649 examples: default: value: @@ -95471,8 +95999,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *361 - - *362 + - *364 + - *365 - name: sha in: path required: true @@ -95528,7 +96056,7 @@ paths: description: Response content: application/json: - schema: *647 + schema: *650 examples: default: value: @@ -95582,8 +96110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95595,7 +96123,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -95615,14 +96143,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &648 + schema: &651 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95695,8 +96223,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: false content: @@ -95722,7 +96250,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *651 examples: default: value: @@ -95749,8 +96277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -95770,8 +96298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -95853,8 +96381,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: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -95862,7 +96390,7 @@ paths: application/json: schema: type: array - items: &649 + items: &652 title: Tag protection description: Tag protection type: object @@ -95919,8 +96447,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: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -95943,7 +96471,7 @@ paths: description: Response content: application/json: - schema: *649 + schema: *652 examples: default: value: @@ -95974,8 +96502,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: - - *361 - - *362 + - *364 + - *365 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96012,8 +96540,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *361 - - *362 + - *364 + - *365 - name: ref in: path required: true @@ -96049,8 +96577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *361 - - *362 + - *364 + - *365 - *17 - *19 responses: @@ -96060,9 +96588,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - default: *292 + default: *295 headers: Link: *37 '404': *6 @@ -96082,8 +96610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *361 - - *362 + - *364 + - *365 - *19 - *17 responses: @@ -96091,7 +96619,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &653 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96103,7 +96631,7 @@ paths: required: - names examples: - default: &651 + default: &654 value: names: - octocat @@ -96126,8 +96654,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -96158,9 +96686,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *653 examples: - default: *651 + default: *654 '404': *6 '422': *7 x-github: @@ -96181,9 +96709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *361 - - *362 - - &652 + - *364 + - *365 + - &655 name: per description: The time frame to display results for. in: query @@ -96214,7 +96742,7 @@ paths: - 128 clones: type: array - items: &653 + items: &656 title: Traffic type: object properties: @@ -96301,8 +96829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -96396,8 +96924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *361 - - *362 + - *364 + - *365 responses: '200': description: Response @@ -96460,9 +96988,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *361 - - *362 - - *652 + - *364 + - *365 + - *655 responses: '200': description: Response @@ -96483,7 +97011,7 @@ paths: - 3782 views: type: array - items: *653 + items: *656 required: - uniques - count @@ -96560,8 +97088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *361 - - *362 + - *364 + - *365 requestBody: required: true content: @@ -96835,8 +97363,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -96859,8 +97387,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -96882,8 +97410,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -96909,8 +97437,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *361 - - *362 + - *364 + - *365 - name: ref in: path required: true @@ -97002,9 +97530,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97155,7 +97683,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &661 + - &664 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97165,7 +97693,7 @@ paths: type: string examples: - members - - &666 + - &669 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97177,7 +97705,7 @@ paths: format: int32 examples: - 1 - - &667 + - &670 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97221,7 +97749,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &655 + items: &658 allOf: - type: object required: @@ -97303,7 +97831,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: &668 + meta: &671 type: object description: The metadata associated with the creation/updates to the user. @@ -97368,31 +97896,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &656 + '400': &659 description: Bad request content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '401': &657 + schema: *657 + '401': &660 description: Authorization failure - '403': &658 + '403': &661 description: Permission denied - '429': &659 + '429': &662 description: Too many requests content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '500': &660 + schema: *657 + '500': &663 description: Internal server error content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 + schema: *657 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97416,7 +97944,7 @@ paths: required: true content: application/json: - schema: &664 + schema: &667 type: object required: - schemas @@ -97476,9 +98004,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *655 + schema: *658 examples: - group: &662 + group: &665 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97497,13 +98025,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': *656 - '401': *657 - '403': *658 - '409': &665 + '400': *659 + '401': *660 + '403': *661 + '409': &668 description: Duplicate record detected - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97520,7 +98048,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: - - &663 + - &666 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97529,22 +98057,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *661 + - *664 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *655 + schema: *658 examples: - default: *662 - '400': *656 - '401': *657 - '403': *658 + default: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97563,13 +98091,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: - - *663 + - *666 - *38 requestBody: required: true content: application/json: - schema: *664 + schema: *667 examples: group: summary: Group @@ -97595,17 +98123,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *655 + schema: *658 examples: - group: *662 - groupWithMembers: *662 - '400': *656 - '401': *657 - '403': *658 + group: *665 + groupWithMembers: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97629,13 +98157,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: - - *663 + - *666 - *38 requestBody: required: true content: application/json: - schema: &675 + schema: &678 type: object required: - Operations @@ -97695,17 +98223,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *655 + schema: *658 examples: - updateGroup: *662 - addMembers: *662 - '400': *656 - '401': *657 - '403': *658 + updateGroup: *665 + addMembers: *665 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97721,17 +98249,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: - - *663 + - *666 - *38 responses: '204': description: Group was deleted, no content - '400': *656 - '401': *657 - '403': *658 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97765,8 +98293,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *666 - - *667 + - *669 + - *670 - *38 responses: '200': @@ -97800,7 +98328,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &670 + items: &673 allOf: - type: object required: @@ -97892,7 +98420,7 @@ paths: address. examples: - true - roles: &669 + roles: &672 type: array description: The roles assigned to the user. items: @@ -97951,7 +98479,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *668 + meta: *671 startIndex: type: integer description: A starting index for the returned page @@ -97990,11 +98518,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *656 - '401': *657 - '403': *658 - '429': *659 - '500': *660 + '400': *659 + '401': *660 + '403': *661 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98018,7 +98546,7 @@ paths: required: true content: application/json: - schema: &673 + schema: &676 type: object required: - schemas @@ -98111,9 +98639,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *669 + roles: *672 examples: - user: &674 + user: &677 summary: User value: schemas: @@ -98160,9 +98688,9 @@ paths: description: User has been created content: application/scim+json: - schema: *670 + schema: *673 examples: - user: &671 + user: &674 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98188,13 +98716,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: *671 - '400': *656 - '401': *657 - '403': *658 - '409': *665 - '429': *659 - '500': *660 + enterpriseOwner: *674 + '400': *659 + '401': *660 + '403': *661 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98211,7 +98739,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: - - &672 + - &675 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98224,15 +98752,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *670 + schema: *673 examples: - default: *671 - '400': *656 - '401': *657 - '403': *658 + default: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98254,30 +98782,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: - - *672 + - *675 - *38 requestBody: required: true content: application/json: - schema: *673 + schema: *676 examples: - user: *674 + user: *677 responses: '200': description: User was updated content: application/scim+json: - schema: *670 + schema: *673 examples: - user: *671 - '400': *656 - '401': *657 - '403': *658 + user: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98312,13 +98840,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: - - *672 + - *675 - *38 requestBody: required: true content: application/json: - schema: *675 + schema: *678 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98358,18 +98886,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *670 - examples: - userMultiValuedProperties: *671 - userSingleValuedProperties: *671 - disableUser: *671 - '400': *656 - '401': *657 - '403': *658 + schema: *673 + examples: + userMultiValuedProperties: *674 + userSingleValuedProperties: *674 + disableUser: *674 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '409': *665 - '429': *659 - '500': *660 + '409': *668 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98389,17 +98917,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: - - *672 + - *675 - *38 responses: '204': description: User was deleted, no content - '400': *656 - '401': *657 - '403': *658 + '400': *659 + '401': *660 + '403': *661 '404': *6 - '429': *659 - '500': *660 + '429': *662 + '500': *663 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98490,7 +99018,7 @@ paths: - 1 Resources: type: array - items: &676 + items: &679 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98737,22 +99265,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': *35 - '404': &677 + '404': &680 description: Resource not found content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '403': &678 + schema: *657 + '403': &681 description: Forbidden content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '400': *656 - '429': *659 + schema: *657 + '400': *659 + '429': *662 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98778,9 +99306,9 @@ paths: description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: &679 + default: &682 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98803,17 +99331,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': *35 - '404': *677 - '403': *678 - '500': *660 + '404': *680 + '403': *681 + '500': *663 '409': description: Conflict content: application/json: - schema: *654 + schema: *657 application/scim+json: - schema: *654 - '400': *656 + schema: *657 + '400': *659 requestBody: required: true content: @@ -98913,17 +99441,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 - '404': *677 - '403': *678 + default: *682 + '404': *680 + '403': *681 '304': *35 x-github: githubCloudOnly: true @@ -98947,18 +99475,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 + default: *682 '304': *35 - '404': *677 - '403': *678 + '404': *680 + '403': *681 requestBody: required: true content: @@ -99073,19 +99601,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *163 - - *672 + - *675 responses: '200': description: Response content: application/scim+json: - schema: *676 + schema: *679 examples: - default: *679 + default: *682 '304': *35 - '404': *677 - '403': *678 - '400': *656 + '404': *680 + '403': *681 + '400': *659 '429': description: Response content: @@ -99181,12 +99709,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *163 - - *672 + - *675 responses: '204': description: Response - '404': *677 - '403': *678 + '404': *680 + '403': *681 '304': *35 x-github: githubCloudOnly: true @@ -99320,7 +99848,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &680 + text_matches: &683 title: Search Result Text Matches type: array items: @@ -99484,7 +100012,7 @@ paths: enum: - author-date - committer-date - - &681 + - &684 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 @@ -99553,7 +100081,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 comment_count: type: integer message: @@ -99572,7 +100100,7 @@ paths: url: type: string format: uri - verification: *528 + verification: *531 required: - author - committer @@ -99587,7 +100115,7 @@ paths: committer: anyOf: - type: 'null' - - *418 + - *421 parents: type: array items: @@ -99604,7 +100132,7 @@ paths: type: number node_id: type: string - text_matches: *680 + text_matches: *683 required: - sha - node_id @@ -99787,7 +100315,7 @@ paths: - interactions - created - updated - - *681 + - *684 - *17 - *19 - name: advanced_search @@ -99911,7 +100439,7 @@ paths: milestone: anyOf: - type: 'null' - - *483 + - *486 comments: type: integer created_at: @@ -99925,7 +100453,7 @@ paths: - string - 'null' format: date-time - text_matches: *680 + text_matches: *683 pull_request: type: object properties: @@ -99974,7 +100502,7 @@ paths: timeline_url: type: string format: uri - type: *276 + type: *279 performed_via_github_app: anyOf: - type: 'null' @@ -100151,7 +100679,7 @@ paths: enum: - created - updated - - *681 + - *684 - *17 - *19 responses: @@ -100196,7 +100724,7 @@ paths: - 'null' score: type: number - text_matches: *680 + text_matches: *683 required: - id - node_id @@ -100282,7 +100810,7 @@ paths: - forks - help-wanted-issues - updated - - *681 + - *684 - *17 - *19 responses: @@ -100519,7 +101047,7 @@ paths: - admin - pull - push - text_matches: *680 + text_matches: *683 temp_clone_token: type: string allow_merge_commit: @@ -100828,7 +101356,7 @@ paths: - string - 'null' format: uri - text_matches: *680 + text_matches: *683 related: type: - array @@ -101023,7 +101551,7 @@ paths: - followers - repositories - joined - - *681 + - *684 - *17 - *19 responses: @@ -101133,7 +101661,7 @@ paths: type: - boolean - 'null' - text_matches: *680 + text_matches: *683 blog: type: - string @@ -101215,7 +101743,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &682 + - &685 name: team_id description: The unique identifier of the team. in: path @@ -101227,9 +101755,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 x-github: githubCloudOnly: false @@ -101256,7 +101784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *682 + - *685 requestBody: required: true content: @@ -101320,16 +101848,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '201': description: Response content: application/json: - schema: *342 + schema: *345 examples: - default: *343 + default: *346 '404': *6 '422': *15 '403': *27 @@ -101357,7 +101885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *682 + - *685 responses: '204': description: Response @@ -101388,7 +101916,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *682 + - *685 - *84 - *17 - *19 @@ -101399,9 +101927,9 @@ paths: application/json: schema: type: array - items: *344 + items: *347 examples: - default: *683 + default: *686 headers: Link: *37 x-github: @@ -101430,7 +101958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *682 + - *685 requestBody: required: true content: @@ -101464,9 +101992,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: triggersNotification: true githubCloudOnly: false @@ -101493,16 +102021,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 responses: '200': description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *345 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101527,8 +102055,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 requestBody: required: false content: @@ -101551,9 +102079,9 @@ paths: description: Response content: application/json: - schema: *344 + schema: *347 examples: - default: *684 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101578,8 +102106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *682 - - *346 + - *685 + - *349 responses: '204': description: Response @@ -101608,8 +102136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *682 - - *346 + - *685 + - *349 - *84 - *17 - *19 @@ -101620,9 +102148,9 @@ paths: application/json: schema: type: array - items: *347 + items: *350 examples: - default: *685 + default: *688 headers: Link: *37 x-github: @@ -101651,8 +102179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 + - *349 requestBody: required: true content: @@ -101674,9 +102202,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: triggersNotification: true githubCloudOnly: false @@ -101703,17 +102231,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *348 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101738,9 +102266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 requestBody: required: true content: @@ -101762,9 +102290,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *350 examples: - default: *686 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101789,9 +102317,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *682 - - *346 + - *685 - *349 + - *352 responses: '204': description: Response @@ -101820,9 +102348,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: - - *682 - - *346 + - *685 - *349 + - *352 - 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. @@ -101848,9 +102376,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -101879,9 +102407,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: - - *682 - - *346 + - *685 - *349 + - *352 requestBody: required: true content: @@ -101913,9 +102441,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101941,8 +102469,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: - - *682 - - *346 + - *685 + - *349 - 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. @@ -101968,9 +102496,9 @@ paths: application/json: schema: type: array - items: *350 + items: *353 examples: - default: *352 + default: *355 headers: Link: *37 x-github: @@ -101999,8 +102527,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: - - *682 - - *346 + - *685 + - *349 requestBody: required: true content: @@ -102032,9 +102560,9 @@ paths: description: Response content: application/json: - schema: *350 + schema: *353 examples: - default: *351 + default: *354 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102058,7 +102586,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102068,9 +102596,9 @@ paths: application/json: schema: type: array - items: *272 + items: *276 examples: - default: *273 + default: *277 headers: Link: *37 x-github: @@ -102096,7 +102624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *682 + - *685 - name: role description: Filters members returned by their role in the team. in: query @@ -102119,7 +102647,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '404': *6 @@ -102147,7 +102675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102184,7 +102712,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102224,7 +102752,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *682 + - *685 - *211 responses: '204': @@ -102261,16 +102789,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: - - *682 + - *685 - *211 responses: '200': description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-user-is-a-team-maintainer: *687 + response-if-user-is-a-team-maintainer: *690 '404': *6 x-github: githubCloudOnly: false @@ -102303,7 +102831,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: - - *682 + - *685 - *211 requestBody: required: false @@ -102329,9 +102857,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *361 examples: - response-if-users-membership-with-team-is-now-pending: *688 + response-if-users-membership-with-team-is-now-pending: *691 '403': description: Forbidden if team synchronization is set up '422': @@ -102365,7 +102893,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: - - *682 + - *685 - *211 responses: '204': @@ -102394,7 +102922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102404,9 +102932,9 @@ paths: application/json: schema: type: array - items: *359 + items: *362 examples: - default: *689 + default: *692 headers: Link: *37 '404': *6 @@ -102432,16 +102960,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: - - *682 - - *360 + - *685 + - *363 responses: '200': description: Response content: application/json: - schema: *359 + schema: *362 examples: - default: *690 + default: *693 '404': description: Not Found if project is not managed by this team x-github: @@ -102465,8 +102993,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: - - *682 - - *360 + - *685 + - *363 requestBody: required: false content: @@ -102533,8 +103061,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: - - *682 - - *360 + - *685 + - *363 responses: '204': description: Response @@ -102561,7 +103089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102573,7 +103101,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '404': *6 @@ -102603,15 +103131,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *691 + schema: *694 examples: alternative-response-with-extra-repository-information: value: @@ -102762,9 +103290,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 requestBody: required: false content: @@ -102814,9 +103342,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: - - *682 - - *361 - - *362 + - *685 + - *364 + - *365 responses: '204': description: Response @@ -102845,15 +103373,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: - - *682 + - *685 responses: '200': description: Response content: application/json: - schema: *363 + schema: *366 examples: - default: *364 + default: *367 '403': *27 '404': *6 x-github: @@ -102880,7 +103408,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: - - *682 + - *685 requestBody: required: true content: @@ -102941,7 +103469,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *366 examples: default: value: @@ -102972,7 +103500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *682 + - *685 - *17 - *19 responses: @@ -102982,9 +103510,9 @@ paths: application/json: schema: type: array - items: *275 + items: *220 examples: - response-if-child-teams-exist: *692 + response-if-child-teams-exist: *695 headers: Link: *37 '404': *6 @@ -103017,7 +103545,7 @@ paths: application/json: schema: oneOf: - - &694 + - &697 title: Private User description: Private User type: object @@ -103267,7 +103795,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *693 + - *696 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103427,7 +103955,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *697 examples: default: value: @@ -103506,7 +104034,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 '304': *35 '404': *6 '403': *27 @@ -103630,9 +104158,9 @@ paths: type: integer codespaces: type: array - items: *282 + items: *285 examples: - default: *283 + default: *286 '304': *35 '500': *95 '401': *23 @@ -103771,17 +104299,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -103825,7 +104353,7 @@ paths: type: integer secrets: type: array - items: &695 + items: &698 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103867,7 +104395,7 @@ paths: - visibility - selected_repositories_url examples: - default: *472 + default: *475 headers: Link: *37 x-github: @@ -103945,7 +104473,7 @@ paths: description: Response content: application/json: - schema: *695 + schema: *698 examples: default: value: @@ -104091,7 +104619,7 @@ paths: type: array items: *189 examples: - default: *696 + default: *699 '401': *23 '403': *27 '404': *6 @@ -104235,15 +104763,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '304': *35 '500': *95 '401': *23 @@ -104269,7 +104797,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: - - *284 + - *287 requestBody: required: false content: @@ -104299,9 +104827,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '401': *23 '403': *27 '404': *6 @@ -104323,7 +104851,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: - - *284 + - *287 responses: '202': *93 '304': *35 @@ -104352,13 +104880,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: - - *284 + - *287 responses: '202': description: Response content: application/json: - schema: &697 + schema: &700 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104411,7 +104939,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &698 + default: &701 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104443,7 +104971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *284 + - *287 - name: export_id in: path required: true @@ -104456,9 +104984,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *700 examples: - default: *698 + default: *701 '404': *6 x-github: githubCloudOnly: false @@ -104479,7 +105007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *284 + - *287 responses: '200': description: Response @@ -104495,9 +105023,9 @@ paths: type: integer machines: type: array - items: *471 + items: *474 examples: - default: *699 + default: *702 '304': *35 '500': *95 '401': *23 @@ -104526,7 +105054,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: - - *284 + - *287 requestBody: required: true content: @@ -104582,11 +105110,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *374 + repository: *377 machine: anyOf: - type: 'null' - - *471 + - *474 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -105383,15 +105911,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '304': *35 '500': *95 '400': *14 @@ -105423,15 +105951,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: - - *284 + - *287 responses: '200': description: Response content: application/json: - schema: *282 + schema: *285 examples: - default: *470 + default: *473 '500': *95 '401': *23 '403': *27 @@ -105461,9 +105989,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: &712 + default: &715 value: - id: 197 name: hello_docker @@ -105564,7 +106092,7 @@ paths: application/json: schema: type: array - items: &700 + items: &703 title: Email description: Email type: object @@ -105634,9 +106162,9 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: - default: &714 + default: &717 value: - email: octocat@github.com verified: true @@ -105713,7 +106241,7 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: default: value: @@ -105825,7 +106353,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '304': *35 @@ -105858,7 +106386,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 '304': *35 @@ -105971,7 +106499,7 @@ paths: application/json: schema: type: array - items: &701 + items: &704 title: GPG Key description: A unique encryption key type: object @@ -106116,7 +106644,7 @@ paths: - subkeys - revoked examples: - default: &725 + default: &728 value: - id: 3 name: Octocat's GPG Key @@ -106201,9 +106729,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *704 examples: - default: &702 + default: &705 value: id: 3 name: Octocat's GPG Key @@ -106260,7 +106788,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: - - &703 + - &706 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106272,9 +106800,9 @@ paths: description: Response content: application/json: - schema: *701 + schema: *704 examples: - default: *702 + default: *705 '404': *6 '304': *35 '403': *27 @@ -106297,7 +106825,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: - - *703 + - *706 responses: '204': description: Response @@ -106488,7 +107016,7 @@ paths: type: array items: *61 examples: - default: *704 + default: *707 headers: Link: *37 '404': *6 @@ -106573,12 +107101,12 @@ paths: application/json: schema: anyOf: - - *270 + - *274 - type: object properties: {} additionalProperties: false examples: - default: *271 + default: *275 '204': description: Response when there are no restrictions x-github: @@ -106602,7 +107130,7 @@ paths: required: true content: application/json: - schema: *539 + schema: *542 examples: default: value: @@ -106613,7 +107141,7 @@ paths: description: Response content: application/json: - schema: *270 + schema: *274 examples: default: value: @@ -106694,7 +107222,7 @@ paths: - closed - all default: open - - *279 + - *282 - name: sort description: What to sort results by. in: query @@ -106719,7 +107247,7 @@ paths: type: array items: *147 examples: - default: *280 + default: *283 headers: Link: *37 '404': *6 @@ -106752,7 +107280,7 @@ paths: application/json: schema: type: array - items: &705 + items: &708 title: Key description: Key type: object @@ -106850,9 +107378,9 @@ paths: description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: &706 + default: &709 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106885,15 +107413,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: - - *566 + - *569 responses: '200': description: Response content: application/json: - schema: *705 + schema: *708 examples: - default: *706 + default: *709 '404': *6 '304': *35 '403': *27 @@ -106916,7 +107444,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: - - *566 + - *569 responses: '204': description: Response @@ -106949,7 +107477,7 @@ paths: application/json: schema: type: array - items: &707 + items: &710 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107028,7 +107556,7 @@ paths: - account - plan examples: - default: &708 + default: &711 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107090,9 +107618,9 @@ paths: application/json: schema: type: array - items: *707 + items: *710 examples: - default: *708 + default: *711 headers: Link: *37 '304': *35 @@ -107132,7 +107660,7 @@ paths: application/json: schema: type: array - items: *285 + items: *288 examples: default: value: @@ -107240,7 +107768,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -107323,7 +107851,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *288 examples: default: value: @@ -107391,7 +107919,7 @@ paths: application/json: schema: type: array - items: *287 + items: *290 examples: default: value: @@ -107653,7 +108181,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -107833,7 +108361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *288 + - *291 - name: exclude in: query required: false @@ -107846,7 +108374,7 @@ paths: description: Response content: application/json: - schema: *287 + schema: *290 examples: default: value: @@ -108040,7 +108568,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *288 + - *291 responses: '302': description: Response @@ -108066,7 +108594,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *288 + - *291 responses: '204': description: Response @@ -108095,8 +108623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *288 - - *709 + - *291 + - *712 responses: '204': description: Response @@ -108120,7 +108648,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *288 + - *291 - *17 - *19 responses: @@ -108132,7 +108660,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '404': *6 @@ -108169,7 +108697,7 @@ paths: type: array items: *56 examples: - default: *710 + default: *713 headers: Link: *37 '304': *35 @@ -108211,7 +108739,7 @@ paths: - docker - nuget - container - - *711 + - *714 - *19 - *17 responses: @@ -108221,10 +108749,10 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 - '400': *713 + default: *715 + '400': *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108244,16 +108772,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: - - *295 - - *296 + - *298 + - *299 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: &726 + default: &729 value: id: 40201 name: octo-name @@ -108366,8 +108894,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: - - *295 - - *296 + - *298 + - *299 responses: '204': description: Response @@ -108397,8 +108925,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: - - *295 - - *296 + - *298 + - *299 - name: token description: package token schema: @@ -108430,8 +108958,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: - - *295 - - *296 + - *298 + - *299 - *19 - *17 - name: state @@ -108451,7 +108979,7 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: default: value: @@ -108500,15 +109028,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -108544,9 +109072,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '204': description: Response @@ -108576,9 +109104,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: - - *295 - - *296 - *298 + - *299 + - *301 responses: '204': description: Response @@ -108636,7 +109164,7 @@ paths: description: Response content: application/json: - schema: *309 + schema: *312 examples: default: value: @@ -108708,9 +109236,9 @@ paths: application/json: schema: type: array - items: *700 + items: *703 examples: - default: *714 + default: *717 headers: Link: *37 '304': *35 @@ -108823,7 +109351,7 @@ paths: type: array items: *61 examples: - default: &721 + default: &724 summary: Default response value: - id: 1296269 @@ -109141,9 +109669,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *377 examples: - default: *376 + default: *379 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109181,9 +109709,9 @@ paths: application/json: schema: type: array - items: *541 + items: *544 examples: - default: *715 + default: *718 headers: Link: *37 '304': *35 @@ -109206,7 +109734,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *274 + - *278 responses: '204': description: Response @@ -109229,7 +109757,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *274 + - *278 responses: '204': description: Response @@ -109262,7 +109790,7 @@ paths: application/json: schema: type: array - items: &716 + items: &719 title: Social account description: Social media account type: object @@ -109279,7 +109807,7 @@ paths: - provider - url examples: - default: &717 + default: &720 value: - provider: twitter url: https://twitter.com/github @@ -109342,9 +109870,9 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: - default: *717 + default: *720 '422': *15 '304': *35 '404': *6 @@ -109432,7 +109960,7 @@ paths: application/json: schema: type: array - items: &718 + items: &721 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109452,7 +109980,7 @@ paths: - title - created_at examples: - default: &727 + default: &730 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109519,9 +110047,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *721 examples: - default: &719 + default: &722 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109552,7 +110080,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: - - &720 + - &723 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109564,9 +110092,9 @@ paths: description: Response content: application/json: - schema: *718 + schema: *721 examples: - default: *719 + default: *722 '404': *6 '304': *35 '403': *27 @@ -109589,7 +110117,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: - - *720 + - *723 responses: '204': description: Response @@ -109618,7 +110146,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: - - &728 + - &731 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 @@ -109643,11 +110171,11 @@ paths: type: array items: *61 examples: - default-response: *721 + default-response: *724 application/vnd.github.v3.star+json: schema: type: array - items: &729 + items: &732 title: Starred Repository description: Starred Repository type: object @@ -109803,8 +110331,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response if this repository is starred by you @@ -109832,8 +110360,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -109857,8 +110385,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: - - *361 - - *362 + - *364 + - *365 responses: '204': description: Response @@ -109893,7 +110421,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 '304': *35 @@ -109930,7 +110458,7 @@ paths: application/json: schema: type: array - items: *342 + items: *345 examples: default: value: @@ -110016,10 +110544,10 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *697 + - *696 examples: - default-response: &723 + default-response: &726 summary: Default response value: login: octocat @@ -110054,7 +110582,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &724 + response-with-git-hub-plan-information: &727 summary: Response with GitHub plan information value: login: octocat @@ -110114,7 +110642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *722 + - *725 - *17 responses: '200': @@ -110125,7 +110653,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: example: ; rel="next" @@ -110163,11 +110691,11 @@ paths: application/json: schema: oneOf: - - *694 - - *693 + - *697 + - *696 examples: - default-response: *723 - response-with-git-hub-plan-information: *724 + default-response: *726 + response-with-git-hub-plan-information: *727 '404': *6 x-github: githubCloudOnly: false @@ -110243,7 +110771,7 @@ paths: bundle_url: type: string examples: - default: *414 + default: *417 '201': description: Response content: @@ -110282,9 +110810,9 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 + default: *715 '403': *27 '401': *23 x-github: @@ -110567,7 +111095,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -110598,7 +111126,7 @@ paths: type: array items: *4 examples: - default: *281 + default: *284 headers: Link: *37 x-github: @@ -110688,9 +111216,9 @@ paths: application/json: schema: type: array - items: *701 + items: *704 examples: - default: *725 + default: *728 headers: Link: *37 x-github: @@ -110794,7 +111322,7 @@ paths: application/json: schema: *20 examples: - default: *538 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110872,7 +111400,7 @@ paths: type: array items: *56 examples: - default: *710 + default: *713 headers: Link: *37 x-github: @@ -110911,7 +111439,7 @@ paths: - docker - nuget - container - - *711 + - *714 - *211 - *19 - *17 @@ -110922,12 +111450,12 @@ paths: application/json: schema: type: array - items: *293 + items: *296 examples: - default: *712 + default: *715 '403': *27 '401': *23 - '400': *713 + '400': *716 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110947,17 +111475,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 responses: '200': description: Response content: application/json: - schema: *293 + schema: *296 examples: - default: *726 + default: *729 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110978,8 +111506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 responses: '204': @@ -111012,8 +111540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *295 - - *296 + - *298 + - *299 - *211 - name: token description: package token @@ -111046,8 +111574,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: - - *295 - - *296 + - *298 + - *299 - *211 responses: '200': @@ -111056,7 +111584,7 @@ paths: application/json: schema: type: array - items: *297 + items: *300 examples: default: value: @@ -111114,16 +111642,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: - - *295 - - *296 - *298 + - *299 + - *301 - *211 responses: '200': description: Response content: application/json: - schema: *297 + schema: *300 examples: default: value: @@ -111158,10 +111686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *295 - - *296 - - *211 - *298 + - *299 + - *211 + - *301 responses: '204': description: Response @@ -111193,10 +111721,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *295 - - *296 - - *211 - *298 + - *299 + - *211 + - *301 responses: '204': description: Response @@ -111243,7 +111771,7 @@ paths: application/json: schema: type: array - items: *309 + items: *312 examples: default: value: @@ -111526,7 +112054,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -111556,9 +112084,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *332 examples: - default: *330 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111586,9 +112114,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *337 examples: - default: *335 + default: *338 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111616,9 +112144,9 @@ paths: description: Response content: application/json: - schema: *336 + schema: *339 examples: - default: *337 + default: *340 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111646,9 +112174,9 @@ paths: application/json: schema: type: array - items: *716 + items: *719 examples: - default: *717 + default: *720 headers: Link: *37 x-github: @@ -111678,9 +112206,9 @@ paths: application/json: schema: type: array - items: *718 + items: *721 examples: - default: *727 + default: *730 headers: Link: *37 x-github: @@ -111705,7 +112233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *211 - - *728 + - *731 - *84 - *17 - *19 @@ -111717,11 +112245,11 @@ paths: schema: anyOf: - type: array - items: *729 + items: *732 - type: array items: *61 examples: - default-response: *721 + default-response: *724 headers: Link: *37 x-github: @@ -111752,7 +112280,7 @@ paths: type: array items: *189 examples: - default: *299 + default: *302 headers: Link: *37 x-github: @@ -111881,7 +112409,7 @@ webhooks: type: string enum: - disabled - enterprise: &730 + enterprise: &733 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -111950,7 +112478,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &731 + installation: &734 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -111971,7 +112499,7 @@ webhooks: required: - id - node_id - organization: &732 + organization: &735 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112044,7 +112572,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &733 + repository: &736 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -112957,10 +113485,10 @@ webhooks: type: string enum: - enabled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -113036,11 +113564,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: &734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: &737 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) @@ -113263,11 +113791,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: *734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: *737 sender: *4 required: - action @@ -113455,11 +113983,11 @@ webhooks: - everyone required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - rule: *734 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + rule: *737 sender: *4 required: - action @@ -113530,7 +114058,7 @@ webhooks: required: true content: application/json: - schema: &737 + schema: &740 title: Exemption request cancellation event type: object properties: @@ -113538,11 +114066,11 @@ webhooks: type: string enum: - cancelled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: &735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: &738 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -113772,7 +114300,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &736 + items: &739 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -113882,7 +114410,7 @@ webhooks: required: true content: application/json: - schema: &738 + schema: &741 title: Exemption request completed event type: object properties: @@ -113890,11 +114418,11 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 sender: *4 required: - action @@ -113964,7 +114492,7 @@ webhooks: required: true content: application/json: - schema: &739 + schema: &742 title: Exemption request created event type: object properties: @@ -113972,11 +114500,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 sender: *4 required: - action @@ -114046,7 +114574,7 @@ webhooks: required: true content: application/json: - schema: &740 + schema: &743 title: Exemption response dismissed event type: object properties: @@ -114054,12 +114582,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 - exemption_response: *736 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 + exemption_response: *739 sender: *4 required: - action @@ -114131,7 +114659,7 @@ webhooks: required: true content: application/json: - schema: &741 + schema: &744 title: Exemption response submitted event type: object properties: @@ -114139,12 +114667,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - exemption_request: *735 - exemption_response: *736 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + exemption_request: *738 + exemption_response: *739 sender: *4 required: - action @@ -114217,7 +114745,7 @@ webhooks: required: true content: application/json: - schema: *737 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114284,7 +114812,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *741 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114351,7 +114879,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114418,7 +114946,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114486,7 +115014,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114564,7 +115092,7 @@ webhooks: type: string enum: - completed - check_run: &743 + check_run: &746 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114632,7 +115160,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *433 + items: *436 repository: *189 status: type: string @@ -114677,7 +115205,7 @@ webhooks: - examples: - neutral - deployment: *742 + deployment: *745 details_url: type: string examples: @@ -114737,7 +115265,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *433 + items: *436 started_at: type: string format: date-time @@ -114775,9 +115303,9 @@ webhooks: - output - app - pull_requests - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -115170,10 +115698,10 @@ webhooks: type: string enum: - created - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -115569,10 +116097,10 @@ webhooks: type: string enum: - requested_action - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 requested_action: description: The action requested by the user. type: object @@ -115977,10 +116505,10 @@ webhooks: type: string enum: - rerequested - check_run: *743 - installation: *731 - organization: *732 - repository: *733 + check_run: *746 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - check_run @@ -116972,10 +117500,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -117660,10 +118188,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -118342,10 +118870,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -118511,7 +119039,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -118663,20 +119191,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &744 + commit_oid: &747 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: *730 - installation: *731 - organization: *732 - ref: &745 + enterprise: *733 + installation: *734 + organization: *735 + ref: &748 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: *733 + repository: *736 sender: *4 required: - action @@ -118840,7 +119368,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119081,12 +119609,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119184,7 +119712,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119366,12 +119894,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119537,7 +120065,7 @@ webhooks: required: - login - id - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -119714,12 +120242,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -119819,7 +120347,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119999,9 +120527,9 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -120009,7 +120537,7 @@ webhooks: type: - string - 'null' - repository: *733 + repository: *736 sender: *4 required: - action @@ -120105,7 +120633,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *445 + dismissed_comment: *448 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120252,12 +120780,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *744 - enterprise: *730 - installation: *731 - organization: *732 - ref: *745 - repository: *733 + commit_oid: *747 + enterprise: *733 + installation: *734 + organization: *735 + ref: *748 + repository: *736 sender: *4 required: - action @@ -120519,10 +121047,10 @@ webhooks: - updated_at - author_association - body - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -120603,18 +121131,18 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *732 - pusher_type: &746 + organization: *735 + pusher_type: &749 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &747 + ref: &750 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120624,7 +121152,7 @@ webhooks: enum: - tag - branch - repository: *733 + repository: *736 sender: *4 required: - ref @@ -120707,9 +121235,9 @@ webhooks: enum: - created definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120794,9 +121322,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120874,9 +121402,9 @@ webhooks: enum: - promote_to_enterprise definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -120954,9 +121482,9 @@ webhooks: enum: - updated definition: *110 - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -121033,19 +121561,19 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - repository: *733 - organization: *732 + enterprise: *733 + installation: *734 + repository: *736 + organization: *735 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *311 + items: *314 old_property_values: type: array description: The old custom property values for the repository. - items: *311 + items: *314 required: - action - repository @@ -121121,18 +121649,18 @@ webhooks: title: delete event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - pusher_type: *746 - ref: *747 + enterprise: *733 + installation: *734 + organization: *735 + pusher_type: *749 + ref: *750 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *733 + repository: *736 sender: *4 required: - ref @@ -121216,11 +121744,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121304,11 +121832,11 @@ webhooks: type: string enum: - auto_reopened - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121392,11 +121920,11 @@ webhooks: type: string enum: - created - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121478,11 +122006,11 @@ webhooks: type: string enum: - dismissed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121564,11 +122092,11 @@ webhooks: type: string enum: - fixed - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121651,11 +122179,11 @@ webhooks: type: string enum: - reintroduced - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121737,11 +122265,11 @@ webhooks: type: string enum: - reopened - alert: *497 - installation: *731 - organization: *732 - enterprise: *730 - repository: *733 + alert: *500 + installation: *734 + organization: *735 + enterprise: *733 + repository: *736 sender: *4 required: - action @@ -121818,9 +122346,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - key: &748 + enterprise: *733 + installation: *734 + key: &751 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121858,8 +122386,8 @@ webhooks: - verified - created_at - read_only - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -121936,11 +122464,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - key: *748 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + key: *751 + organization: *735 + repository: *736 sender: *4 required: - action @@ -122512,12 +123040,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: &752 + workflow: &755 title: Workflow type: - object @@ -123255,13 +123783,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *503 + deployment: *506 pull_requests: type: array - items: *585 - repository: *733 - organization: *732 - installation: *731 + items: *588 + repository: *736 + organization: *735 + installation: *734 sender: *4 responses: '200': @@ -123332,7 +123860,7 @@ webhooks: type: string enum: - approved - approver: &749 + approver: &752 type: object properties: avatar_url: @@ -123375,11 +123903,11 @@ webhooks: type: string comment: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - reviewers: &750 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + reviewers: &753 type: array items: type: object @@ -123460,7 +123988,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &751 + workflow_job_run: &754 type: object properties: conclusion: @@ -124206,18 +124734,18 @@ webhooks: type: string enum: - rejected - approver: *749 + approver: *752 comment: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - reviewers: *750 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + reviewers: *753 sender: *4 since: type: string - workflow_job_run: *751 + workflow_job_run: *754 workflow_job_runs: type: array items: @@ -124934,13 +125462,13 @@ webhooks: type: string enum: - requested - enterprise: *730 + enterprise: *733 environment: type: string - installation: *731 - organization: *732 - repository: *733 - requestor: &757 + installation: *734 + organization: *735 + repository: *736 + requestor: &760 title: User type: - object @@ -126883,12 +127411,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Deployment Workflow Run type: @@ -127579,7 +128107,7 @@ webhooks: type: string enum: - answered - answer: &755 + answer: &758 type: object properties: author_association: @@ -127739,7 +128267,7 @@ webhooks: - created_at - updated_at - body - discussion: &753 + discussion: &756 title: Discussion description: A Discussion in a repository. type: object @@ -128035,7 +128563,7 @@ webhooks: - id labels: type: array - items: *548 + items: *551 required: - repository_url - category @@ -128057,10 +128585,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128187,11 +128715,11 @@ webhooks: - from required: - category - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128274,11 +128802,11 @@ webhooks: type: string enum: - closed - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128360,7 +128888,7 @@ webhooks: type: string enum: - created - comment: &754 + comment: &757 type: object properties: author_association: @@ -128520,11 +129048,11 @@ webhooks: - updated_at - body - reactions - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128607,12 +129135,12 @@ webhooks: type: string enum: - deleted - comment: *754 - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + comment: *757 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128707,12 +129235,12 @@ webhooks: - from required: - body - comment: *754 - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + comment: *757 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128796,11 +129324,11 @@ webhooks: type: string enum: - created - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128882,11 +129410,11 @@ webhooks: type: string enum: - deleted - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -128986,11 +129514,11 @@ webhooks: type: string required: - from - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129072,10 +129600,10 @@ webhooks: type: string enum: - labeled - discussion: *753 - enterprise: *730 - installation: *731 - label: &756 + discussion: *756 + enterprise: *733 + installation: *734 + label: &759 title: Label type: object properties: @@ -129108,8 +129636,8 @@ webhooks: - color - default - description - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129192,11 +129720,11 @@ webhooks: type: string enum: - locked - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129278,11 +129806,11 @@ webhooks: type: string enum: - pinned - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129364,11 +129892,11 @@ webhooks: type: string enum: - reopened - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129453,16 +129981,16 @@ webhooks: changes: type: object properties: - new_discussion: *753 - new_repository: *733 + new_discussion: *756 + new_repository: *736 required: - new_discussion - new_repository - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129545,10 +130073,10 @@ webhooks: type: string enum: - unanswered - discussion: *753 - old_answer: *755 - organization: *732 - repository: *733 + discussion: *756 + old_answer: *758 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129630,12 +130158,12 @@ webhooks: type: string enum: - unlabeled - discussion: *753 - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129718,11 +130246,11 @@ webhooks: type: string enum: - unlocked - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129804,11 +130332,11 @@ webhooks: type: string enum: - unpinned - discussion: *753 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + discussion: *756 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -129880,7 +130408,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129946,7 +130474,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130012,7 +130540,7 @@ webhooks: required: true content: application/json: - schema: *737 + schema: *740 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130078,7 +130606,7 @@ webhooks: required: true content: application/json: - schema: *738 + schema: *741 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130144,7 +130672,7 @@ webhooks: required: true content: application/json: - schema: *739 + schema: *742 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130210,7 +130738,7 @@ webhooks: required: true content: application/json: - schema: *740 + schema: *743 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130276,7 +130804,7 @@ webhooks: required: true content: application/json: - schema: *741 + schema: *744 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130343,7 +130871,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *730 + enterprise: *733 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -131021,9 +131549,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - forkee @@ -131169,9 +131697,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pages: description: The pages that were updated. type: array @@ -131209,7 +131737,7 @@ webhooks: - action - sha - html_url - repository: *733 + repository: *736 sender: *4 required: - pages @@ -131285,10 +131813,10 @@ webhooks: type: string enum: - created - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: &758 + organization: *735 + repositories: &761 description: An array of repository objects that the installation can access. type: array @@ -131314,8 +131842,8 @@ webhooks: - name - full_name - private - repository: *733 - requester: *757 + repository: *736 + requester: *760 sender: *4 required: - action @@ -131390,11 +131918,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131471,11 +131999,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131552,10 +132080,10 @@ webhooks: type: string enum: - added - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories_added: &759 + organization: *735 + repositories_added: &762 description: An array of repository objects, which were added to the installation. type: array @@ -131601,15 +132129,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *733 - repository_selection: &760 + repository: *736 + repository_selection: &763 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *757 + requester: *760 sender: *4 required: - action @@ -131688,10 +132216,10 @@ webhooks: type: string enum: - removed - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories_added: *759 + organization: *735 + repositories_added: *762 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131718,9 +132246,9 @@ webhooks: - name - full_name - private - repository: *733 - repository_selection: *760 - requester: *757 + repository: *736 + repository_selection: *763 + requester: *760 sender: *4 required: - action @@ -131799,11 +132327,11 @@ webhooks: type: string enum: - suspend - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -131986,10 +132514,10 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 target_type: type: string @@ -132068,11 +132596,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *730 + enterprise: *733 installation: *20 - organization: *732 - repositories: *758 - repository: *733 + organization: *735 + repositories: *761 + repository: *736 requester: type: - 'null' @@ -132320,8 +132848,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133168,7 +133696,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -133512,8 +134040,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -133593,7 +134121,7 @@ webhooks: type: string enum: - deleted - comment: &761 + comment: &764 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133760,8 +134288,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134604,7 +135132,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -134950,8 +135478,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -135031,7 +135559,7 @@ webhooks: type: string enum: - edited - changes: &786 + changes: &789 description: The changes to the comment. type: object properties: @@ -135043,9 +135571,9 @@ webhooks: type: string required: - from - comment: *761 - enterprise: *730 - installation: *731 + comment: *764 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135891,7 +136419,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -136235,8 +136763,8 @@ webhooks: - state - locked - assignee - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -136318,10 +136846,10 @@ webhooks: type: string enum: - assigned - assignee: *757 - enterprise: *730 - installation: *731 - issue: &764 + assignee: *760 + enterprise: *733 + installation: *734 + issue: &767 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137163,7 +137691,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -137266,8 +137794,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -137347,8 +137875,8 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138195,7 +138723,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -138441,8 +138969,8 @@ webhooks: required: - state - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -138521,8 +139049,8 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139358,7 +139886,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -139460,8 +139988,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -139540,8 +140068,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140402,7 +140930,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -140483,7 +141011,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &762 + milestone: &765 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140626,8 +141154,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -140726,8 +141254,8 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141566,7 +142094,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -141672,9 +142200,9 @@ webhooks: - active_lock_reason - body - reactions - label: *756 - organization: *732 - repository: *733 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -141754,8 +142282,8 @@ webhooks: type: string enum: - labeled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142593,7 +143121,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -142699,9 +143227,9 @@ webhooks: - active_lock_reason - body - reactions - label: *756 - organization: *732 - repository: *733 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -142781,8 +143309,8 @@ webhooks: type: string enum: - locked - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143645,7 +144173,7 @@ webhooks: timeline_url: type: string format: uri - type: *276 + type: *279 title: description: Title of the issue type: string @@ -143728,8 +144256,8 @@ webhooks: format: uri user_view_type: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -143808,8 +144336,8 @@ webhooks: type: string enum: - milestoned - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144669,7 +145197,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -144749,9 +145277,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *762 - organization: *732 - repository: *733 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -146251,8 +146779,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147094,7 +147622,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -147196,8 +147724,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -147277,9 +147805,9 @@ webhooks: type: string enum: - pinned - enterprise: *730 - installation: *731 - issue: &763 + enterprise: *733 + installation: *734 + issue: &766 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148115,7 +148643,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -148217,8 +148745,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -148297,8 +148825,8 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149242,9 +149770,9 @@ webhooks: format: uri user_view_type: type: string - type: *276 - organization: *732 - repository: *733 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150163,7 +150691,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -150745,11 +151273,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *730 - installation: *731 - issue: *763 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *766 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150829,12 +151357,12 @@ webhooks: type: string enum: - typed - enterprise: *730 - installation: *731 - issue: *764 - type: *276 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -150915,7 +151443,7 @@ webhooks: type: string enum: - unassigned - assignee: &789 + assignee: &792 title: User type: - object @@ -150987,11 +151515,11 @@ webhooks: required: - login - id - enterprise: *730 - installation: *731 - issue: *764 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + organization: *735 + repository: *736 sender: *4 required: - action @@ -151070,12 +151598,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *730 - installation: *731 - issue: *764 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -151155,8 +151683,8 @@ webhooks: type: string enum: - unlocked - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152020,7 +152548,7 @@ webhooks: title: description: Title of the issue type: string - type: *276 + type: *279 updated_at: type: string format: date-time @@ -152100,8 +152628,8 @@ webhooks: format: uri user_view_type: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152181,11 +152709,11 @@ webhooks: type: string enum: - unpinned - enterprise: *730 - installation: *731 - issue: *763 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *766 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152264,12 +152792,12 @@ webhooks: type: string enum: - untyped - enterprise: *730 - installation: *731 - issue: *764 - type: *276 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + issue: *767 + type: *279 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152349,11 +152877,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152431,11 +152959,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152545,11 +153073,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - label: *756 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + label: *759 + organization: *735 + repository: *736 sender: *4 required: - action @@ -152631,9 +153159,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: &765 + enterprise: *733 + installation: *734 + marketplace_purchase: &768 title: Marketplace Purchase type: object required: @@ -152721,8 +153249,8 @@ webhooks: type: integer unit_count: type: integer - organization: *732 - previous_marketplace_purchase: &766 + organization: *735 + previous_marketplace_purchase: &769 title: Marketplace Purchase type: object properties: @@ -152806,7 +153334,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -152886,10 +153414,10 @@ webhooks: - changed effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152977,7 +153505,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -153059,10 +153587,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -153148,7 +153676,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *733 + repository: *736 sender: *4 required: - action @@ -153229,8 +153757,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 marketplace_purchase: title: Marketplace Purchase type: object @@ -153316,9 +153844,9 @@ webhooks: type: integer unit_count: type: integer - organization: *732 - previous_marketplace_purchase: *766 - repository: *733 + organization: *735 + previous_marketplace_purchase: *769 + repository: *736 sender: *4 required: - action @@ -153398,12 +153926,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *730 - installation: *731 - marketplace_purchase: *765 - organization: *732 - previous_marketplace_purchase: *766 - repository: *733 + enterprise: *733 + installation: *734 + marketplace_purchase: *768 + organization: *735 + previous_marketplace_purchase: *769 + repository: *736 sender: *4 required: - action @@ -153505,11 +154033,11 @@ webhooks: type: string required: - to - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153611,11 +154139,11 @@ webhooks: type: - string - 'null' - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153694,11 +154222,11 @@ webhooks: type: string enum: - removed - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 sender: *4 required: - action @@ -153776,11 +154304,11 @@ webhooks: type: string enum: - added - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153858,7 +154386,7 @@ webhooks: required: - login - id - team: &767 + team: &770 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -154051,11 +154579,11 @@ webhooks: type: string enum: - removed - enterprise: *730 - installation: *731 - member: *757 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + member: *760 + organization: *735 + repository: *736 scope: description: The scope of the membership. Currently, can only be `team`. @@ -154134,7 +154662,7 @@ webhooks: required: - login - id - team: *767 + team: *770 required: - action - scope @@ -154216,8 +154744,8 @@ webhooks: type: string enum: - checks_requested - installation: *731 - merge_group: &768 + installation: *734 + merge_group: &771 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -154236,15 +154764,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *437 + head_commit: *440 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154330,10 +154858,10 @@ webhooks: - merged - invalidated - dequeued - installation: *731 - merge_group: *768 - organization: *732 - repository: *733 + installation: *734 + merge_group: *771 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154406,7 +154934,7 @@ webhooks: type: string enum: - deleted - enterprise: *730 + enterprise: *733 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -154514,12 +155042,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *731 - organization: *732 + installation: *734 + organization: *735 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -154599,11 +155127,11 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154682,9 +155210,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - milestone: &769 + enterprise: *733 + installation: *734 + milestone: &772 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154826,8 +155354,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -154906,11 +155434,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155020,11 +155548,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - milestone: *762 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *765 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155104,11 +155632,11 @@ webhooks: type: string enum: - opened - enterprise: *730 - installation: *731 - milestone: *769 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + milestone: *772 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155187,11 +155715,11 @@ webhooks: type: string enum: - blocked - blocked_user: *757 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + blocked_user: *760 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155270,11 +155798,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *757 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + blocked_user: *760 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155353,9 +155881,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - membership: &770 + enterprise: *733 + installation: *734 + membership: &773 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -155449,8 +155977,8 @@ webhooks: - role - organization_url - user - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155528,11 +156056,11 @@ webhooks: type: string enum: - member_added - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155611,8 +156139,8 @@ webhooks: type: string enum: - member_invited - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155734,10 +156262,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 - user: *757 + user: *760 required: - action - invitation @@ -155815,11 +156343,11 @@ webhooks: type: string enum: - member_removed - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155906,11 +156434,11 @@ webhooks: properties: from: type: string - enterprise: *730 - installation: *731 - membership: *770 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + membership: *773 + organization: *735 + repository: *736 sender: *4 required: - action @@ -155986,9 +156514,9 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 package: description: Information about the package. type: object @@ -156511,7 +157039,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &771 + items: &774 title: Ruby Gems metadata type: object properties: @@ -156608,7 +157136,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -156684,9 +157212,9 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 package: description: Information about the package. type: object @@ -157048,7 +157576,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *774 source_url: type: string format: uri @@ -157119,7 +157647,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -157300,12 +157828,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *730 + enterprise: *733 id: type: integer - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - id @@ -157382,7 +157910,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &772 + personal_access_token_request: &775 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -157532,10 +158060,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *730 - organization: *732 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157612,11 +158140,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *772 - enterprise: *730 - organization: *732 + personal_access_token_request: *775 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157692,11 +158220,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *772 - enterprise: *730 - organization: *732 + personal_access_token_request: *775 + enterprise: *733 + organization: *735 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157771,11 +158299,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *772 - organization: *732 - enterprise: *730 + personal_access_token_request: *775 + organization: *735 + enterprise: *733 sender: *4 - installation: *731 + installation: *734 required: - action - personal_access_token_request @@ -157880,7 +158408,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *773 + last_response: *776 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157912,8 +158440,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 zen: description: Random string of GitHub zen. @@ -158158,10 +158686,10 @@ webhooks: - from required: - note - enterprise: *730 - installation: *731 - organization: *732 - project_card: &774 + enterprise: *733 + installation: *734 + organization: *735 + project_card: &777 title: Project Card type: object properties: @@ -158284,7 +158812,7 @@ webhooks: - creator - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -158365,11 +158893,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project_card: *774 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_card: *777 + repository: *736 sender: *4 required: - action @@ -158449,9 +158977,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 project_card: title: Project Card type: object @@ -158581,7 +159109,7 @@ webhooks: repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -158675,11 +159203,11 @@ webhooks: - from required: - note - enterprise: *730 - installation: *731 - organization: *732 - project_card: *774 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_card: *777 + repository: *736 sender: *4 required: - action @@ -158773,9 +159301,9 @@ webhooks: - from required: - column_id - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 project_card: allOf: - title: Project Card @@ -158972,7 +159500,7 @@ webhooks: type: string required: - after_id - repository: *733 + repository: *736 sender: *4 required: - action @@ -159052,10 +159580,10 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - organization: *732 - project: &776 + enterprise: *733 + installation: *734 + organization: *735 + project: &779 title: Project type: object properties: @@ -159182,7 +159710,7 @@ webhooks: - creator - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -159262,10 +159790,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project_column: &775 + enterprise: *733 + installation: *734 + organization: *735 + project_column: &778 title: Project Column type: object properties: @@ -159305,7 +159833,7 @@ webhooks: - name - created_at - updated_at - repository: *733 + repository: *736 sender: *4 required: - action @@ -159384,14 +159912,14 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -159480,11 +160008,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 + repository: *736 sender: *4 required: - action @@ -159564,11 +160092,11 @@ webhooks: type: string enum: - moved - enterprise: *730 - installation: *731 - organization: *732 - project_column: *775 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project_column: *778 + repository: *736 sender: *4 required: - action @@ -159648,11 +160176,11 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -159732,14 +160260,14 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - project: *776 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 repository: anyOf: - type: 'null' - - *733 + - *736 sender: *4 required: - action @@ -159840,11 +160368,11 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -159923,11 +160451,11 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 - organization: *732 - project: *776 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + project: *779 + repository: *736 sender: *4 required: - action @@ -160008,9 +160536,9 @@ webhooks: type: string enum: - closed - installation: *731 - organization: *732 - projects_v2: &777 + installation: *734 + organization: *735 + projects_v2: &780 title: Projects v2 Project description: A projects v2 project type: object @@ -160158,9 +160686,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160241,9 +160769,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160364,9 +160892,9 @@ webhooks: type: string to: type: string - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -160449,7 +160977,7 @@ webhooks: type: string enum: - archived - changes: &781 + changes: &784 type: object properties: archived_at: @@ -160465,9 +160993,9 @@ webhooks: - string - 'null' format: date-time - installation: *731 - organization: *732 - projects_v2_item: &778 + installation: *734 + organization: *735 + projects_v2_item: &781 title: Projects v2 Item description: An item belonging to a project type: object @@ -160606,9 +161134,9 @@ webhooks: - 'null' to: type: string - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160690,9 +161218,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160773,9 +161301,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -160880,7 +161408,7 @@ webhooks: oneOf: - type: string - type: integer - - &779 + - &782 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160900,7 +161428,7 @@ webhooks: required: - id - name - - &780 + - &783 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160929,8 +161457,8 @@ webhooks: oneOf: - type: string - type: integer - - *779 - - *780 + - *782 + - *783 type: - 'null' - string @@ -160953,9 +161481,9 @@ webhooks: - 'null' required: - body - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161052,9 +161580,9 @@ webhooks: type: - string - 'null' - installation: *731 - organization: *732 - projects_v2_item: *778 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161137,10 +161665,10 @@ webhooks: type: string enum: - restored - changes: *781 - installation: *731 - organization: *732 - projects_v2_item: *778 + changes: *784 + installation: *734 + organization: *735 + projects_v2_item: *781 sender: *4 required: - action @@ -161222,9 +161750,9 @@ webhooks: type: string enum: - reopened - installation: *731 - organization: *732 - projects_v2: *777 + installation: *734 + organization: *735 + projects_v2: *780 sender: *4 required: - action @@ -161305,9 +161833,9 @@ webhooks: type: string enum: - created - installation: *731 - organization: *732 - projects_v2_status_update: &782 + installation: *734 + organization: *735 + projects_v2_status_update: &785 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -161442,9 +161970,9 @@ webhooks: type: string enum: - deleted - installation: *731 - organization: *732 - projects_v2_status_update: *782 + installation: *734 + organization: *735 + projects_v2_status_update: *785 sender: *4 required: - action @@ -161590,9 +162118,9 @@ webhooks: - string - 'null' format: date - installation: *731 - organization: *732 - projects_v2_status_update: *782 + installation: *734 + organization: *735 + projects_v2_status_update: *785 sender: *4 required: - action @@ -161663,10 +162191,10 @@ webhooks: title: public event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - repository @@ -161743,13 +162271,13 @@ webhooks: type: string enum: - assigned - assignee: *757 - enterprise: *730 - installation: *731 - number: &783 + assignee: *760 + enterprise: *733 + installation: *734 + number: &786 description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -164098,7 +164626,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -164180,11 +164708,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -166526,7 +167054,7 @@ webhooks: - draft reason: type: string - repository: *733 + repository: *736 sender: *4 required: - action @@ -166608,11 +167136,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -168954,7 +169482,7 @@ webhooks: - draft reason: type: string - repository: *733 + repository: *736 sender: *4 required: - action @@ -169036,13 +169564,13 @@ webhooks: type: string enum: - closed - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: &784 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: &787 allOf: - - *585 + - *588 - type: object properties: allow_auto_merge: @@ -169104,7 +169632,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *733 + repository: *736 sender: *4 required: - action @@ -169185,12 +169713,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -169270,11 +169798,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *730 - milestone: *483 - number: *783 - organization: *732 - pull_request: &785 + enterprise: *733 + milestone: *486 + number: *786 + organization: *735 + pull_request: &788 title: Pull Request type: object properties: @@ -171601,7 +172129,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -171680,11 +172208,11 @@ webhooks: type: string enum: - dequeued - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -174030,7 +174558,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *733 + repository: *736 sender: *4 required: - action @@ -174154,12 +174682,12 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -174239,11 +174767,11 @@ webhooks: type: string enum: - enqueued - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -176574,7 +177102,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -176654,11 +177182,11 @@ webhooks: type: string enum: - labeled - enterprise: *730 - installation: *731 - label: *756 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + label: *759 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -179006,7 +179534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -179087,10 +179615,10 @@ webhooks: type: string enum: - locked - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -181436,7 +181964,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -181516,12 +182044,12 @@ webhooks: type: string enum: - milestoned - enterprise: *730 - milestone: *483 - number: *783 - organization: *732 - pull_request: *785 - repository: *733 + enterprise: *733 + milestone: *486 + number: *786 + organization: *735 + pull_request: *788 + repository: *736 sender: *4 required: - action @@ -181600,12 +182128,12 @@ webhooks: type: string enum: - opened - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -181686,12 +182214,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -181771,12 +182299,12 @@ webhooks: type: string enum: - reopened - enterprise: *730 - installation: *731 - number: *783 - organization: *732 - pull_request: *784 - repository: *733 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 + pull_request: *787 + repository: *736 sender: *4 required: - action @@ -182151,9 +182679,9 @@ webhooks: - start_side - side - reactions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -184383,7 +184911,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -184463,7 +184991,7 @@ webhooks: type: string enum: - deleted - comment: &787 + comment: &790 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. @@ -184756,9 +185284,9 @@ webhooks: - start_side - side - reactions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -186976,7 +187504,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -187056,11 +187584,11 @@ webhooks: type: string enum: - edited - changes: *786 - comment: *787 - enterprise: *730 - installation: *731 - organization: *732 + changes: *789 + comment: *790 + enterprise: *733 + installation: *734 + organization: *735 pull_request: type: object properties: @@ -189281,7 +189809,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *733 + repository: *736 sender: *4 required: - action @@ -189362,9 +189890,9 @@ webhooks: type: string enum: - dismissed - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -191597,7 +192125,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 review: description: The review that was affected. type: object @@ -191843,9 +192371,9 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -193959,8 +194487,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 - review: &788 + repository: *736 + review: &791 description: The review that was affected. type: object properties: @@ -194193,12 +194721,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -196545,7 +197073,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_reviewer: title: User type: @@ -196631,12 +197159,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -198990,7 +199518,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199185,12 +199713,12 @@ webhooks: type: string enum: - review_requested - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -201539,7 +202067,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_reviewer: title: User type: @@ -201626,12 +202154,12 @@ webhooks: type: string enum: - review_requested - enterprise: *730 - installation: *731 + enterprise: *733 + installation: *734 number: description: The pull request number. type: integer - organization: *732 + organization: *735 pull_request: title: Pull Request type: object @@ -203971,7 +204499,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 requested_team: title: Team description: Groups of organization members that gives permissions @@ -204155,9 +204683,9 @@ webhooks: type: string enum: - submitted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -206393,8 +206921,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 - review: *788 + repository: *736 + review: *791 sender: *4 required: - action @@ -206474,9 +207002,9 @@ webhooks: type: string enum: - resolved - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -208607,7 +209135,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 sender: *4 thread: type: object @@ -208999,9 +209527,9 @@ webhooks: type: string enum: - unresolved - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 pull_request: title: Simple Pull Request type: object @@ -211115,7 +211643,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *733 + repository: *736 sender: *4 thread: type: object @@ -211509,10 +212037,10 @@ webhooks: type: string before: type: string - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -213847,7 +214375,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -213929,11 +214457,11 @@ webhooks: type: string enum: - unassigned - assignee: *789 - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + assignee: *792 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -216283,7 +216811,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -216362,11 +216890,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *730 - installation: *731 - label: *756 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + label: *759 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -218705,7 +219233,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -218786,10 +219314,10 @@ webhooks: type: string enum: - unlocked - enterprise: *730 - installation: *731 - number: *783 - organization: *732 + enterprise: *733 + installation: *734 + number: *786 + organization: *735 pull_request: title: Pull Request type: object @@ -221118,7 +221646,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *733 + repository: *736 sender: *4 required: - action @@ -221321,7 +221849,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *730 + enterprise: *733 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -221416,8 +221944,8 @@ webhooks: - url - author - committer - installation: *731 - organization: *732 + installation: *734 + organization: *735 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -222005,9 +222533,9 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 registry_package: type: object properties: @@ -222484,7 +223012,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *771 + items: *774 summary: type: string tag_name: @@ -222540,7 +223068,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -222618,9 +223146,9 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 registry_package: type: object properties: @@ -222932,7 +223460,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *771 + items: *774 summary: type: string tag_name: @@ -222982,7 +223510,7 @@ webhooks: - owner - package_version - registry - repository: *733 + repository: *736 sender: *4 required: - action @@ -223059,10 +223587,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - release: &790 + enterprise: *733 + installation: *734 + organization: *735 + release: &793 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -223378,7 +223906,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *733 + repository: *736 sender: *4 required: - action @@ -223455,11 +223983,11 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -223576,11 +224104,11 @@ webhooks: type: boolean required: - to - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -223658,9 +224186,9 @@ webhooks: type: string enum: - prereleased - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -223981,7 +224509,7 @@ webhooks: - string - 'null' format: uri - repository: *733 + repository: *736 sender: *4 required: - action @@ -224057,10 +224585,10 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - release: &791 + enterprise: *733 + installation: *734 + organization: *735 + release: &794 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -224378,7 +224906,7 @@ webhooks: - string - 'null' format: uri - repository: *733 + repository: *736 sender: *4 required: - action @@ -224454,11 +224982,11 @@ webhooks: type: string enum: - released - enterprise: *730 - installation: *731 - organization: *732 - release: *790 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *793 + repository: *736 sender: *4 required: - action @@ -224534,11 +225062,11 @@ webhooks: type: string enum: - unpublished - enterprise: *730 - installation: *731 - organization: *732 - release: *791 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + release: *794 + repository: *736 sender: *4 required: - action @@ -224614,11 +225142,11 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - repository_advisory: *642 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + repository_advisory: *645 sender: *4 required: - action @@ -224694,11 +225222,11 @@ webhooks: type: string enum: - reported - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - repository_advisory: *642 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + repository_advisory: *645 sender: *4 required: - action @@ -224774,10 +225302,10 @@ webhooks: type: string enum: - archived - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -224854,10 +225382,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -224935,10 +225463,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225023,10 +225551,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225141,10 +225669,10 @@ webhooks: - 'null' items: type: string - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225216,10 +225744,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 status: type: string @@ -225300,10 +225828,10 @@ webhooks: type: string enum: - privatized - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225380,10 +225908,10 @@ webhooks: type: string enum: - publicized - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225477,10 +226005,10 @@ webhooks: - name required: - repository - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -225560,10 +226088,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 sender: *4 required: @@ -225642,10 +226170,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 sender: *4 required: @@ -225724,10 +226252,10 @@ webhooks: type: string enum: - edited - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 repository_ruleset: *124 changes: type: object @@ -226035,10 +226563,10 @@ webhooks: - from required: - owner - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226116,10 +226644,10 @@ webhooks: type: string enum: - unarchived - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226197,7 +226725,7 @@ webhooks: type: string enum: - create - alert: &792 + alert: &795 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -226321,10 +226849,10 @@ webhooks: type: string enum: - open - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226534,10 +227062,10 @@ webhooks: type: string enum: - dismissed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226615,11 +227143,11 @@ webhooks: type: string enum: - reopen - alert: *792 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226821,10 +227349,10 @@ webhooks: enum: - fixed - open - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -226902,7 +227430,7 @@ webhooks: type: string enum: - created - alert: &793 + alert: &796 type: object properties: number: *96 @@ -227012,10 +227540,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227096,11 +227624,11 @@ webhooks: type: string enum: - created - alert: *793 - installation: *731 - location: *794 - organization: *732 - repository: *733 + alert: *796 + installation: *734 + location: *797 + organization: *735 + repository: *736 sender: *4 required: - location @@ -227338,11 +227866,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227420,11 +227948,11 @@ webhooks: type: string enum: - reopened - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227502,11 +228030,11 @@ webhooks: type: string enum: - resolved - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227584,11 +228112,11 @@ webhooks: type: string enum: - validated - alert: *793 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + alert: *796 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -227718,10 +228246,10 @@ webhooks: - organization - enterprise - - repository: *733 - enterprise: *730 - installation: *731 - organization: *732 + repository: *736 + enterprise: *733 + installation: *734 + organization: *735 sender: *4 required: - action @@ -227799,11 +228327,11 @@ webhooks: type: string enum: - published - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - security_advisory: &795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + security_advisory: &798 description: The details of the security advisory, including summary, description, and severity. type: object @@ -227989,11 +228517,11 @@ webhooks: type: string enum: - updated - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 - security_advisory: *795 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 + security_advisory: *798 sender: *4 required: - action @@ -228066,10 +228594,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -228255,11 +228783,11 @@ webhooks: from: type: object properties: - security_and_analysis: *312 - enterprise: *730 - installation: *731 - organization: *732 - repository: *374 + security_and_analysis: *315 + enterprise: *733 + installation: *734 + organization: *735 + repository: *377 sender: *4 required: - changes @@ -228337,12 +228865,12 @@ webhooks: type: string enum: - cancelled - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: &796 + sponsorship: &799 type: object properties: created_at: @@ -228647,12 +229175,12 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - sponsorship @@ -228740,12 +229268,12 @@ webhooks: type: string required: - from - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -228822,17 +229350,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &797 + effective_date: &800 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: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - sponsorship @@ -228906,7 +229434,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &798 + changes: &801 type: object properties: tier: @@ -228950,13 +229478,13 @@ webhooks: - from required: - tier - effective_date: *797 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + effective_date: *800 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -229033,13 +229561,13 @@ webhooks: type: string enum: - tier_changed - changes: *798 - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + changes: *801 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - sponsorship: *796 + sponsorship: *799 required: - action - changes @@ -229113,10 +229641,10 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229200,10 +229728,10 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -229637,15 +230165,15 @@ webhooks: type: - string - 'null' - enterprise: *730 + enterprise: *733 id: description: The unique identifier of the status. type: integer - installation: *731 + installation: *734 name: type: string - organization: *732 - repository: *733 + organization: *735 + repository: *736 sender: *4 sha: description: The Commit SHA. @@ -229761,9 +230289,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -229853,9 +230381,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -229945,9 +230473,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -230037,9 +230565,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *147 - installation: *731 - organization: *732 - repository: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -230116,12 +230644,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - team: &799 + team: &802 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -230314,9 +230842,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -230786,7 +231314,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -230862,9 +231390,9 @@ webhooks: type: string enum: - created - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -231334,7 +231862,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -231411,9 +231939,9 @@ webhooks: type: string enum: - deleted - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -231883,7 +232411,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -232027,9 +232555,9 @@ webhooks: - from required: - permissions - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -232499,7 +233027,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - changes @@ -232577,9 +233105,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *730 - installation: *731 - organization: *732 + enterprise: *733 + installation: *734 + organization: *735 repository: title: Repository description: A git repository @@ -233049,7 +233577,7 @@ webhooks: - topics - visibility sender: *4 - team: *799 + team: *802 required: - action - team @@ -233125,10 +233653,10 @@ webhooks: type: string enum: - started - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 required: - action @@ -233201,17 +233729,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *730 + enterprise: *733 inputs: type: - object - 'null' additionalProperties: true - installation: *731 - organization: *732 + installation: *734 + organization: *735 ref: type: string - repository: *733 + repository: *736 sender: *4 workflow: type: string @@ -233293,10 +233821,10 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: allOf: @@ -233552,7 +234080,7 @@ webhooks: type: string required: - conclusion - deployment: *503 + deployment: *506 required: - action - repository @@ -233631,10 +234159,10 @@ webhooks: type: string enum: - in_progress - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: allOf: @@ -233916,7 +234444,7 @@ webhooks: required: - status - steps - deployment: *503 + deployment: *506 required: - action - repository @@ -233995,10 +234523,10 @@ webhooks: type: string enum: - queued - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: type: object @@ -234144,7 +234672,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *503 + deployment: *506 required: - action - repository @@ -234223,10 +234751,10 @@ webhooks: type: string enum: - waiting - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 workflow_job: type: object @@ -234373,7 +234901,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *503 + deployment: *506 required: - action - repository @@ -234453,12 +234981,12 @@ webhooks: type: string enum: - completed - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object @@ -235477,12 +236005,12 @@ webhooks: type: string enum: - in_progress - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object @@ -236486,12 +237014,12 @@ webhooks: type: string enum: - requested - enterprise: *730 - installation: *731 - organization: *732 - repository: *733 + enterprise: *733 + installation: *734 + organization: *735 + repository: *736 sender: *4 - workflow: *752 + workflow: *755 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index fbbb239b9b..23d79faf34 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/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": [ @@ -16754,6 +16758,530 @@ } } }, + "/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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", @@ -115166,7 +115694,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", @@ -120824,6 +121352,120 @@ } } }, + "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", + "null" + ], + "format": "date-time" + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "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.", @@ -136303,6 +136945,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -136349,42 +136997,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" ] @@ -299654,6 +300273,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 241ef708d1..f4cbfb47c9 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/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: @@ -12018,6 +12020,393 @@ 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 + - 'null' + format: uri + 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 + - 'null' + format: uri + 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 @@ -83515,11 +83904,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 @@ -87627,6 +88013,98 @@ components: format: uri examples: - 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 + - 'null' + format: date-time + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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. @@ -98946,6 +99424,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -98978,29 +99461,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: @@ -221039,6 +221501,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index fbbb239b9b..23d79faf34 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/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": [ @@ -16754,6 +16758,530 @@ } } }, + "/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", + "null" + ], + "format": "uri" + }, + "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", + "null" + ], + "format": "uri" + }, + "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", @@ -115166,7 +115694,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", @@ -120824,6 +121352,120 @@ } } }, + "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", + "null" + ], + "format": "date-time" + }, + "state": { + "$ref": "#/components/schemas/campaign-state" + }, + "contact_link": { + "description": "The contact link of the campaign.", + "type": [ + "string", + "null" + ], + "format": "uri" + }, + "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.", @@ -136303,6 +136945,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -136349,42 +136997,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" ] @@ -299654,6 +300273,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 241ef708d1..f4cbfb47c9 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/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: @@ -12018,6 +12020,393 @@ 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 + - 'null' + format: uri + 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 + - 'null' + format: uri + 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 @@ -83515,11 +83904,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 @@ -87627,6 +88013,98 @@ components: format: uri examples: - 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 + - 'null' + format: date-time + state: + "$ref": "#/components/schemas/campaign-state" + contact_link: + description: The contact link of the campaign. + type: + - string + - 'null' + format: uri + 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. @@ -98946,6 +99424,11 @@ components: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -98978,29 +99461,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: @@ -221039,6 +221501,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-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index dbe95ca9ec..c6533f3cc9 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -137671,7 +137671,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", @@ -138559,7 +138559,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", @@ -139466,7 +139466,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", @@ -141020,7 +141020,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", @@ -141933,7 +141933,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", @@ -142828,7 +142828,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", @@ -295962,6 +295962,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -296008,42 +296014,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" ] @@ -296316,6 +296293,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -296362,42 +296345,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" ] @@ -430694,7 +430648,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", @@ -431888,7 +431842,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", @@ -432683,7 +432637,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", @@ -433572,7 +433526,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", @@ -435145,7 +435099,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", @@ -435955,7 +435909,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", @@ -436840,7 +436794,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", @@ -1104867,7 +1104821,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", @@ -1107689,7 +1107643,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", @@ -1110511,7 +1110465,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", @@ -1111235,7 +1111189,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", @@ -1111787,7 +1111741,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", @@ -1112342,7 +1112296,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-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 505d34ebb0..937912e880 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -33020,11 +33020,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 @@ -62488,6 +62486,11 @@ paths: type: array items: type: object + required: + - path + - mode + - type + - sha properties: path: type: string @@ -62520,29 +62523,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: diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json index dbe95ca9ec..c6533f3cc9 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -137671,7 +137671,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", @@ -138559,7 +138559,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", @@ -139466,7 +139466,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", @@ -141020,7 +141020,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", @@ -141933,7 +141933,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", @@ -142828,7 +142828,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", @@ -295962,6 +295962,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -296008,42 +296014,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" ] @@ -296316,6 +296293,12 @@ "type": "array", "items": { "type": "object", + "required": [ + "path", + "mode", + "type", + "sha" + ], "properties": { "path": { "type": "string", @@ -296362,42 +296345,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" ] @@ -430694,7 +430648,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", @@ -431888,7 +431842,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", @@ -432683,7 +432637,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", @@ -433572,7 +433526,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", @@ -435145,7 +435099,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", @@ -435955,7 +435909,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", @@ -436840,7 +436794,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", @@ -1104867,7 +1104821,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", @@ -1107689,7 +1107643,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 {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}